Skip to content

Instantly share code, notes, and snippets.

@knudmoeller
Created February 9, 2012 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knudmoeller/1783822 to your computer and use it in GitHub Desktop.
Save knudmoeller/1783822 to your computer and use it in GitHub Desktop.
Example data for a city district in the Kasabi World Geography dataset
@prefix places: <http://purl.org/ontology/places#> .
@prefix geonames: <http://www.geonames.org/ontology#> .
@prefix geo: <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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<http://data.kasabi.com/dataset/world-geography/cities/kreuzberg-2884163>
# this entity is a city district:
a places:District ;
# the district is located in a city:
places:in <http://data.kasabi.com/dataset/world-geography/cities/berlin-2950159> ;
# the district is in Germany:
geonames:countryCode "DE" ;
geonames:parentCountry <http://data.kasabi.com/dataset/world-geography/countries/de> ;
# in geonames, this entity is a "P.PPLX" (section of populated place):
geonames:featureCode <http://www.geonames.org/ontology#P.PPLX> ;
# labels in different languages:
rdfs:label "Kreuzberg", "Kreuzberg"@de, "Kreuzberg"@eo ;
# link to a geonames feature, stating they are identical:
owl:sameAs <http://sws.geonames.org/2884163/> ;
# the approximate location of Kreuzberg in latitude and longitude
geo:lat "52.48333" ;
geo:long "13.38333" ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment