2

In dbpedia vocabulary, why is class "City" not linked with class "Country" ?

1 Answers1

3

I believe it is linked with Country through the dbpedia-owl:country link, have you looked at this? StackOverflow, query cities and their country

Qoute sample code:

SELECT DISTINCT ?city ?country 
WHERE { ?city rdf:type dbpedia-owl:City ; 
              rdfs:label ?label ; 
              dbpedia-owl:country ?country 
}
vincent kleine
  • 349
  • 1
  • 2
  • 9