Skip to content

Instantly share code, notes, and snippets.

@despens despens/manifest.js
Last active Jun 18, 2018

Embed
What would you like to do?
{
"version": "1.0.2", // version of the manifest format
"mediawiki": {
"name": "Wikidata",
"root": "https://www.wikidata.org/wiki/",
"main_page": "https://www.wikidata.org/wiki/Wikidata:Main_Page",
"api": "https://www.wikidata.org/w/api.php"
"namespace": {
"item": "Item",
"property": "Property"
}
},
"wikibase": {
"query": {
"endpoint": "https://query.wikidata.org/",
"rate_limit": "TBD" // json expression of query service rate limiting setup
},
"prefix": { // full list from https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Full_list_of_prefixes
"wdata": "http://www.wikidata.org/wiki/Special:EntityData/",
"wd": "http://www.wikidata.org/entity/",
"wdt": "http://www.wikidata.org/prop/direct/",
"wdtn": "http://www.wikidata.org/prop/direct-normalized/",
"wds": "http://www.wikidata.org/entity/statement/",
"p": "http://www.wikidata.org/prop/",
"wdref": "http://www.wikidata.org/reference/",
"wdv": "http://www.wikidata.org/value/",
"ps": "http://www.wikidata.org/prop/statement/",
"psv": "http://www.wikidata.org/prop/statement/value/",
"psn": "http://www.wikidata.org/prop/statement/value-normalized/",
"pq": "http://www.wikidata.org/prop/qualifier/",
"pqv": "http://www.wikidata.org/prop/qualifier/value/",
"pqn": "http://www.wikidata.org/prop/qualifier/value-normalized/",
"pr": "http://www.wikidata.org/prop/reference/",
"prv": "http://www.wikidata.org/prop/reference/value/",
"prn": "http://www.wikidata.org/prop/reference/value-normalized/",
"wdno": "http://www.wikidata.org/prop/novalue/"
},
"properties": {
"formatter URI for RDF resource": "P1921",
"instance of": "P31",
"subclass of": "P279",
"properties_for_this_type": "P1963",
"media_files": ["P123", "P234"] // properties pointing to media files, TBD
},
"items": {
"entity": "Q35120", // root class, "thing"
"unique_identifier": ["Q88888", "Q777777"], // identifier classes
"ignore": ["Q1111", "Q22222"], // classes of items not to suggest
"default_globe": "Q2", // at the moment Earth is hard-coded into the query service
"default_calendar": "Q9" // is there a calendar hard-coded into the query service?
},
"constraints": {} // JSON representation of the constraints extensions config
},
"quickstatements": {
"endpoint": "https://quickstatements.wmflabs.org"
},
"reconciliation": {
"endpoint": "https://tools.wmflabs.org/openrefine-wikidata/en/api"
}
}
@despens

This comment has been minimized.

Copy link
Owner Author

commented Jun 18, 2018

used js instead of json file type to allow inline comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.