Strabon
changeset 437:59ae08a0072d
fixing gag namespace
author | Kostis Kyzirakos <kkyzir@di.uoa.gr> |
---|---|
date | Wed Jul 18 15:41:45 2012 +0300 (2012-07-18) |
parents | 0e9150850e86 |
children | dd6da5aa0e64 84b4b77b00fb |
files | scripts/v2.2/DeleteInSea.sparql scripts/v2.2/InsertMunicipalities.sparql scripts/v2.2/Refine.sparql scripts/v2.2/TimePersistence.sparql scripts/v2.2/runNoaRefinementChain.sh |
line diff
1.1 --- a/scripts/v2.2/DeleteInSea.sparql Wed Jul 18 15:24:37 2012 +0300 1.2 +++ b/scripts/v2.2/DeleteInSea.sparql Wed Jul 18 15:41:45 2012 +0300 1.3 @@ -2,7 +2,8 @@ 1.4 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 1.5 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 1.6 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 1.7 -PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#> 1.8 +PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> 1.9 + 1.10 1.11 INSERT {?h noa:isDiscarded "1"^^xsd:int} 1.12 WHERE {
2.1 --- a/scripts/v2.2/InsertMunicipalities.sparql Wed Jul 18 15:24:37 2012 +0300 2.2 +++ b/scripts/v2.2/InsertMunicipalities.sparql Wed Jul 18 15:41:45 2012 +0300 2.3 @@ -2,7 +2,7 @@ 2.4 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 2.5 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 2.6 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 2.7 -PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#> 2.8 +PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> 2.9 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 2.10 2.11 INSERT { ?h gag:hasMunicipality ?muni }
3.1 --- a/scripts/v2.2/Refine.sparql Wed Jul 18 15:24:37 2012 +0300 3.2 +++ b/scripts/v2.2/Refine.sparql Wed Jul 18 15:41:45 2012 +0300 3.3 @@ -2,7 +2,7 @@ 3.4 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 3.5 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 3.6 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 3.7 -PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#> 3.8 +PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> 3.9 3.10 3.11 INSERT { ?h noa:isDiscarded "1"^^xsd:int .
4.1 --- a/scripts/v2.2/TimePersistence.sparql Wed Jul 18 15:24:37 2012 +0300 4.2 +++ b/scripts/v2.2/TimePersistence.sparql Wed Jul 18 15:41:45 2012 +0300 4.3 @@ -2,7 +2,7 @@ 4.4 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 4.5 PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> 4.6 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 4.7 -PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#> 4.8 +PREFIX gag: <http://teleios.di.uoa.gr/ontologies/gagKallikratis.rdf#> 4.9 4.10 4.11 INSERT {
5.1 --- a/scripts/v2.2/runNoaRefinementChain.sh Wed Jul 18 15:24:37 2012 +0300 5.2 +++ b/scripts/v2.2/runNoaRefinementChain.sh Wed Jul 18 15:41:45 2012 +0300 5.3 @@ -3,16 +3,16 @@ 5.4 5.5 ENDPOINT="http://localhost:8080/endpoint" 5.6 DB="endpoint" 5.7 -GRIDURL="http://kk.di.uoa.gr/grid_4.nt" 5.8 -GRIDURL="http://jose.di.uoa.gr/rdf/coastline/grid_4.nt" 5.9 +#GRIDURL="http://kk.di.uoa.gr/grid_4.nt" 5.10 +#GRIDURL="http://jose.di.uoa.gr/rdf/coastline/grid_4.nt" 5.11 #INIT="http://jose.di.uoa.gr/rdf/Kallikratis-Coastline.ntriples" 5.12 -INIT="../Kalli_coast.sql" 5.13 +#INIT="../Kalli_coast.sql" 5.14 5.15 #CHECKDIR="/home/konstantina/allhot/" 5.16 #CHECKDIR="${HOME}/teleios/nkua/Hotspots/" 5.17 5.18 -POSTGISTEMPLATE="postgistemplate" 5.19 -#POSTGISTEMPLATE="template_postgis" 5.20 +#POSTGISTEMPLATE="postgistemplate" 5.21 +POSTGISTEMPLATE="template_postgis" 5.22 5.23 #dataDir="http://localhost/noa-teleios/out_triples/" 5.24 #dataDir="http://kk.di.uoa.gr/out_triples/" 5.25 @@ -97,14 +97,19 @@ 5.26 5.27 5.28 5.29 -for y in 7 8 10 11 ;do 5.30 -for mon in `seq 4 10`; do 5.31 -for d in `seq 1 30`; do 5.32 +#for y in 7 8 10 11 ;do 5.33 +#for mon in `seq 4 10`; do 5.34 +#for d in `seq 1 30`; do 5.35 +#for h in `seq 0 23 `; do 5.36 +# for m in `seq 0 15 45`; do 5.37 +for y in 7 ;do 5.38 +for mon in 8; do 5.39 +for d in 25; do 5.40 for h in `seq 0 23 `; do 5.41 for m in `seq 0 15 45`; do 5.42 time=`printf "%02d%02d\n" $h $m` 5.43 time2=`printf "%02d:%02d\n" $h $m` 5.44 - day=`printf "%02d" $d` 5.45 + day=`printf "%02d" $d` 5.46 month=`printf "%02d" $mon` 5.47 year=`printf "%02d" $y` 5.48 file=${dataDir}${year}/${name}${year}${month}${day}_${time}$suffix