Skip to content

Instantly share code, notes, and snippets.

@knudmoeller
Created February 9, 2012 22:44
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/1783974 to your computer and use it in GitHub Desktop.
Save knudmoeller/1783974 to your computer and use it in GitHub Desktop.
Example data for a city (Berlin) 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/berlin-2950159>
# this entity is a city:
a places:City ;
# the city of Berlin is located within the "Land" Berlin (state of Berlin):
places:in <http://data.kasabi.com/dataset/world-geography/areas/land-berlin-2950157> ;
# Berlin is in Germany:
geonames:countryCode "DE" ;
geonames:parentCountry <http://data.kasabi.com/dataset/world-geography/countries/de> ;
# in geonames, this entity is a "P.PPLC" (capital of a political entity):
geonames:featureCode <http://www.geonames.org/ontology#P.PPLC> ;
# the approximate population of Berlin:
geonames:population "3426354" ;
# many labels in different languages (not all are shown here):
rdfs:label "Beirlín"@ga, "Berlien"@li, "Berliin"@et, "Berliini"@fi, "Berlijn"@nl, "Berlim"@pt,
"Berlin", "Berlin"@als, "Berlin"@ang, "Berlin"@bar, "Berlin"@br, "Berlin"@bs, "Berlin"@csb,
"Berlin"@sv, "Berlin"@sw, "Berlin"@tr, "Berlin"@ty, "Berlin"@vi, "Berlin"@vo, "Berlini"@sq,
"Berlino"@eo, "Berlino"@it, "Berlyn"@af, "Berlynas"@lt, "Berlëno"@csb, "Berlín"@an,
"Berlín"@sk, "Berlîn"@ku, "Berlīne"@lv, "Berolinum"@la, "Birlinu"@scn, "Bèrlîn"@nrm,
"Estat de Berlín"@ca, "Βερολίνο"@el, "Берлин"@bg, "Берлин"@cv, "Берлин"@mk, "Берлин"@ru,
"Берлин"@sr, "Берлін"@be, "Берлін"@uk, "Бэрлін"@be, "Բերլին"@hy, "בערלין"@yi, "ברלין"@he, "برلين"@ar,
"برلین"@fa, "بېرلىن"@ug, "ܒܪܠܝܢ"@arc, "बर्लिन"@mr, "বার্লিন"@bn, "பெர்லின்"@ta, "เบอร์ลิน"@th,
"ბერლინი"@ka, "ベルリン"@ja, "柏林"@zh, "베를린"@ko ;
# link to a geonames feature, stating they are identical:
owl:sameAs <http://sws.geonames.org/2950159/> ;
# the approximate location of Berlin in latitude and longitude, as well as its altitude
geo:lat "52.52437" ;
geo:long "13.41053" ;
geo:alt "74" ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment