WorldKG Ontology

Example Queries
- The following example shows how to retrieve the entity for the City of Bonn (Results).
SELECT ?a WHERE {
?a rdfs:label "Bonn".
?a rdf:type wkgs:City.
} LIMIT 100 - The following example shows how to retrieve the schema triples of WorldKG (Results).
SELECT ?class (COUNT(?resource) AS ?count) WHERE {
?class rdfs:subClassOf wkgs:Waterway .
?resource rdf:type ?class.
} GROUP BY ?class
ORDER BY DESC(?count)
More example queries are provided here.