SELECT DISTINCT COUNT(?uri) WHERE { <http://dbpedia.org/resource/Mediterranean_Sea> <http://dbpedia.org/property/cities> ?uri . }
Count the number of cities on the Mediterranean Sea?
SELECT DISTINCT COUNT ( ?s ) WHERE { resource:Mediterranean_Sea property:cities ?s . }
13
There are [13] cities on the Mediterranean Sea.
On the Mediterranean [13] cities are there.
There are [13] cities on the location.
On Mediterranean Sea [13] cities are there.