Strabon

view scripts/printNTriples @ 1412:8dc244d8f18a

corrected some tests that were expecting the default SRID (4326) for WKT literals; from now, we do not include such URI, since this is the default and is assumed
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Sep 22 13:12:18 2014 +0300 (2014-09-22)
parents 8863c960e1f0
children
line source
1 #! /bin/bash
3 input=$1
5 if [ "$input" == "" ]; then
6 echo "give database name"
7 exit -1
8 fi
10 fgrep '[s=' $input \
11 | sed 's/\[s=\(.*\);o=\(.*\);p=\(.*\)\]/\1 \3 \2;/g' \
12 | sed 's/\(http:\/\/[^ >]*\)\([ ;]\)/<\1>\2/g' \
13 | sed 's/;/./g'