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' 51", 100° 37' 11"
Belgium50° 30' 13", 4° 28' 11"
Brussels50° 51' 0", 4° 21' 6"
Christophe Ducamp48° 53' 8", 2° 21' 0"
Externsteine51° 52' 3", 8° 55' 5"
Gent51° 3' 12", 3° 43' 48"
Hamburg53° 33' 4", 9° 59' 37"
Khabarovsk48° 29' 8", 135° 4' 46"
Moscow55° 44' 33", 37° 36' 54"
Netherlands52° 9' 37", 5° 37' 29"
Norway60° 28' 18", 8° 28' 8"
Portugal39° 34' 3", -8° 48' 39"
Russia61° 31' 26", 105° 19' 8"