面向 RDF 知识图谱的形状感知三方合并:以 schema 定义冲突的实现与评估
Shape-Aware Three-Way Merge for RDF Knowledge Graphs: The schema defines the conflict: an implementation and evaluation
AI 导读
一篇 arXiv 论文描述并评估了一种三方合并方法:用 SHACL 形状定义 RDF 知识图谱合并中的冲突,无基数约束的谓词取并集,有争议的槽位交由人工裁决。在五个合成种子上,该算子检出 33 个冲突且全为真阳性,无三元组丢失或伪造;相比 Context Merge 重实现的逐槽位基线检出同样 33 个冲突但需 845 次提问。
正文 · 原文
Abstract:Merging RDF serializations creates ordering conflicts and misses semantic ones. We describe and evaluate a three-way merge in which the schema defines a conflict: set algebra combines canonical triples, and a slot is contended only where a SHACL shape bounds its cardinality and both sides' changes cannot stand within that bound. Unbounded predicates union; contended slots go to a person. The same shapes graph validates the result. We do not claim the first three-way merge for RDF. Our contribution is an implementation in a production multi-agent store and an evaluation against a reimplementation of Quit Store's Context Merge overlap rule, which it extends rather than replaces, and six other strategies. Across five synthetic seeds, the shape-aware operator raised 33 conflicts, all true positives as judged by the same shapes that define them, with no triples lost or fabricated and no SHACL violations admitted. The context-overlap baseline, counted per slot, detected the same 33 conflicts but asked 845 questions. A replay built from recorded production incidents covers 105 human alias repairs (93 after excluding 12 chained pairs) and 939 duplicate-value incidents. It reproduces a triple-level limit: different names for one entity remain invisible (0 of 93 alias repairs detected, matching 0 of 21 synthetic cases). In a study of evolving shape contracts, merging shape declarations first handles the tested cardinality changes, while datatype evolution exposes a detector blind spot caught by post-merge validation. An oracle that reads no shapes agrees with the shipped operator on the facts and history of all 23 reachable single-slot cases. Under wrong shapes, a missing bound loses data silently and a spurious one only adds questions. The supported claim is fewer human decisions with nothing silently lost, for cardinality conflicts in one deployment, not general merge correctness.
| Comments: | 19 pages. Artifact, benchmark and replay corpus at this https URL ; every table names the command that regenerates it |
| Subjects: | Databases (cs.DB); Artificial Intelligence (cs.AI); Software Engineering (cs.SE) |
| Cite as: | arXiv:2611.34870 [cs.DB] |
| (or arXiv:2611.34870v1 [cs.DB] for this version) | |
| https://doi.org/10.48550/arXiv.2611.34870 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Stephen Brown [view email]
[v1]
Wed, 25 Nov 2026 18:34:46 UTC (28 KB)
来源:arXiv cs.AI · arxiv.org