SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/ingredient> <http://dbpedia.org/resource/Shallot> . ?x <http://dbpedia.org/ontology/country> ?uri . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Country>}
In how many nations can I find dishes made of Shallot?
SELECT DISTINCT COUNT ( ?s ) WHERE { ?j property:ingredient resource:Shallot . ?j property:country ?s . ?s rdf:type ontology:Country }
31
There are [31] countries with dishes whose ingredient is Shallot.
[31] countries are there with dishes having Shallot.