query-51e9754bb329bc63296e792f72107638
: (Q191067)article (P279)subclass of (P31)instance of that does NOT have (Q127992)Association for Computing Machinery of (P123)publisher Items with 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 ?itemDescription ?instanceOf ?instanceOfLabel {
# P123: publisher
# Q127992: Association for Computing Machinery
?item wdt:P123 wd:Q127992.
MINUS { ?item wdt:P31/wdt:P279* wd:Q191067. }
OPTIONAL { ?item wdt:P31 ?instanceOf }
SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?instanceOf"):::projected
v1("?item"):::projected
a1((" "))
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
c5(["wd:Q191067"]):::iri
c2(["wd:Q127992"]):::iri
v1 --"wdt:P123"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P31".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end