Page MenuHomePhabricator

Fix map module to display GLAM institutions
Open, Needs TriagePublic

Event Timeline

Yarl created this task.May 13 2019, 9:59 PM
Yarl added a comment.May 13 2019, 10:54 PM

For now, most naive approach is deployed (version 19.05.07)

SPARQL underneath:

SELECT DISTINCT ?item ?itemLabel ?coord ?image ?admin ?adminLabel
 hint:Query hint:optimizer "None" .
 ?item wdt:P131* wd:Q239 .
 ?item wdt:P31/wdt:P279* wd:Q1030034 .
 ?item wdt:P625 ?coord .
 ?item wdt:P131 ?admin .
 OPTIONAL { ?item wdt:P18 ?image . }
 SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl,fr,de" .
 ?item rdfs:label ?itemLabel . ?admin rdfs:label ?adminLabel
ORDER BY ASC (?itemLabel)

Further work that needs to be done (in other subtasks):

  • Add filters by type (museum, library, ...)
  • Support properly described institutions using P159 instead of P131 and P625