1/1
10 files

Wikidata Constraints Violations - July 2018

dataset
posted on 14.02.2019, 10:58 authored by Thomas Pellissier TanonThomas Pellissier Tanon, Camille Bourgaux
This dataset contains corrections for Wikidata constraint violations extracted from the July 1st 2018 Wikidata full history dump.

The following constraints are considered:
* conflicts with: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Conflicts_with
* distinct values: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Unique_value
* inverse and symmetric: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Inverse https://www.wikidata.org/wiki/Help:Property_constraints_portal/Symmetric
* item requires statement: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Item
* one of: https://www.wikidata.org/wiki/Help:Property_constraints_portal/One_of
* single value: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Single_value
* type: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Type
* value requires statement: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Target_required_claim
* value type: https://www.wikidata.org/wiki/Help:Property_constraints_portal/Value_type

The constraints.tsv 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
* type id: the URI of the constraint type (type, value type...). It is a Wikidata item.
* 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
** exceptions: https://www.wikidata.org/wiki/Property:P2303
** group by: https://www.wikidata.org/wiki/Property:P2304
** items: https://www.wikidata.org/wiki/Property:P2305
** property: https://www.wikidata.org/wiki/Property:P2306
** namespace: https://www.wikidata.org/wiki/Property:P2307
** class: https://www.wikidata.org/wiki/Property:P2308
** relation: https://www.wikidata.org/wiki/Property:P2309
** minimal date: https://www.wikidata.org/wiki/Property:P2310
** maximum date: https://www.wikidata.org/wiki/Property:P2311
** maximum value: https://www.wikidata.org/wiki/Property:P2312
** minimal value: https://www.wikidata.org/wiki/Property:P2313
** status: https://www.wikidata.org/wiki/Property:P2316
** separator: https://www.wikidata.org/wiki/Property:P4155
** scope: https://www.wikidata.org/wiki/Property:P5314

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
* 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 "->"
* 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.

More detailed explanations are provided in a soon to be published paper

History

Usage metrics

Keywords

Licence

Exports