Question: Count the birthplaces of recepients of the National Museum of Racing and Hall of Fame.
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:honours <http://dbpedia.org/resource/National_Museum_of_Racing_and_Hall_of_Fame> . ?x onto:birthPlace ?uri . ?uri rdf:type onto:Place}