Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to check an external beacon file for items present in wikidata? #21

Closed
jneubert opened this issue Jan 6, 2017 · 2 comments
Closed

Comments

@jneubert
Copy link
Collaborator

jneubert commented Jan 6, 2017

I've downloaded http://www.historische-kommission-muenchen-editionen.de/beacon_ndb.txt and wanted to know how many of the persons referenced there by GND ID are present in Wikidata. I tried

wdmapper check P227 -i beacon_ndb.txt

but only got a message missing source in line 2.

@nichtich
Copy link
Member

nichtich commented Jan 9, 2017

BEACON input format has not been impemented yet (#17). With the current dev branch (6b818eb) you can do:

$ wget http://www.historische-kommission-muenchen-editionen.de/beacon_ndb.txt 
$ echo "target" > gnds.csv
$ awk '!/^#/ {print}' < beacon_ndb.txt >> gnds.csv
$ ./wdmapper.py check P227 -i gnds.csv

@jneubert
Copy link
Collaborator Author

Thanks for the hints, worked great!

17941 of the 22217 NDS entries were matched in WD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants