I\'m currently looking for a way to query DBPedia\'s Infobox Onyology database via the SPARQL endpoint to get a list of the classes, the subclasses of a selected class, and
It's quite possible that some of the properties aren't actually defined as such with:
?p a rdf:Property .
but any term in the middle position is by definition a property. So you might get more results with:
SELECT ?prop ?title WHERE {
?country a .
?country ?prop [] .
?prop rdfs:label ?title .
}
ORDER BY DESC(COUNT(DISTINCT ?country))
(reordered slightly, being selective at the start may improve performance)