├── LICENSE.md ├── README.md ├── biblissima-data-manifest-v1.json ├── biblissima-data-manifest.json ├── factgrid-manifest.json ├── openrefine-wikibase-test-manifest.json ├── rhizome-artbase-manifest.json ├── wikibase-manifest-schema-v1.json ├── wikibase-manifest-schema-v2.json ├── wikidata-manifest.json └── wikimedia-commons-manifest.json /LICENSE.md: -------------------------------------------------------------------------------- 1 | # Creative Commons CC0 1.0 Universal 2 | 3 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER. 4 | 5 | ### Statement of Purpose 6 | 7 | The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). 8 | 9 | Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. 10 | 11 | For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. 12 | 13 | 1. __Copyright and Related Rights.__ A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: 14 | 15 | i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; 16 | 17 | ii. moral rights retained by the original author(s) and/or performer(s); 18 | 19 | iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; 20 | 21 | iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; 22 | 23 | v. rights protecting the extraction, dissemination, use and reuse of data in a Work; 24 | 25 | vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and 26 | 27 | vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. 28 | 29 | 2. __Waiver.__ To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. 30 | 31 | 3. __Public License Fallback.__ Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. 32 | 33 | 4. __Limitations and Disclaimers.__ 34 | 35 | a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. 36 | 37 | b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. 38 | 39 | c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. 40 | 41 | d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Wikibase manifests 2 | 3 | This GitHub repository stores manifests of some public Wikibase instances. 4 | 5 | By entering a manifest in OpenRefine's Wikibase selection dialog window (`Select Wikibase instance...` in the Wikidata/Wikibase extension menu), you can start (batch) editing that particular Wikibase. 6 | 7 | ![image](https://user-images.githubusercontent.com/9881645/159169440-db7b6aa5-783b-4909-bb17-ed7b1f4fd4e7.png)
8 | Click the `Add Wikibase` button to add the manifest's URL (preferred) or json. 9 | 10 | See [OpenRefine's documentation](https://docs.openrefine.org/next/manual/wikibase/configuration#for-wikibase-end-users) for some additional information. 11 | 12 | | Wikibase | Manifest | 13 | | ------------------------------------------ | ------------------------------------------ | 14 | | https://www.wikidata.org | [wikidata-manifest.json](https://raw.githubusercontent.com/OpenRefine/wikibase-manifests/master/wikidata-manifest.json) | 15 | | https://artbase.rhizome.org | [rhizome-artbase-manifest.json](https://raw.githubusercontent.com/OpenRefine/wikibase-manifests/master/rhizome-artbase-manifest.json) | 16 | | https://or-wikibase-test.wiki.opencura.com | [openrefine-wikibase-test-manifest.json](https://raw.githubusercontent.com/OpenRefine/wikibase-manifests/master/openrefine-wikibase-test-manifest.json) | 17 | | https://data.biblissima.fr | [biblissima-data-manifest.json](https://raw.githubusercontent.com/OpenRefine/wikibase-manifests/master/biblissima-data-manifest.json) 18 | | https://commons.wikimedia.org *(manifest v2, needs OpenRefine 3.6+)* | [wikimedia-commons-manifest.json](https://github.com/OpenRefine/wikibase-manifests/blob/master/wikimedia-commons-manifest.json) 19 | 20 | # Version 1 and 2 manifests 21 | 22 | Manifests following the version 2 syntax, such as the [Wikimedia Commons manifest](https://github.com/OpenRefine/wikibase-manifests/blob/master/wikimedia-commons-manifest.json), only are supported in OpenRefine 3.6 onwards, *not* in older versions of OpenRefine. 23 | 24 | # Write and add your own 25 | 26 | You can write manifests for other Wikibase instances according to [this tutorial](https://github.com/OpenRefine/OpenRefine/wiki/Write-a-Wikibase-manifest) and make them discoverable by sending a PR here. Also feel free to add them to the table above 😎 27 | -------------------------------------------------------------------------------- /biblissima-data-manifest-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "mediawiki": { 4 | "name": "Biblissima Authority Files", 5 | "root": "https://data.biblissima.fr/w/", 6 | "main_page": "https://data.biblissima.fr/w/Accueil", 7 | "api": "https://data.biblissima.fr/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "https://data.biblissima.fr/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P2", 14 | "subclass_of": "P7" 15 | } 16 | }, 17 | "reconciliation": { 18 | "endpoint": "https://data.biblissima.fr/reconcile/${lang}/api" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /biblissima-data-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "mediawiki": { 4 | "name": "Biblissima Authority Files", 5 | "root": "https://data.biblissima.fr/w/", 6 | "main_page": "https://data.biblissima.fr/w/Accueil", 7 | "api": "https://data.biblissima.fr/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "https://data.biblissima.fr/entity/", 11 | "maxlag": 5, 12 | "tag": "openrefine-${version}", 13 | "properties": { 14 | "instance_of": "P2", 15 | "subclass_of": "P7" 16 | } 17 | }, 18 | "entity_types": { 19 | "item": { 20 | "site_iri": "https://data.biblissima.fr/entity/", 21 | "reconciliation_endpoint": "https://data.biblissima.fr/reconcile/${lang}/api", 22 | "mediawiki_api": "https://data.biblissima.fr/w/api.php" 23 | }, 24 | "property": { 25 | "site_iri": "https://data.biblissima.fr/entity/", 26 | "mediawiki_api": "https://data.biblissima.fr/w/api.php" 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /factgrid-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "mediawiki": { 4 | "name": "FactGrid", 5 | "root": "https://database.factgrid.de/wiki/", 6 | "main_page": "https://database.factgrid.de/wiki/Main_Page", 7 | "api": "https://database.factgrid.de/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "https://database.factgrid.de/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P2", 14 | "subclass_of": "P3" 15 | } 16 | }, 17 | "oauth": { 18 | "registration_page": "https://database.factgrid.de/wiki/Special:OAuthConsumerRegistration/propose" 19 | }, 20 | "reconciliation": { 21 | "endpoint": "https://database.factgrid.de/reconcile/${lang}/api" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /openrefine-wikibase-test-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "mediawiki": { 4 | "name": "OpenRefine Wikibase Test", 5 | "root": "https://or-wikibase-test.wiki.opencura.com/wiki/", 6 | "main_page": "https://or-wikibase-test.wiki.opencura.com/wiki/Main_Page", 7 | "api": "https://or-wikibase-test.wiki.opencura.com/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "http://or-wikibase-test.wiki.opencura.com/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P1", 14 | "subclass_of": "P2" 15 | } 16 | }, 17 | "oauth": { 18 | "registration_page": "https://or-wikibase-test.wiki.opencura.com/wiki/Special:OAuthConsumerRegistration/propose" 19 | }, 20 | "reconciliation": { 21 | "endpoint": "https://or-wikibase-test.reconci.link/${lang}/api" 22 | } 23 | } -------------------------------------------------------------------------------- /rhizome-artbase-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "mediawiki": { 4 | "name": "Rhizome Artbase", 5 | "root": "https://artbase.rhizome.org/wiki/", 6 | "main_page": "https://artbase.rhizome.org/wiki/Main_Page", 7 | "api": "https://artbase.rhizome.org/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "http://artbase.rhizome.org/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P3", 14 | "subclass_of": "P15" 15 | } 16 | }, 17 | "oauth": { 18 | "registration_page": "https://artbase.rhizome.org/wiki/Special:OAuthConsumerRegistration/propose" 19 | }, 20 | "reconciliation": { 21 | "endpoint": "https://reconciliation.artbase.rhizome.org/${lang}/api" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /wikibase-manifest-schema-v1.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://github.com/afkbrb/wikibase-manifest/blob/master/wikibase-manifest-schema-v1.json", 4 | "type": "object", 5 | "description": "The schema validates Wikibase manifests with version 1.x. The manifest contains configurations of basic information (e.g. URL of the main page), extensions (e.g. OAuth extension) or external services (e.g. Reconciliation service) of a Wikibase", 6 | "properties": { 7 | "version": { 8 | "type": "string", 9 | "pattern": "^1\\.[0-9]+$", 10 | "description": "The version of the Wikibase manifest, in the format of 1.x" 11 | }, 12 | "mediawiki": { 13 | "type": "object", 14 | "description": "The configurations of the MediaWiki engine", 15 | "properties": { 16 | "name": { 17 | "type": "string", 18 | "description": "The name of the Wikibase, such as 'Wikidata'" 19 | }, 20 | "root": { 21 | "type": "string", 22 | "pattern": "^.*/$", 23 | "description": "The URL of the root of the Wikibase, such as 'https://www.wikidata.org/wiki/'. The trailing slash cannot be omitted" 24 | }, 25 | "main_page": { 26 | "type": "string", 27 | "description": "The URL of the main page of the Wikibase, such as 'https://www.wikidata.org/wiki/Wikidata:Main_Page'" 28 | }, 29 | "api": { 30 | "type": "string", 31 | "description": "The MediaWiki API endpoint of the Wikibase, such as 'https://www.wikidata.org/w/api.php'" 32 | } 33 | }, 34 | "required": [ 35 | "name", 36 | "root", 37 | "main_page", 38 | "api" 39 | ] 40 | }, 41 | "wikibase": { 42 | "type": "object", 43 | "description": "The configurations of the Wikibase extension", 44 | "properties": { 45 | "site_iri": { 46 | "type": "string", 47 | "pattern": "^.*/$", 48 | "description": "The IRI of the Wikibase, such as 'http://www.wikidata.org/entity/'. This should match the IRI prefixes used in RDF serialization. Be careful about using 'http' or 'https', because any variation will break comparisons at various places. The trailing slash cannot be omitted" 49 | }, 50 | "maxlag": { 51 | "type": "integer", 52 | "description": "The default maxlag of this Wikibase. For Wikidata, the default value is 5 (seconds)" 53 | }, 54 | "tag": { 55 | "type": "string", 56 | "description": "The tag to apply to edits made to the Wikibase instance. If the ${version} string is included, it will be replaced by the major.minor version of OpenRefine used to make the edit" 57 | }, 58 | "max_edits_per_minute": { 59 | "type": "integer", 60 | "description": "The maximum number of edits to do per minute, on this Wikibase instance. By default, 60." 61 | }, 62 | "properties": { 63 | "type": "object", 64 | "properties": { 65 | "instance_of": { 66 | "type": "string", 67 | "description": "The 'instance of' qid of the Wikibase ('P31' for Wikidata)" 68 | }, 69 | "subclass_of": { 70 | "type": "string", 71 | "description": "The 'subclass of' qid of the Wikibase ('P279' for Wikidata)" 72 | } 73 | }, 74 | "required": [ 75 | "instance_of", 76 | "subclass_of" 77 | ] 78 | }, 79 | "constraints": { 80 | "type": "object", 81 | "description": "Constraints related qids and pids, not required since the constraints extension may not be installed", 82 | "properties": { 83 | "property_constraint_pid": { 84 | "type": "string", 85 | "description": "The property constraint pid of the Wikibase ('P2302' for Wikidata)" 86 | } 87 | }, 88 | "patternProperties": { 89 | "^.*$": { 90 | "type": "string", 91 | "description": "If a pid/qid is missing, constraint checks depending on it will be skipped" 92 | } 93 | }, 94 | "required": [ 95 | "property_constraint_pid" 96 | ] 97 | } 98 | }, 99 | "required": [ 100 | "site_iri", 101 | "maxlag", 102 | "properties" 103 | ] 104 | }, 105 | "oauth": { 106 | "type": "object", 107 | "description": "The configurations of the OAuth extension. Not required. Configuring this if and only if the OAuth extension is installed", 108 | "properties": { 109 | "registration_page": { 110 | "type": "string", 111 | "description": "The url of the OAuth consumer registration page, 'https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose' for Wikidata" 112 | } 113 | }, 114 | "required": [ 115 | "registration_page" 116 | ] 117 | }, 118 | "reconciliation": { 119 | "type": "object", 120 | "description": "The configurations of the default reconciliation service of the Wikibase", 121 | "properties": { 122 | "endpoint": { 123 | "type": "string", 124 | "pattern": "^.*\\${lang}.*$", 125 | "description": "The default reconciliation API endpoint of the Wikibase, the endpoint should include the language variable '${lang}', such as 'https://wdreconcile.toolforge.org/${lang}/api'" 126 | } 127 | }, 128 | "required": [ 129 | "endpoint" 130 | ] 131 | }, 132 | "editgroups": { 133 | "type": "object", 134 | "description": "The configurations of the EditGroups service of the Wikibase", 135 | "properties": { 136 | "url_schema": { 137 | "type": "string", 138 | "pattern": "^.*\\${batch_id}.*$", 139 | "description": "The URL schema used in edits summary. This is used for EditGroups to extract the batch id from a batch of edits and for linking to the EditGroups page of the batch. The URL schema must contains the variable '${batch_id}', such as '([[:toollabs:editgroups/b/OR/${batch_id}|details]])' for Wikidata" 140 | } 141 | }, 142 | "required": [ 143 | "url_schema" 144 | ] 145 | } 146 | }, 147 | "required": [ 148 | "version", 149 | "mediawiki", 150 | "wikibase", 151 | "reconciliation" 152 | ] 153 | } 154 | -------------------------------------------------------------------------------- /wikibase-manifest-schema-v2.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://openrefine.org/schemas/wikibase-manifest-v2.json", 4 | "type": "object", 5 | "description": "The schema validates Wikibase manifests with version 2.x. The manifest contains configurations of basic information (e.g. URL of the main page), extensions (e.g. OAuth extension) or external services (e.g. Reconciliation service) of a Wikibase", 6 | "properties": { 7 | "version": { 8 | "type": "string", 9 | "pattern": "^2\\.[0-9]+$", 10 | "description": "The version of the Wikibase manifest, in the format of 2.x" 11 | }, 12 | "mediawiki": { 13 | "type": "object", 14 | "description": "The configurations of the MediaWiki engine", 15 | "properties": { 16 | "name": { 17 | "type": "string", 18 | "description": "The name of the Wikibase, such as 'Wikidata'" 19 | }, 20 | "root": { 21 | "type": "string", 22 | "format": "url", 23 | "pattern": "^.*/$", 24 | "description": "The URL of the root of the Wikibase, such as 'https://www.wikidata.org/wiki/'. The trailing slash cannot be omitted" 25 | }, 26 | "main_page": { 27 | "type": "string", 28 | "format": "url", 29 | "description": "The URL of the main page of the Wikibase, such as 'https://www.wikidata.org/wiki/Wikidata:Main_Page'" 30 | }, 31 | "api": { 32 | "type": "string", 33 | "format": "url", 34 | "description": "The MediaWiki API endpoint of the Wikibase, such as 'https://www.wikidata.org/w/api.php'" 35 | } 36 | }, 37 | "required": ["name", "root", "main_page", "api"] 38 | }, 39 | "wikibase": { 40 | "type": "object", 41 | "description": "The configurations of the Wikibase extension", 42 | "properties": { 43 | "site_iri": { 44 | "type": "string", 45 | "format": "url", 46 | "pattern": "^.*/$", 47 | "description": "The IRI of the Wikibase, such as 'http://www.wikidata.org/entity/'. This should match the IRI prefixes used in RDF serialization. Be careful about using 'http' or 'https', because any variation will break comparisons at various places. The trailing slash cannot be omitted" 48 | }, 49 | "maxlag": { 50 | "type": "integer", 51 | "description": "The default maxlag of this Wikibase. For Wikidata, the default value is 5 (seconds)" 52 | }, 53 | "tag": { 54 | "type": "string", 55 | "description": "The tag to apply to edits made to the Wikibase instance. If the ${version} string is included, it will be replaced by the major.minor version of OpenRefine used to make the edit" 56 | }, 57 | "max_edits_per_minute": { 58 | "type": "integer", 59 | "description": "The maximum number of edits to do per minute, on this Wikibase instance. By default, 60." 60 | }, 61 | "properties": { 62 | "type": "object", 63 | "properties": { 64 | "instance_of": { 65 | "type": "string", 66 | "description": "The 'instance of' qid of the Wikibase ('P31' for Wikidata)" 67 | }, 68 | "subclass_of": { 69 | "type": "string", 70 | "description": "The 'subclass of' qid of the Wikibase ('P279' for Wikidata)" 71 | } 72 | }, 73 | "required": ["instance_of", "subclass_of"] 74 | }, 75 | "constraints": { 76 | "type": "object", 77 | "description": "Constraints related qids and pids, not required since the constraints extension may not be installed", 78 | "properties": { 79 | "property_constraint_pid": { 80 | "type": "string", 81 | "description": "The property constraint pid of the Wikibase ('P2302' for Wikidata)" 82 | } 83 | }, 84 | "patternProperties": { 85 | "^.*$": { 86 | "type": "string", 87 | "description": "If a pid/qid is missing, constraint checks depending on it will be skipped" 88 | } 89 | }, 90 | "required": ["property_constraint_pid"] 91 | } 92 | }, 93 | "required": ["site_iri", "maxlag", "properties"] 94 | }, 95 | "oauth": { 96 | "type": "object", 97 | "description": "The configurations of the OAuth extension. Not required. Configuring this if and only if the OAuth extension is installed", 98 | "properties": { 99 | "registration_page": { 100 | "type": "string", 101 | "format": "url", 102 | "description": "The url of the OAuth consumer registration page, 'https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose' for Wikidata" 103 | } 104 | }, 105 | "required": ["registration_page"] 106 | }, 107 | "entity_types": { 108 | "type": "object", 109 | "description": "The available entity types on this Wikibase, with particular settings for each of them. The keys of this object are strings such as 'item', 'property', 'mediainfo' or 'lexeme'", 110 | "patternProperties": { 111 | "^.*$": { 112 | "type": "object", 113 | "description": "The settings for the given entity type.", 114 | "properties": { 115 | "reconciliation_endpoint": { 116 | "type": "string", 117 | "format": "url", 118 | "pattern": "^.*\\${lang}.*$", 119 | "description": "The default reconciliation API endpoint of the Wikibase for this entity type, the endpoint should include the language variable '${lang}', such as 'https://wikidata.reconci.link/${lang}/api'" 120 | }, 121 | "site_iri": { 122 | "type": "string", 123 | "format": "url", 124 | "description": "The RDF prefix in which URIs for entities of this type are minted. If entities of this type are edited locally, this should be the global site_iri of the Wikibase. If those entities are drawn from another Wikibase instance, it should be the site_iri of that instance." 125 | }, 126 | "mediawiki_api": { 127 | "type": "string", 128 | "format": "url", 129 | "description": "The MediaWiki API endpoint of the Wikibase, such as 'https://www.wikidata.org/w/api.php'" 130 | } 131 | }, 132 | "required": ["site_iri"] 133 | } 134 | } 135 | }, 136 | "editgroups": { 137 | "type": "object", 138 | "description": "The configurations of the EditGroups service of the Wikibase", 139 | "properties": { 140 | "url_schema": { 141 | "type": "string", 142 | "pattern": "^.*\\${batch_id}.*$", 143 | "description": "The URL schema used in edits summary. This is used for EditGroups to extract the batch id from a batch of edits and for linking to the EditGroups page of the batch. The URL schema must contains the variable '${batch_id}', such as '([[:toollabs:editgroups/b/OR/${batch_id}|details]])' for Wikidata" 144 | } 145 | }, 146 | "required": ["url_schema"] 147 | }, 148 | "hide_structured_fields_in_mediainfo": { 149 | "type": "boolean", 150 | "description": "Boolean set to true when the Wikibase instance supports file uploads but does not have structured data associated to them in the form of MediaInfo entities" 151 | } 152 | }, 153 | "required": ["version", "mediawiki", "wikibase", "entity_types"] 154 | } 155 | -------------------------------------------------------------------------------- /wikidata-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "mediawiki": { 4 | "name": "Wikidata", 5 | "root": "https://www.wikidata.org/wiki/", 6 | "main_page": "https://www.wikidata.org/wiki/Wikidata:Main_Page", 7 | "api": "https://www.wikidata.org/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "http://www.wikidata.org/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P31", 14 | "subclass_of": "P279" 15 | }, 16 | "constraints": { 17 | "property_constraint_pid": "P2302", 18 | "exception_to_constraint_pid": "P2303", 19 | "constraint_status_pid": "P2316", 20 | "mandatory_constraint_qid": "Q21502408", 21 | "suggestion_constraint_qid": "Q62026391", 22 | "distinct_values_constraint_qid": "Q21502410", 23 | "multi_value_constraint_qid": "Q21510857", 24 | "used_as_qualifier_constraint_qid": "Q21510863", 25 | "single_value_constraint_qid": "Q19474404", 26 | "symmetric_constraint_qid": "Q21510862", 27 | "type_constraint_qid": "Q21503250", 28 | "value_type_constraint_qid": "Q21510865", 29 | "inverse_constraint_qid": "Q21510855", 30 | "item_requires_statement_constraint_qid": "Q21503247", 31 | "value_requires_statement_constraint_qid": "Q21510864", 32 | "conflicts_with_constraint_qid": "Q21502838", 33 | "one_of_constraint_qid": "Q21510859", 34 | "mandatory_qualifier_constraint_qid": "Q21510856", 35 | "allowed_qualifiers_constraint_qid": "Q21510851", 36 | "range_constraint_qid": "Q21510860", 37 | "difference_within_range_constraint_qid": "Q21510854", 38 | "common_link_constraint_qid": "Q21510852", 39 | "contemporary_constraint_qid": "Q25796498", 40 | "format_constraint_qid": "Q21502404", 41 | "used_for_values_only_constraint_qid": "Q21528958", 42 | "used_as_reference_constraint_qid": "Q21528959", 43 | "no_bounds_constraint_qid": "Q51723761", 44 | "allowed_units_constraint_qid": "Q21514353", 45 | "single_best_value_constraint_qid": "Q52060874", 46 | "allowed_entity_types_constraint_qid": "Q52004125", 47 | "citation_needed_constraint_qid": "Q54554025", 48 | "property_scope_constraint_qid": "Q53869507", 49 | "class_pid": "P2308", 50 | "relation_pid": "P2309", 51 | "instance_of_relation_qid": "Q21503252", 52 | "subclass_of_relation_qid": "Q21514624", 53 | "instance_or_subclass_of_relation_qid": "Q30208840", 54 | "property_pid": "P2306", 55 | "item_of_property_constraint_pid": "P2305", 56 | "minimum_value_pid": "P2313", 57 | "maximum_value_pid": "P2312", 58 | "minimum_date_pid": "P2310", 59 | "maximum_date_pid": "P2311", 60 | "namespace_pid": "P2307", 61 | "format_as_a_regular_expression_pid": "P1793", 62 | "syntax_clarification_pid": "P2916", 63 | "constraint_scope_pid": "P4680", 64 | "separator_pid": "P4155", 65 | "constraint_checked_on_main_value_qid": "Q46466787", 66 | "constraint_checked_on_qualifiers_qid": "Q46466783", 67 | "constraint_checked_on_references_qid": "Q46466805", 68 | "none_of_constraint_qid": "Q52558054", 69 | "one_of_qualifier_value_property_constraint_qid": "Q52712340", 70 | "integer_constraint_qid": "Q52848401", 71 | "wikibase_item_qid": "Q29934200", 72 | "wikibase_property_qid": "Q29934218", 73 | "wikibase_lexeme_qid": "Q51885771", 74 | "wikibase_form_qid": "Q54285143", 75 | "wikibase_sense_qid": "Q54285715", 76 | "wikibase_media_info_qid": "Q59712033", 77 | "property_scope_pid": "P5314", 78 | "as_main_value_qid": "Q54828448", 79 | "as_qualifiers_qid": "Q54828449", 80 | "as_references_qid": "Q54828450" 81 | } 82 | }, 83 | "oauth": { 84 | "registration_page": "https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose" 85 | }, 86 | "reconciliation": { 87 | "endpoint": "https://wdreconcile.toolforge.org/${lang}/api" 88 | }, 89 | "editgroups": { 90 | "url_schema": "([[:toollabs:editgroups/b/OR/${batch_id}|details]])" 91 | } 92 | } -------------------------------------------------------------------------------- /wikimedia-commons-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "mediawiki": { 4 | "name": "Wikimedia Commons", 5 | "root": "https://commons.wikimedia.org/wiki/", 6 | "main_page": "https://commons.wikimedia.org/wiki/Main_Page", 7 | "api": "https://commons.wikimedia.org/w/api.php" 8 | }, 9 | "wikibase": { 10 | "site_iri": "https://commons.wikimedia.org/entity/", 11 | "maxlag": 5, 12 | "properties": { 13 | "instance_of": "P31", 14 | "subclass_of": "P279" 15 | }, 16 | "constraints": { 17 | "property_constraint_pid": "P2302", 18 | "exception_to_constraint_pid": "P2303", 19 | "constraint_status_pid": "P2316", 20 | "mandatory_constraint_qid": "Q21502408", 21 | "suggestion_constraint_qid": "Q62026391", 22 | "distinct_values_constraint_qid": "Q21502410" 23 | } 24 | }, 25 | "oauth": { 26 | "registration_page": "https://commons.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose" 27 | }, 28 | "entity_types": { 29 | "item": { 30 | "site_iri": "http://www.wikidata.org/entity/", 31 | "reconciliation_endpoint": "https://wikidata.reconci.link/${lang}/api", 32 | "mediawiki_api": "https://www.wikidata.org/w/api.php" 33 | }, 34 | "property": { 35 | "site_iri": "http://www.wikidata.org/entity/", 36 | "mediawiki_api": "https://www.wikidata.org/w/api.php" 37 | }, 38 | "mediainfo": { 39 | "site_iri": "https://commons.wikimedia.org/entity/", 40 | "reconciliation_endpoint": "https://commonsreconcile.toolforge.org/${lang}/api" 41 | } 42 | }, 43 | "hide_structured_fields_in_mediainfo": false, 44 | "editgroups": { 45 | "url_schema": "([[:toollabs:editgroups-commons/b/OR/${batch_id}|details]])" 46 | }, 47 | "schema_templates": [ 48 | { 49 | "name": "Information (basic data for every Wikimedia Commons file)", 50 | "schema": { 51 | "entityEdits": [ 52 | { 53 | "type": "wbmediainfoeditexpr", 54 | "subject": null, 55 | "filePath": null, 56 | "fileName": null, 57 | "wikitext": null, 58 | "overrideWikitext": false, 59 | "statementGroups": [ 60 | { 61 | "property": { 62 | "type": "wbpropconstant", 63 | "pid": "P170", 64 | "label": "creator", 65 | "datatype": "wikibase-item" 66 | }, 67 | "statements": [ 68 | { 69 | "value": null, 70 | "qualifiers": [], 71 | "references": [], 72 | "mode": "add_or_merge", 73 | "mergingStrategy": { 74 | "type": "snak", 75 | "valueMatcher": { 76 | "type": "lax" 77 | } 78 | } 79 | } 80 | ] 81 | }, 82 | { 83 | "property": { 84 | "type": "wbpropconstant", 85 | "pid": "P571", 86 | "label": "inception", 87 | "datatype": "time" 88 | }, 89 | "statements": [ 90 | { 91 | "value": { 92 | "type": "wbdateconstant", 93 | "value": "" 94 | }, 95 | "qualifiers": [], 96 | "references": [], 97 | "mode": "add_or_merge", 98 | "mergingStrategy": { 99 | "type": "snak", 100 | "valueMatcher": { 101 | "type": "lax" 102 | } 103 | } 104 | } 105 | ] 106 | }, 107 | { 108 | "property": { 109 | "type": "wbpropconstant", 110 | "pid": "P7482", 111 | "label": "source of file", 112 | "datatype": "wikibase-item" 113 | }, 114 | "statements": [ 115 | { 116 | "value": null, 117 | "qualifiers": [], 118 | "references": [], 119 | "mode": "add_or_merge", 120 | "mergingStrategy": { 121 | "type": "snak", 122 | "valueMatcher": { 123 | "type": "lax" 124 | } 125 | } 126 | } 127 | ] 128 | }, 129 | { 130 | "property": { 131 | "type": "wbpropconstant", 132 | "pid": "P6216", 133 | "label": "copyright status", 134 | "datatype": "wikibase-item" 135 | }, 136 | "statements": [ 137 | { 138 | "value": null, 139 | "qualifiers": [], 140 | "references": [], 141 | "mode": "add_or_merge", 142 | "mergingStrategy": { 143 | "type": "snak", 144 | "valueMatcher": { 145 | "type": "lax" 146 | } 147 | } 148 | } 149 | ] 150 | }, 151 | { 152 | "property": { 153 | "type": "wbpropconstant", 154 | "pid": "P275", 155 | "label": "copyright license", 156 | "datatype": "wikibase-item" 157 | }, 158 | "statements": [ 159 | { 160 | "value": null, 161 | "qualifiers": [], 162 | "references": [], 163 | "mode": "add_or_merge", 164 | "mergingStrategy": { 165 | "type": "snak", 166 | "valueMatcher": { 167 | "type": "lax" 168 | } 169 | } 170 | } 171 | ] 172 | }, 173 | { 174 | "property": { 175 | "type": "wbpropconstant", 176 | "pid": "P180", 177 | "label": "depicts", 178 | "datatype": "wikibase-item" 179 | }, 180 | "statements": [ 181 | { 182 | "value": null, 183 | "qualifiers": [], 184 | "references": [], 185 | "mode": "add_or_merge", 186 | "mergingStrategy": { 187 | "type": "snak", 188 | "valueMatcher": { 189 | "type": "lax" 190 | } 191 | } 192 | } 193 | ] 194 | } 195 | ], 196 | "nameDescs": [ 197 | { 198 | "type": "wbnamedescexpr", 199 | "name_type": "LABEL_IF_NEW", 200 | "value": { 201 | "type": "wbmonolingualexpr", 202 | "language": { 203 | "type": "wblanguageconstant", 204 | "id": "en", 205 | "label": "en" 206 | }, 207 | "value": null 208 | } 209 | } 210 | ] 211 | } 212 | ], 213 | "siteIri": "https://commons.wikimedia.org/entity/", 214 | "entityTypeSiteIRI": { 215 | "item": "http://www.wikidata.org/entity/", 216 | "property": "http://www.wikidata.org/entity/", 217 | "mediainfo": "https://commons.wikimedia.org/entity/" 218 | }, 219 | "mediaWikiApiEndpoint": "https://commons.wikimedia.org/w/api.php" 220 | } 221 | }, 222 | { 223 | "name": "Artwork (faithful digital representation / digital surrogate of a work)", 224 | "schema": { 225 | "entityEdits": [ 226 | { 227 | "type": "wbmediainfoeditexpr", 228 | "subject": null, 229 | "filePath": null, 230 | "fileName": null, 231 | "wikitext": null, 232 | "overrideWikitext": false, 233 | "statementGroups": [ 234 | { 235 | "property": { 236 | "type": "wbpropconstant", 237 | "pid": "P170", 238 | "label": "creator", 239 | "datatype": "wikibase-item" 240 | }, 241 | "statements": [ 242 | { 243 | "value": null, 244 | "qualifiers": [], 245 | "references": [], 246 | "mode": "add_or_merge", 247 | "mergingStrategy": { 248 | "type": "snak", 249 | "valueMatcher": { 250 | "type": "lax" 251 | } 252 | } 253 | } 254 | ] 255 | }, 256 | { 257 | "property": { 258 | "type": "wbpropconstant", 259 | "pid": "P571", 260 | "label": "inception", 261 | "datatype": "time" 262 | }, 263 | "statements": [ 264 | { 265 | "value": { 266 | "type": "wbdateconstant", 267 | "value": "" 268 | }, 269 | "qualifiers": [], 270 | "references": [], 271 | "mode": "add_or_merge", 272 | "mergingStrategy": { 273 | "type": "snak", 274 | "valueMatcher": { 275 | "type": "lax" 276 | } 277 | } 278 | } 279 | ] 280 | }, 281 | { 282 | "property": { 283 | "type": "wbpropconstant", 284 | "pid": "P7482", 285 | "label": "source of file", 286 | "datatype": "wikibase-item" 287 | }, 288 | "statements": [ 289 | { 290 | "value": null, 291 | "qualifiers": [], 292 | "references": [], 293 | "mode": "add_or_merge", 294 | "mergingStrategy": { 295 | "type": "snak", 296 | "valueMatcher": { 297 | "type": "lax" 298 | } 299 | } 300 | } 301 | ] 302 | }, 303 | { 304 | "property": { 305 | "type": "wbpropconstant", 306 | "pid": "P6216", 307 | "label": "copyright status", 308 | "datatype": "wikibase-item" 309 | }, 310 | "statements": [ 311 | { 312 | "value": null, 313 | "qualifiers": [], 314 | "references": [], 315 | "mode": "add_or_merge", 316 | "mergingStrategy": { 317 | "type": "snak", 318 | "valueMatcher": { 319 | "type": "lax" 320 | } 321 | } 322 | } 323 | ] 324 | }, 325 | { 326 | "property": { 327 | "type": "wbpropconstant", 328 | "pid": "P275", 329 | "label": "copyright license", 330 | "datatype": "wikibase-item" 331 | }, 332 | "statements": [ 333 | { 334 | "value": null, 335 | "qualifiers": [], 336 | "references": [], 337 | "mode": "add_or_merge", 338 | "mergingStrategy": { 339 | "type": "snak", 340 | "valueMatcher": { 341 | "type": "lax" 342 | } 343 | } 344 | } 345 | ] 346 | }, 347 | { 348 | "property": { 349 | "type": "wbpropconstant", 350 | "pid": "P6243", 351 | "label": "digital representation of", 352 | "datatype": "wikibase-item" 353 | }, 354 | "statements": [ 355 | { 356 | "value": null, 357 | "qualifiers": [], 358 | "references": [], 359 | "mode": "add_or_merge", 360 | "mergingStrategy": { 361 | "type": "snak", 362 | "valueMatcher": { 363 | "type": "lax" 364 | } 365 | } 366 | } 367 | ] 368 | } 369 | ], 370 | "nameDescs": [ 371 | { 372 | "type": "wbnamedescexpr", 373 | "name_type": "LABEL_IF_NEW", 374 | "value": { 375 | "type": "wbmonolingualexpr", 376 | "language": { 377 | "type": "wblanguageconstant", 378 | "id": "en", 379 | "label": "en" 380 | }, 381 | "value": null 382 | } 383 | } 384 | ] 385 | } 386 | ], 387 | "siteIri": "https://commons.wikimedia.org/entity/", 388 | "entityTypeSiteIRI": { 389 | "item": "http://www.wikidata.org/entity/", 390 | "property": "http://www.wikidata.org/entity/", 391 | "mediainfo": "https://commons.wikimedia.org/entity/" 392 | }, 393 | "mediaWikiApiEndpoint": "https://commons.wikimedia.org/w/api.php" 394 | } 395 | }, 396 | { 397 | "name": "Art photo (from a point of view; not an exact digitization of the work)", 398 | "schema": { 399 | "entityEdits": [ 400 | { 401 | "type": "wbmediainfoeditexpr", 402 | "subject": null, 403 | "filePath": null, 404 | "fileName": null, 405 | "wikitext": null, 406 | "overrideWikitext": false, 407 | "statementGroups": [ 408 | { 409 | "property": { 410 | "type": "wbpropconstant", 411 | "pid": "P170", 412 | "label": "creator", 413 | "datatype": "wikibase-item" 414 | }, 415 | "statements": [ 416 | { 417 | "value": null, 418 | "qualifiers": [], 419 | "references": [], 420 | "mode": "add_or_merge", 421 | "mergingStrategy": { 422 | "type": "snak", 423 | "valueMatcher": { 424 | "type": "lax" 425 | } 426 | } 427 | } 428 | ] 429 | }, 430 | { 431 | "property": { 432 | "type": "wbpropconstant", 433 | "pid": "P571", 434 | "label": "inception", 435 | "datatype": "time" 436 | }, 437 | "statements": [ 438 | { 439 | "value": { 440 | "type": "wbdateconstant", 441 | "value": "" 442 | }, 443 | "qualifiers": [], 444 | "references": [], 445 | "mode": "add_or_merge", 446 | "mergingStrategy": { 447 | "type": "snak", 448 | "valueMatcher": { 449 | "type": "lax" 450 | } 451 | } 452 | } 453 | ] 454 | }, 455 | { 456 | "property": { 457 | "type": "wbpropconstant", 458 | "pid": "P7482", 459 | "label": "source of file", 460 | "datatype": "wikibase-item" 461 | }, 462 | "statements": [ 463 | { 464 | "value": null, 465 | "qualifiers": [], 466 | "references": [], 467 | "mode": "add_or_merge", 468 | "mergingStrategy": { 469 | "type": "snak", 470 | "valueMatcher": { 471 | "type": "lax" 472 | } 473 | } 474 | } 475 | ] 476 | }, 477 | { 478 | "property": { 479 | "type": "wbpropconstant", 480 | "pid": "P6216", 481 | "label": "copyright status", 482 | "datatype": "wikibase-item" 483 | }, 484 | "statements": [ 485 | { 486 | "value": null, 487 | "qualifiers": [], 488 | "references": [], 489 | "mode": "add_or_merge", 490 | "mergingStrategy": { 491 | "type": "snak", 492 | "valueMatcher": { 493 | "type": "lax" 494 | } 495 | } 496 | } 497 | ] 498 | }, 499 | { 500 | "property": { 501 | "type": "wbpropconstant", 502 | "pid": "P275", 503 | "label": "copyright license", 504 | "datatype": "wikibase-item" 505 | }, 506 | "statements": [ 507 | { 508 | "value": null, 509 | "qualifiers": [], 510 | "references": [], 511 | "mode": "add_or_merge", 512 | "mergingStrategy": { 513 | "type": "snak", 514 | "valueMatcher": { 515 | "type": "lax" 516 | } 517 | } 518 | } 519 | ] 520 | }, 521 | { 522 | "property": { 523 | "type": "wbpropconstant", 524 | "pid": "P180", 525 | "label": "depicts", 526 | "datatype": "wikibase-item" 527 | }, 528 | "statements": [ 529 | { 530 | "value": null, 531 | "qualifiers": [], 532 | "references": [], 533 | "mode": "add_or_merge", 534 | "mergingStrategy": { 535 | "type": "snak", 536 | "valueMatcher": { 537 | "type": "lax" 538 | } 539 | } 540 | } 541 | ] 542 | }, 543 | { 544 | "property": { 545 | "type": "wbpropconstant", 546 | "pid": "P921", 547 | "label": "main subject", 548 | "datatype": "wikibase-item" 549 | }, 550 | "statements": [ 551 | { 552 | "value": null, 553 | "qualifiers": [], 554 | "references": [], 555 | "mode": "add_or_merge", 556 | "mergingStrategy": { 557 | "type": "snak", 558 | "valueMatcher": { 559 | "type": "lax" 560 | } 561 | } 562 | } 563 | ] 564 | } 565 | ], 566 | "nameDescs": [ 567 | { 568 | "type": "wbnamedescexpr", 569 | "name_type": "LABEL_IF_NEW", 570 | "value": { 571 | "type": "wbmonolingualexpr", 572 | "language": { 573 | "type": "wblanguageconstant", 574 | "id": "en", 575 | "label": "en" 576 | }, 577 | "value": null 578 | } 579 | } 580 | ] 581 | } 582 | ], 583 | "siteIri": "https://commons.wikimedia.org/entity/", 584 | "entityTypeSiteIRI": { 585 | "item": "http://www.wikidata.org/entity/", 586 | "property": "http://www.wikidata.org/entity/", 587 | "mediainfo": "https://commons.wikimedia.org/entity/" 588 | }, 589 | "mediaWikiApiEndpoint": "https://commons.wikimedia.org/w/api.php" 590 | } 591 | }, 592 | { 593 | "name": "Book or publication (work has a Wikidata item)", 594 | "schema": { 595 | "entityEdits": [ 596 | { 597 | "type": "wbmediainfoeditexpr", 598 | "subject": null, 599 | "filePath": null, 600 | "fileName": null, 601 | "wikitext": null, 602 | "overrideWikitext": false, 603 | "statementGroups": [ 604 | { 605 | "property": { 606 | "type": "wbpropconstant", 607 | "pid": "P170", 608 | "label": "creator", 609 | "datatype": "wikibase-item" 610 | }, 611 | "statements": [ 612 | { 613 | "value": null, 614 | "qualifiers": [], 615 | "references": [], 616 | "mode": "add_or_merge", 617 | "mergingStrategy": { 618 | "type": "snak", 619 | "valueMatcher": { 620 | "type": "lax" 621 | } 622 | } 623 | } 624 | ] 625 | }, 626 | { 627 | "property": { 628 | "type": "wbpropconstant", 629 | "pid": "P571", 630 | "label": "inception", 631 | "datatype": "time" 632 | }, 633 | "statements": [ 634 | { 635 | "value": { 636 | "type": "wbdateconstant", 637 | "value": "" 638 | }, 639 | "qualifiers": [], 640 | "references": [], 641 | "mode": "add_or_merge", 642 | "mergingStrategy": { 643 | "type": "snak", 644 | "valueMatcher": { 645 | "type": "lax" 646 | } 647 | } 648 | } 649 | ] 650 | }, 651 | { 652 | "property": { 653 | "type": "wbpropconstant", 654 | "pid": "P7482", 655 | "label": "source of file", 656 | "datatype": "wikibase-item" 657 | }, 658 | "statements": [ 659 | { 660 | "value": null, 661 | "qualifiers": [], 662 | "references": [], 663 | "mode": "add_or_merge", 664 | "mergingStrategy": { 665 | "type": "snak", 666 | "valueMatcher": { 667 | "type": "lax" 668 | } 669 | } 670 | } 671 | ] 672 | }, 673 | { 674 | "property": { 675 | "type": "wbpropconstant", 676 | "pid": "P6216", 677 | "label": "copyright status", 678 | "datatype": "wikibase-item" 679 | }, 680 | "statements": [ 681 | { 682 | "value": null, 683 | "qualifiers": [], 684 | "references": [], 685 | "mode": "add_or_merge", 686 | "mergingStrategy": { 687 | "type": "snak", 688 | "valueMatcher": { 689 | "type": "lax" 690 | } 691 | } 692 | } 693 | ] 694 | }, 695 | { 696 | "property": { 697 | "type": "wbpropconstant", 698 | "pid": "P275", 699 | "label": "copyright license", 700 | "datatype": "wikibase-item" 701 | }, 702 | "statements": [ 703 | { 704 | "value": null, 705 | "qualifiers": [], 706 | "references": [], 707 | "mode": "add_or_merge", 708 | "mergingStrategy": { 709 | "type": "snak", 710 | "valueMatcher": { 711 | "type": "lax" 712 | } 713 | } 714 | } 715 | ] 716 | }, 717 | { 718 | "property": { 719 | "type": "wbpropconstant", 720 | "pid": "P6243", 721 | "label": "digital representation of", 722 | "datatype": "wikibase-item" 723 | }, 724 | "statements": [ 725 | { 726 | "value": null, 727 | "qualifiers": [], 728 | "references": [], 729 | "mode": "add_or_merge", 730 | "mergingStrategy": { 731 | "type": "snak", 732 | "valueMatcher": { 733 | "type": "lax" 734 | } 735 | } 736 | } 737 | ] 738 | }, 739 | { 740 | "property": { 741 | "type": "wbpropconstant", 742 | "pid": "P195", 743 | "label": "collection", 744 | "datatype": "wikibase-item" 745 | }, 746 | "statements": [ 747 | { 748 | "value": null, 749 | "qualifiers": [], 750 | "references": [], 751 | "mode": "add_or_merge", 752 | "mergingStrategy": { 753 | "type": "snak", 754 | "valueMatcher": { 755 | "type": "lax" 756 | } 757 | } 758 | } 759 | ] 760 | } 761 | ], 762 | "nameDescs": [ 763 | { 764 | "type": "wbnamedescexpr", 765 | "name_type": "LABEL_IF_NEW", 766 | "value": { 767 | "type": "wbmonolingualexpr", 768 | "language": { 769 | "type": "wblanguageconstant", 770 | "id": "en", 771 | "label": "en" 772 | }, 773 | "value": null 774 | } 775 | } 776 | ] 777 | } 778 | ], 779 | "siteIri": "https://commons.wikimedia.org/entity/", 780 | "entityTypeSiteIRI": { 781 | "item": "http://www.wikidata.org/entity/", 782 | "property": "http://www.wikidata.org/entity/", 783 | "mediainfo": "https://commons.wikimedia.org/entity/" 784 | }, 785 | "mediaWikiApiEndpoint": "https://commons.wikimedia.org/w/api.php" 786 | } 787 | } 788 | ] 789 | } 790 | --------------------------------------------------------------------------------