TL;DR
Researchers have developed a way to extract human-readable "if-then" rules from Wikidata using Formal Concept Analysis (FCA). By transforming complex graph data into structured logical contexts, they can automatically discover hidden dependencies between properties, helping editors maintain data quality in the world's largest collaborative knowledge graph.
What Problem Does This Paper Address?
Wikidata is a "gargantuan" collection of over 50 million items and 600 million statements. Because it is collaboratively edited by thousands of volunteers, it is impossible for any single person to understand the global impact of a local edit or to grasp the complex web of connections between different properties.
While previous research used First-Order Logic (FOL) to find rules, FOL is often too complex for the average editor to understand. This paper focuses on propositional Horn implications—simple rules like "If an item has a Nobel Prize ID, then it must also have an 'award received' statement." These are easier for humans to read and can be used to provide real-time "semantic assistance" during the editing process, flagging potential errors or missing information.
Methods
The authors employ Formal Concept Analysis (FCA), a mathematical framework that takes a "formal context" (a table of objects and their attributes) and produces a "canonical base" of implications.
The core challenge is that Wikidata’s data model is a "multi-attributed relational structure" (including qualifiers, ranks, and references) that doesn't fit into a simple FCA table. To bridge this gap, the authors propose four systematic "incidence" mappings:
- Plain Incidence: The simplest form—does entity $e$ have property $p$?
- Directed Incidence: Distinguishes whether an entity is the subject or the object of a property (e.g., "being a mother" vs. "having a mother").
- Qualified Incidence: Incorporates "qualifiers" (metadata like start/end dates) into the attributes.
- Classified Incidence: Includes the class of the object (e.g., distinguishing between a "mother" who is a "human" vs. a "Greek deity").
To handle the noise and scale of Wikidata, they also utilize Luxenburger bases for association rules (which allow for rules with less than 100% confidence) and PAC (Probably Approximately Correct) learning to approximate the rule base efficiently.
Datasets
The researchers extracted several domain-specific subsets from the October 2018 Wikidata dump:
- Awards: Properties related to prizes and honors (~429k items).
- Family: Human relationships (~307k items).
- Math: Mathematical identifiers and properties (~37k items).
- Space: Spacecraft-related data (~7.7k items).
- Time: Properties concerning duration and time (~216k items).
- wiki44k: A benchmark dataset from previous rule-mining research, updated to reflect modern Wikidata property deletions and replacements.
Key Insights and Ideas
- Rules as Error Detectors: The authors found that when a rule should be true but has a few counterexamples, those counterexamples are almost always data entry errors. For instance, a rule in the
awardsset identified a specific filmmaker who was missing a required "award received" statement. - Domain Specificity Matters: Rules found in the
mathorspacedomains (e.g., relating orbital periods to apoapsis) were highly accurate, whereas thetimedomain yielded no non-trivial rules, suggesting that temporal data in Wikidata is either too noisy or too varied for simple propositional logic. - Simplicity vs. Expressivity: By choosing Propositional Logic over First-Order Logic, the authors traded away some power (like the ability to reason about variables) in exchange for rules that are "arguably easier to grasp for untrained editors."
Key Results
- Feasibility: Computing the canonical base for small subdomains is computationally feasible, ranging from seconds (for
family) to five hours (for the largerwiki44ksets) on high-end hardware. - Rule Discovery: In the
spacedataset, 4% of the data supported the implication{type of orbit, periapsis} → {apoapsis}, a meaningful physical relationship. - High Confidence: Using Luxenburger bases, they found "almost-true" rules with 99.8% confidence, such as
{mother, father} → {child}. These are robust enough to be useful despite the inherent noise in a crowd-sourced dataset.
Limitations and Future Work
- Scalability: Computing a canonical base is coNP-complete. As the number of properties increases beyond 200, the process becomes computationally "impossible" on standard hardware.
- Sensitivity to Noise: Standard FCA is extremely sensitive; a single incorrect entry in Wikidata can invalidate a perfectly good rule. The authors suggest that PAC learning and association rules are necessary workarounds.
- Integration: The paper provides the theoretical and computational groundwork, but the next step is a practical study on integrating these rules into the actual Wikidata editing interface to see if they truly improve editor retention and data quality.
Summary updated