query-3616b9454e39cf05c9d0dc909423a801
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?prop ?value (COUNT(DISTINCT(?stmt)) AS ?count) WHERE {
?item wdt:P921 wd:Q205764 .
?prop wikibase:claim ?p .
?prop wikibase:statementProperty ?ps .
?item ?p ?stmt .
?stmt ?ps ?value .
}
GROUP BY ?item ?prop ?value
HAVING (?count > 1)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v8("?count")
v2("?item"):::projected
v4("?p")
v3("?prop"):::projected
v5("?ps")
v6("?stmt"):::projected
v7("?value"):::projected
c3(["wd:Q205764"]):::iri
f0[["?count > '1^^xsd:integer'"]]
f0 --> v8
v2 --"wdt:P921"--> c3
v3 --"wikibase:claim"--> v4
v3 --"wikibase:statementProperty"--> v5
v2 -->v4--> v6
v6 -->v5--> v7
bind2[/"count(?stmt)"/]
v6 --o bind2
bind2 --as--o v8