query-41ee8adb7b9055f61373df347baba036

rq turtle/ttl

Additional constraint), were cycles in the graph, or situation where an item is a parent of an ancestor. One way to look for such items is to find child items whose parent taxon has lower rank than the child item. I think the query below expresses that User:Hoo man where you are looking for items with lower taxa than some item. The issue is timeouts and the suspected culprit, proposed by ?item (wdt:P171)* wd:Q756 . this property can no longer be used in queries like this discussionAs stated in

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item  
{
    ?item  wdt:P171  ?pItem . # parent taxon
    ?item  wdt:P105  ?rank  . # child's rank
    ?pItem wdt:P105  ?pRank . # parent's rank
    ?pRank wdt:P361+ ?rank  . # parent's rank is lower than child's rank
}
limit 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?pItem") v4("?pRank") v3("?rank") v1 --"wdt:P171"--> v2 v1 --"wdt:P105"--> v3 v2 --"wdt:P105"--> v4 v4 --"wdt:P361"--> v3