SPARQL 查询,检测两个图中存在的三元组

问题描述 投票:0回答:1

我尝试编写一个 SPARQL 查询来检测两个给定图中(同一端点上)中存在的重复 RDF 三元组,但不知道该怎么做。

可行吗?如果可行,如何实现?

sparql rdf
1个回答
0
投票
SELECT DISTINCT * 
WHERE {
  GRAPH <https://example.com/named-graph-1/> { ?s ?p ?o . }
  GRAPH <https://example.com/named-graph-2/> { ?s ?p ?o . }
}
© www.soinside.com 2019 - 2024. All rights reserved.