Last active
March 13, 2021 20:16
-
-
Save baskaufs/25a19cbb0edf9fcd16423bf231645939 to your computer and use it in GitHub Desktop.
JSON configuration file for generating a metadata description file for two practice Wikidata CSV files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data_path": "data/", | |
"item_source_csv": "sandbox_items.csv", | |
"item_pattern_file": "", | |
"outfiles": [ | |
{ | |
"manage_descriptions": true, | |
"label_description_language_list": [ | |
"en", | |
"es" | |
], | |
"output_file_name": "artworks.csv", | |
"prop_list": [ | |
{ | |
"pid": "P31", | |
"variable": "instance_of", | |
"value_type": "item", | |
"qual": [], | |
"ref": [] | |
}, | |
{ | |
"pid": "P217", | |
"variable": "inventory_number", | |
"value_type": "string", | |
"qual": [ | |
{ | |
"pid": "P195", | |
"variable": "collection", | |
"value_type": "item" | |
} | |
], | |
"ref": [ | |
{ | |
"pid": "P854", | |
"variable": "referenceUrl", | |
"value_type": "uri" | |
}, | |
{ | |
"pid": "P813", | |
"variable": "retrieved", | |
"value_type": "date" | |
} | |
] | |
}, | |
{ | |
"pid": "P1476", | |
"variable": "title", | |
"value_type": "monolingualtext", | |
"language": "en", | |
"qual": [], | |
"ref": [ | |
{ | |
"pid": "P248", | |
"variable": "statedIn", | |
"value_type": "item" | |
} | |
] | |
}, | |
{ | |
"pid": "P2048", | |
"variable": "height", | |
"value_type": "quantity", | |
"qual": [], | |
"ref": [] | |
}, | |
{ | |
"pid": "P571", | |
"variable": "inception", | |
"value_type": "date", | |
"qual": [ | |
{ | |
"pid": "P1319", | |
"variable": "earliest_date", | |
"value_type": "date" | |
}, | |
{ | |
"pid": "P1326", | |
"variable": "latest_date", | |
"value_type": "date" | |
} | |
], | |
"ref": [ | |
{ | |
"pid": "P248", | |
"variable": "statedIn", | |
"value_type": "item" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"manage_descriptions": false, | |
"label_description_language_list": [ | |
"en" | |
], | |
"output_file_name": "works_depicts.csv", | |
"prop_list": [ | |
{ | |
"pid": "P180", | |
"variable": "depicts", | |
"value_type": "item", | |
"qual": [], | |
"ref": [] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment