Strabon

annotate scripts/query.sh @ 973:fd5c334c7fa8

Almost finished the test. Final check with the existing results need to be done.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Wed Apr 03 20:19:14 2013 +0300 (2013-04-03)
parents e8c6881d0fff
children
rev   line source
kkyzir@33 1 #!/bin/bash
kkyzir@33 2 #BASE=/home/strabon/experiments/data/naive/10mil
kkyzir@33 3 #10mil 0.01 11552771
kkyzir@33 4 #100mil 0.0034 99758140
kkyzir@33 5 #500mil 0.0015 512505143
kkyzir@33 6 #1bil 0.001 1153249211
kkyzir@33 7
kkyzir@33 8 DB="noa-d4_1"
kkyzir@33 9 LOGPATH="/home/strabon/experiments/logs"
kkyzir@33 10 STEP="0.01"
kkyzir@33 11 TOTALTRIPLES="11552771"
kkyzir@33 12
kkyzir@33 13 (cd jars/target &&
kkyzir@33 14 java -cp $(for file in `ls -1 *.jar`; do myVar=$myVar./$file":"; done; echo $myVar;) eu.earthobservatory.runtime.monetdb.QueryOp localhost 50000 $DB monetdb monetdb
kkyzir@33 15 "PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> PREFIX clc: <http://teleios.di.uoa.gr/ontologies/clcOntology.owl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX strdf: <http://strdf.di.uoa.gr/ontology#> PREFIX teleios: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#> PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> PREFIX georss: <http://www.georss.org/georss/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX lgdo: <http://linkedgeodata.org/ontology/> PREFIX gn: <http://www.geonames.org/ontology#> PREFIX iman: <http://teleios.di.uoa.gr/ontologies/imageAnnotationOntology.owl#> PREFIX eolo: <http://www.dlr.de/ontologies/EOLO.owl#> SELECT ?h ?hGeo ?hAcqTime ?hConfidence ?hProvider ?hConfirmation ?hSensor WHERE { ?h a noa:Hotspot ; noa:hasGeometry ?hGeo ; noa:hasAcquisitionTime ?hAcqTime ; noa:hasConfidence ?hConfidence ; noa:isProducedBy ?hProvider ; noa:hasConfirmation ?hConfirmation ; noa:isDerivedFromSensor ?hSensor ; FILTER( \"2007-08-23T00:00:00\" <= str(?hAcqTime) && str(?hAcqTime) <= \"2007-08-26T23:59:59\" ) . FILTER( strdf:contains(\"POLYGON((21.027 38.36, 23.77 38.36, 23.77 36.05, 21.027 36.05, 21.027 38.36))\"^^strdf:WKT, ?hGeo) ) .}"
kkyzir@33 16 XML)
kkyzir@33 17