query-1b4ac19c779c6d117967efb0d6325438

rq turtle/ttl

Položky s vícekrát vyplněnou totožnou hodnotou ID

Use at

PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
select distinct ?item ?value where {

  ?item p:P691 ?s1, ?s2 filter(?s1 != ?s2) .
  ?s1 ps:P691 ?value .
  ?s2 ps:P691 ?value .

}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?s1") v2("?s2") v4("?value"):::projected f0[["?s1 != ?s2"]] f0 --> v1 f0 --> v2 v3 --"p:P691"--> v1 v3 --"p:P691"--> v2 v1 --"p:statement/P691"--> v4 v2 --"p:statement/P691"--> v4