AWesterinen created this task. AWesterinen added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Execute the query found at https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries#Query_to_find_latitudes_and_longitudes_for_places_in_Paris, and add ORDER BY ?aLabel to better see the results. Initial results will appear as "item IRI, item label, lat, long". For example, "wd:Q100587045, Q100587045, 48.894902217468, 2.3648490384221" To show the correct output, execute: SELECT ?a ?aLabel ?lat ?long WHERE { ?a wdt:P131+ wd:Q90 . # administrative territorial entity = Paris ?a p:P625 ?statement . # coordinate-location statement ?statement psv:P625 ?coordinate_node . ?coordinate_node wikibase:geoLatitude ?lat . ?coordinate_node wikibase:geoLongitude ?long . ?a rdfs:label ?aLabel . FILTER (lang(?aLabel) = "en") } ORDER BY ?aLabel You will see fewer results and they seem to have legitimate labels. Executed using the WDQS front-end on Firefox. TASK DETAIL https://phabricator.wikimedia.org/T311171 WORKBOARD https://phabricator.wikimedia.org/project/board/891/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AWesterinen Cc: AWesterinen, Aklapper, MPhamWMF, CBogen, Namenlos314, Gq86, Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
