SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/CancÃºn> . ?x <http://dbpedia.org/ontology/country> ?uri . }
How many countries surround the seas on the banks of which is the city of Cancun?
SELECT DISTINCT COUNT ( ?c ) WHERE { ?e property:country ?c . . ?e property:cities resource:CancÃºn }
20
There are [20] countries surrounding the seas whose one city is Cancun.
There are [20] countries in the world, one of which is Cancun.