query-cb9d18413ac9b55f6b19a213a18529a4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel {
?item wdt:P108 ?university .
filter not exists {
?item ?wdt [] .
?wdt ^wikibase:directClaim/wdt:P31/wdt:P279* wd:Q18614948
}
service wikibase:label {bd:serviceParam wikibase:language "en,ru"}
} values (?university) {(wd:Q1506552) (wd:Q1851014)}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?university")
v3("?wdt")
a1((" "))
a2((" "))
a3((" "))
c4(["wd:Q18614948"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["en,ru"]):::literal
bind0[/VALUES ?university/]
bind0-->v1
bind00(["wd:Q1506552"])
bind00 --> bind0
bind01(["wd:Q1851014"])
bind01 --> bind0
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 -->e0v2--> e0a1
e0a2 --"wikibase:directClaim"--> e0v2
e0a2 --"wdt:P31"--> e0a3
e0a3 --"wdt:P279"--> e0c4
e0v1("?item"):::projected
e0v2("?wdt"):::projected
e0a1((" ")):::projected
e0a2((" ")):::projected
e0a3((" ")):::projected
e0c4(["wd:Q18614948"]):::iri
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> v3
f1 --> a1
f1 --> a2
f1 --> c1
f1 --> c2
f1 --> a3
f1 --> c3
f1 --> c4
v2 -->v3--> a1
a2 --"wikibase:directClaim"--> v3
a2 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c4
v2 --"wdt:P108"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end