query-07ef3c7931640eab62e01ec9720b7931

rq turtle/ttl

PropertiesUCI code of cycling team (P1998)part of (P361)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item WHERE {
?item wdt:P1998 ?obj1 
Minus {
?item wdt:P361 ?obj2 
}
Minus {
?article schema:about ?item. 
?article schema:inLanguage "en". 
FILTER (SUBSTR(str(?article), 1, 25) = "https://en.wikipedia.org/")
}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?article") v1("?item"):::projected v2("?obj1") v3("?obj2") c8(["en"]):::literal v1 --"wdt:P1998"--> v2 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P361"--> v3 end subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; f2[["substring(str(?article),'1^^xsd:integer','25^^xsd:integer') = 'https://en.wikipedia.org/'"]] f2 --> v4 v4 --"schema:about"--> v1 v4 --"schema:inLanguage"--> c8 end