query-253b899bde71d6b8dc82fd4cf0678bbb
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item ?value
WHERE
{
{
SELECT DISTINCT ?item
WHERE
{
?item p:P106 [].
} LIMIT 10
}
?item p:P106 ?statement1.
?statement1 ps:P106 ?value.
?item p:P106 ?statement2.
?statement2 ps:P106 ?value.
FILTER(?statement1 != ?statement2)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?statement1")
v2("?statement2")
v4("?value"):::projected
a1((" "))
f0[["?statement1 != ?statement2"]]
f0 --> v1
f0 --> v2
v3 --"p:P106"--> a1
v3 --"p:P106"--> v1
v1 --"p:statement/P106"--> v4
v3 --"p:P106"--> v2
v2 --"p:statement/P106"--> v4