Question: How many countries surround the seas on the banks of which is the city of Cancun?
SPARQL:
SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/CancÃºn> . ?x <http://dbpedia.org/ontology/country> ?uri . }