Question: Count the number of battles fought by the military person involved in Morocco?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:battles <http://dbpedia.org/resource/Morocco> . ?x prop:battles ?uri }