SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/ingredient> <http://dbpedia.org/resource/Pork> . ?x <http://dbpedia.org/ontology/ingredient> ?uri }
Count the number of ingredient of the foods which have one of the ingredient is Pork ?
SELECT DISTINCT COUNT ( ?b ) WHERE { ?c property:ingredient ?b . ?c property:ingredient resource:Pork }
622
There are [622] Foods which have Pork in it.
There are [622] products that contain pork.