Page MenuHomePhabricator

Create integrated GeoShapes + Wikidata Query service
Closed, ResolvedPublic


Kartotherian is now capable of retrieving outlines of geographical objects based on a list Wikidata IDs. This is great when the list of IDs is small and constant or easy to calculate by using wiki markup (example)

geoshape:///?ids=Q99,Q173,Q724,Q759,Q771,Q779,...  -- gets all US states as one topojson

Yet clearly it would be better to have a query-based service, where user would supply a SPARQL query (e.g. "get all US states, with their names and population"), and plot that as the result.

We should also consider how the proposed Wikidata Query pages would work with this capability (e.g. another parameter to get a list of data?)

Event Timeline

Yurik created this task.Jun 28 2016, 6:48 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 28 2016, 6:48 PM
geoshape:///?sparql=SELECT%20...  (string after "#" in Wikidata Query Service)

The service will attach geoshapes for the first N items

Restricted Application added a project: Discovery. · View Herald TranscriptJun 28 2016, 7:31 PM
Yurik closed this task as Resolved.Sep 4 2016, 4:17 AM
Yurik claimed this task.

already done:<SPARQL>

@Yurik Excellent !
There is also, right?
We should provide some SPARQL query examples.