Where queries: coordinates
“Where” queries refer to retrieving geographical locations which can be expressed in coordinates. It is then possible to present this information in the form of a map.
Let’s start with a simple example: Where did aviation accidents happen?
After running the query, scroll to the results. Above the table, click on the arrow next to the eye. A drop-down menu will pop up. Choose “Map” from the menu, and WDQS will display the locations on a map. You can click on each point to see the item’s label and the associated coordinates.
Another way to display the results in the Map view is to specify it in the query itself. The code on line 2, after the hashtag sign, tells the query that the query results should be shown not as a table, but as a map.
You don’t need to remember the exact code for the map view: thanks to the autocompletion function of WDQS, once you type a hashtag in the query window, a drop-down menu will suggest the different display options.