everypolitician / compare_with_wikidata

Library for diffing Wikidata and CSVs
MIT License
2 stars 0 forks source link

Infer Wikidata memberships using legislature Wikidata ID #5

Closed chrismytton closed 7 years ago

chrismytton commented 7 years ago

This changes the way people are looked up in Wikidata. Rather than specifying a membership ID this instead uses the Wikidata ID for the legislature (from the Popolo) and looks up memberships using that.

Fixes #3

chrismytton commented 7 years ago

I think this is the wrong approach. For now we should force the user to provide their own SPARQL query, rather than trying to generate one that's generic enough.

chrismytton commented 7 years ago

See #9 for moving the SPARQL query to a parameter.