Question: Count the number of ingredient of the foods which have one of the ingredient is Pork ?
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:ingredient <http://dbpedia.org/resource/Pork> . ?x onto:ingredient ?uri }