query-1e92f23662e4cc07740463b678288a12
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?multipleclass ?multipleclass_instance_of_val1 ?multipleclass_instance_of_val2 where {
?multipleclass wdt:P31 ?multipleclass_instance_of_val1, ?multipleclass_instance_of_val2
filter(?multipleclass_instance_of_val1 != ?multipleclass_instance_of_val2) . } limit 10
Query found at
- https://www.wikidata.org/wiki/Template:Multiple_values
- https://www.wikidata.org/wiki/Template:Multiple_values/doc
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?multipleclass"):::projected
v1("?multipleclass_instance_of_val1"):::projected
v2("?multipleclass_instance_of_val2"):::projected
f0[["?multipleclass_instance_of_val1 != ?multipleclass_instance_of_val2"]]
f0 --> v1
f0 --> v2
v3 --"wdt:P31"--> v1
v3 --"wdt:P31"--> v2