Strabon

changeset 131:6b85aec0ed58

Adding examples in beans.xml
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Tue May 08 12:03:17 2012 +0300 (2012-05-08)
parents 3d4a04d579aa
children 6945f58b1619
files endpoint/WebContent/WEB-INF/beans.xml
line diff
     1.1 --- a/endpoint/WebContent/WEB-INF/beans.xml	Tue May 08 11:16:57 2012 +0300
     1.2 +++ b/endpoint/WebContent/WEB-INF/beans.xml	Tue May 08 12:03:17 2012 +0300
     1.3 @@ -39,7 +39,32 @@
     1.4  		</constructor-arg>
     1.5  		<constructor-arg type="java.lang.String">
     1.6  			<!-- Query2 -->
     1.7 -			<value><![CDATA[%23+Get+all+ArtificialSurfaces%0D%0A%23+-+in+Pelloponesus%0D%0A%0D%0APREFIX+noa%3A+<http%3A%2F%2Fteleios.di.uoa.gr%2Fontologies%2FnoaOntology.owl%23>%0D%0APREFIX+clc%3A+<http%3A%2F%2Fteleios.di.uoa.gr%2Fontologies%2FclcOntology.owl%23>%0D%0APREFIX+rdf%3A+<http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23>%0D%0APREFIX+rdfs%3A+<http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23>%0D%0APREFIX+strdf%3A+<http%3A%2F%2Fstrdf.di.uoa.gr%2Fontology%23>%0D%0APREFIX+teleios%3A+<http%3A%2F%2Fteleios.di.uoa.gr%2Fontologies%2FnoaOntology.owl%23>%0D%0APREFIX+gag%3A+<http%3A%2F%2Fwww.semanticweb.org%2Fontologies%2F2011%2FgagKallikratis.rdf%23>%0D%0APREFIX+geo%3A+<http%3A%2F%2Fwww.w3.org%2F2003%2F01%2Fgeo%2Fwgs84_pos%23>%0D%0APREFIX+georss%3A+<http%3A%2F%2Fwww.georss.org%2Fgeorss%2F>%0D%0APREFIX+xsd%3A+<http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23>%0D%0APREFIX+lgdo%3A+<http%3A%2F%2Flinkedgeodata.org%2Fontology%2F>%0D%0APREFIX+gn%3A+<http%3A%2F%2Fwww.geonames.org%2Fontology%23>%0D%0APREFIX+owl%3A+<http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23>%0D%0A%0D%0ASELECT+%3Fa+%3FaGeo%0D%0AWHERE+{%0D%0A++++%3Fa++a+clc%3AArea+%3B%0D%0A++++++++clc%3AhasLandUse+%3FaLandUse+%3B%0D%0A++++++++noa%3AhasGeometry+%3FaGeo+.%0D%0A++++%3FaLandUse+a+%3FaLandUseType+.%0D%0A++++FILTER(+%3FaLandUseType+%3D+clc%3AArtificialSurfaces+)+.%0D%0A++++FILTER(++strdf%3Acontains(%22POLYGON((21.027+38.36%2C+23.77+38.36%2C+23.77+36.05%2C+21.027+36.05%2C+21.027+38.36))%22^^strdf%3AWKT%2C+%3FaGeo)+)+.%0D%0A}&format=KML]]></value>
     1.8 +			<value><![CDATA[# Get all hotspots 
     1.9 +# - in Pelloponesus 
    1.10 +# - at 2007-08-23
    1.11 +# - of firms
    1.12 +
    1.13 +PREFIX noa: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
    1.14 +PREFIX clc: <http://teleios.di.uoa.gr/ontologies/clcOntology.owl#>
    1.15 +PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    1.16 +PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    1.17 +PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
    1.18 +PREFIX teleios: <http://teleios.di.uoa.gr/ontologies/noaOntology.owl#>
    1.19 +PREFIX gag: <http://www.semanticweb.org/ontologies/2011/gagKallikratis.rdf#>
    1.20 +PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
    1.21 +PREFIX georss: <http://www.georss.org/georss/>
    1.22 +PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
    1.23 +PREFIX lgdo: <http://linkedgeodata.org/ontology/>
    1.24 +PREFIX gn: <http://www.geonames.org/ontology#>
    1.25 +
    1.26 +SELECT ?h ?hGeo ?hAcqTime ?hConfidence ?hConfirmation ?hProvider ?hSensor ?hSatellite
    1.27 +WHERE {
    1.28 +    ?h  a noa:Hotspot ; # all
    1.29 +        noa:hasGeometry ?hGeo ; # all
    1.30 +        noa:hasAcquisitionTime ?hAcqTime ; # all
    1.31 +        FILTER( "2007-08-24T00:00:00"^^xsd:dateTime <= ?hAcqTime && ?hAcqTime <= "2007-09-24T00:00:00"^^xsd:dateTime$
    1.32 +}
    1.33 +]]></value>
    1.34  		</constructor-arg>
    1.35  		<constructor-arg type="java.lang.String">
    1.36  			<!-- Query3 -->