Question: Count all the books written by an author buried in the Convent of Barefoot Trinitarians?
SPARQL query: SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/restingPlace> <http://dbpedia.org/resource/Convent_of_the_Barefoot_Trinitarians> . ?uri <http://dbpedia.org/ontology/author> ?x  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Book>}
Answer: There are [4] books authored by people whose resting place is the Convent of the Barefoot Trinitarians.