Question: Count the number of books whose author's were born in Alcal de Henares ?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:birthPlace <http://dbpedia.org/resource/Alcalá_de_Henares> . ?uri onto:author ?x  . ?uri rdf:type onto:Book}