SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/nearestCity> <http://dbpedia.org/resource/Wisconsin> . ?x <http://dbpedia.org/property/nearestCity> ?uri }
Count the nearest city to the historic palce whose one of the nearest city is Wisconsin ?
SELECT DISTINCT COUNT ( ?i ) WHERE { ?x property:nearest_city resource:Wisconsin . ?x property:nearest_city ?i }
10
There are [10] nearest cities of the historic places whose one nearest city is Wisconsin.
There are [10] nearby historic cities, one of which is Wisconsin.