query-c38d6635bc6bb4bb126254e2c2212e46

rq turtle/ttl

How to use property/item path queries in WikidataI am trying to search for a solution that can connect two given items together like this. The number of properties and items in the between can define by the number of hops.

Use at

SELECT ?p
WHERE { :startNode ?p_1 :Node_1. (...) :Node_n ?p_n :endNode.}

Query found at