On 20.03.2015 19:08, Markus Kroetzsch wrote:
...
Feedback (and other interesting queries) are welcome :-)
Here's another nice query:
"Find all astronomical bodies on which Wikidata has some coordinates,
ordered by the number of coordinates that refer to them":
PREFIX : <http://www.wikidata.org/entity/>
SELECT ?globe (COUNT(DISTINCT ?coordinatesValue) AS ?globeCount)
WHERE {
?coordinatesValue <http://www.wikidata.org/ontology#globe> ?globe
} ORDER BY DESC(?globeCount)
This is a bit more costly, so don't try to add labels in the query ;-)
Cheers,
Markus
--
Markus Kroetzsch
Faculty of Computer Science
Technische Universität Dresden
+49 351 463 38486
http://korrekt.org/