SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/property/cities> <http://dbpedia.org/resource/Miami> . ?x <http://dbpedia.org/property/cities> ?uri }
Count the cities which are on the same sea as that of Miami?
SELECT DISTINCT COUNT ( ?w ) WHERE { ?a property:cities resource:Miami . ?a property:cities ?w }
24
There are [24] cities on the sea whose of them is Miami.
There are [24] cities on the same sea.
There are [24] cities with same sea as Miami.
[24] cities are there on the same sea as Miami.