adrianb82

geoprofile

Feb 20th, 2014
533
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2. <rdf:RDF
  3.     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  4.     xmlns:el="http://www.semanticlab.net/prj/recognize/voc/"
  5.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  6.     xmlns:dcterms="http://purl.org/dc/terms/">
  7.  
  8. <rdf:Description rdf:about="http://www.semanticlab.net/prj/recognize/lexicon/Cities.DACH.10000.de_en">
  9.     <rdfs:label>Cities.DACH.10000.de_en</rdfs:label>
  10.     <dcterms:description>German and english city names of Germany's, Austria's and Switzerland's cities with a population over 10'000</dcterms:description>
  11.     <dcterms:source>https://noah.semanticlab.net/openrdf-sesame/repositories/geo</dcterms:source>
  12.     <el:query><![CDATA[
  13. PREFIX gn:<http://www.geonames.org/ontology#>
  14. PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
  15. PREFIX wgs84_pos:<http://www.w3.org/2003/01/geo/wgs84_pos#>
  16. PREFIX foaf:<http://xmlns.com/foaf/0.1/>
  17. PREFIX owl:<http://www.w3.org/2002/07/owl#>
  18. PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  19. PREFIX cc:<http://creativecommons.org/ns#>
  20. PREFIX dcterms:<http://purl.org/dc/terms/>
  21. PREFIX xs: <http://www.w3.org/2001/XMLSchema#>
  22.  
  23. SELECT ?s ?name ?alt ?parent ?latitude ?longitude ?population WHERE
  24. {
  25.      ?s gn:parentCountry ?country.
  26.      {
  27.          { ?country gn:name "Swiss Confederation"; gn:featureClass <http://www.geonames.org/ontology#A>. }
  28.        UNION
  29.          { ?country gn:name "Republic of Austria"; gn:featureClass <http://www.geonames.org/ontology#A>. }
  30.        UNION
  31.          { ?country gn:name "Federal Republic of Germany"; gn:featureClass <http://www.geonames.org/ontology#A>. }
  32.      }
  33.      ?s gn:name ?name.
  34.      ?s gn:population ?population.
  35.      ?s gn:featureCode ?code.
  36.      { {?s gn:featureClass <http://www.geonames.org/ontology#P>.} UNION {?s gn:featureClass <http://www.geonames.org/ontology#A>. } }
  37.  
  38.      ?s gn:parentFeature ?parent.
  39.      ?s wgs84_pos:lat  ?latitude.
  40.      ?s wgs84_pos:long ?longitude.
  41.      OPTIONAL {
  42.          ?s gn:alternateName ?alt.
  43.          FILTER ( LANG(?alt) = "DE" || LANG(?alt) = "" || LANG(?alt) = "EN")
  44.      }
  45.      FILTER ( xs:integer(?population) > 10000 || gn:featureClode = <http://www.geonames.org/ontology#A.ADM1> )
  46. }
  47. ]]></el:query>
  48.     <el:class>com.weblyzard.backend.recognize.rdf.queryResultHandler.GeoLexiconQueryResultHandler</el:class>
  49.     <el:preferredLanguage>DE</el:preferredLanguage>
  50.     <el:entityType>ch.htwchur.wisdom.recognize.GeoEntity</el:entityType>
  51. </rdf:Description>
  52.  
  53. </rdf:RDF>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×