DOI: 10.6084/m9.figshare.7712720.v2
title: Wikidata Constraints Violations - July 2018

description: This dataset contains corrections for Wikidata constraint violations extracted from the July 1<sup>st</sup> 2018 Wikidata full history dump.<br>The following constraints are considered:* <b>conflicts with</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Conflicts_with* <b>distinct values</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Unique_value* <b>inverse</b> and <b>symmetric</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Inverse https://www.wikidata.org/wiki/Help:Property_constraints_portal/Symmetric<br>* <b>item requires statement</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Item* <b>one of</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/One_of* <b>single value</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Single_value<br>* <b>type</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Type* <b>value requires statement</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Target_required_claim<br>* <b>value type</b>: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Value_type<br><br>The <i>constraints.tsv</i> file contains the list of most of the Wikidata constraints considered in this dataset (beware, there could be some discrepancies for type, valueType, itemRequiresClaim and valueRequiresClaim constraints).It is a tabbed-separated file with the following columns:* constrain id: the URI of the Wikidata statement describing the constraint* property id: the URI of the property that is constrained<br>* type id: the URI of the constraint type (type, value type...). It is a Wikidata item.<br>* 15 columns for the possible attributes of the constraint. If an attribute has multiple values, they are in the same cell but separated by a space. The columns are:** regex: https://www.wikidata.org/wiki/Property:P1793<br>** exceptions: https://www.wikidata.org/wiki/Property:P2303<br>** group by: https://www.wikidata.org/wiki/Property:P2304<br>** items: https://www.wikidata.org/wiki/Property:P2305<br>** property: https://www.wikidata.org/wiki/Property:P2306<br>** namespace: https://www.wikidata.org/wiki/Property:P2307<br>** class: https://www.wikidata.org/wiki/Property:P2308<br>** relation: https://www.wikidata.org/wiki/Property:P2309<br>** minimal date: https://www.wikidata.org/wiki/Property:P2310<br>** maximum date: https://www.wikidata.org/wiki/Property:P2311<br>** maximum value: https://www.wikidata.org/wiki/Property:P2312<br>** minimal value: https://www.wikidata.org/wiki/Property:P2313<br>** status: https://www.wikidata.org/wiki/Property:P2316<br>** separator: https://www.wikidata.org/wiki/Property:P4155<br>** scope: https://www.wikidata.org/wiki/Property:P5314<br>The other files provide for each constraint type the list of all corrections extracted from the edit history. The format of the file is one line per correction with the following tabbed-separated values:* URI for the statement describing the constraint in Wikidata<br>* URI of the revision that has solved the constraint violation* subject, predicate and object of the triple that was violating the constraint (separated by a tab)* the string "-&gt;"* subject, predicate and object of the triple(s) of the correction, each followed by "http://wikiba.se/history/ontology#deletion" if the triple has been removed or "http://wikiba.se/history/ontology#addition" if the triple has been added. Each component of these values is separated by a tab.<br>More detailed explanations are provided in a soon to be published paper<br>