Semantic Maps examples/Query by category

From semantic-mediawiki.org
Jump to: navigation, search
Semantic Maps examplesSemantic Maps examples/Query by category

A query for the 'Has coordinates' property of all pages in the locations category:

{{#ask:
[[Category:Locations]]
|?Has coordinates
|format=map
}}
Loading map...

For testing purposes, the list of coordinates:

{{#ask:
[[Category:Locations]]
|?Has coordinates
|format=table
}}
 Has coordinates
Asia34° 2' 52", 100° 37' 11"
Belgium50° 30' 14", 4° 28' 12"
Brussels50° 51' 1", 4° 21' 6"
Christophe Ducamp48° 53' 9", 2° 21' 0"
Externsteine51° 52' 4", 8° 55' 5"
Gent51° 3' 12", 3° 43' 49"
Hamburg53° 33' 4", 9° 59' 37"
Khabarovsk48° 29' 8", 135° 4' 47"
Moscow55° 44' 34", 37° 36' 55"
Netherlands52° 9' 38", 5° 37' 30"
Norway60° 28' 19", 8° 28' 8"
Portugal39° 34' 4", -8° 48' 40"
Russia61° 31' 26", 105° 19' 8"