query-3f797fa1baaae1be3f083ed68af04bbd

rq turtle/ttl

(click on "try it!") (P31)instance of The previous example in context, items with several values for

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?multipleclass 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

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?multipleclass"):::projected v1("?multipleclass_instance_of_val1") v2("?multipleclass_instance_of_val2") f0[["?multipleclass_instance_of_val1 != ?multipleclass_instance_of_val2"]] f0 --> v1 f0 --> v2 v3 --"wdt:P31"--> v1 v3 --"wdt:P31"--> v2