Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <rdf:RDF
- xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
- xmlns:el="http://www.semanticlab.net/prj/recognize/voc/"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dcterms="http://purl.org/dc/terms/">
- <rdf:Description rdf:about="http://www.semanticlab.net/prj/recognize/lexicon/Cities.DACH.10000.de_en">
- <rdfs:label>Cities.DACH.10000.de_en</rdfs:label>
- <dcterms:description>German and english city names of Germany's, Austria's and Switzerland's cities with a population over 10'000</dcterms:description>
- <dcterms:source>https://noah.semanticlab.net/openrdf-sesame/repositories/geo</dcterms:source>
- <el:query><![CDATA[
- PREFIX gn:<http://www.geonames.org/ontology#>
- PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
- PREFIX wgs84_pos:<http://www.w3.org/2003/01/geo/wgs84_pos#>
- PREFIX foaf:<http://xmlns.com/foaf/0.1/>
- PREFIX owl:<http://www.w3.org/2002/07/owl#>
- PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX cc:<http://creativecommons.org/ns#>
- PREFIX dcterms:<http://purl.org/dc/terms/>
- PREFIX xs: <http://www.w3.org/2001/XMLSchema#>
- SELECT ?s ?name ?alt ?parent ?latitude ?longitude ?population WHERE
- {
- ?s gn:parentCountry ?country.
- {
- { ?country gn:name "Swiss Confederation"; gn:featureClass <http://www.geonames.org/ontology#A>. }
- UNION
- { ?country gn:name "Republic of Austria"; gn:featureClass <http://www.geonames.org/ontology#A>. }
- UNION
- { ?country gn:name "Federal Republic of Germany"; gn:featureClass <http://www.geonames.org/ontology#A>. }
- }
- ?s gn:name ?name.
- ?s gn:population ?population.
- ?s gn:featureCode ?code.
- { {?s gn:featureClass <http://www.geonames.org/ontology#P>.} UNION {?s gn:featureClass <http://www.geonames.org/ontology#A>. } }
- ?s gn:parentFeature ?parent.
- ?s wgs84_pos:lat ?latitude.
- ?s wgs84_pos:long ?longitude.
- OPTIONAL {
- ?s gn:alternateName ?alt.
- FILTER ( LANG(?alt) = "DE" || LANG(?alt) = "" || LANG(?alt) = "EN")
- }
- FILTER ( xs:integer(?population) > 10000 || gn:featureClode = <http://www.geonames.org/ontology#A.ADM1> )
- }
- ]]></el:query>
- <el:class>com.weblyzard.backend.recognize.rdf.queryResultHandler.GeoLexiconQueryResultHandler</el:class>
- <el:preferredLanguage>DE</el:preferredLanguage>
- <el:entityType>ch.htwchur.wisdom.recognize.GeoEntity</el:entityType>
- </rdf:Description>
- </rdf:RDF>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement