pkiraly / metadata-qa-wikidata

Quality assessment for the bibliographic records of Wikidata
0 stars 1 forks source link

Entity file should contain class information #2

Open pkiraly opened 5 years ago

pkiraly commented 5 years ago

Current entity file is a CSV with the following structure: entityID, label. We should add class information, which is stored at

claims/P31/*/mainsnak/datavalue/value/id

of the output of wd data [entityID] command.

pkiraly commented 5 years ago
wd data Q19007672 | jq .claims.P31[].mainsnak.datavalue.value.id