query-1cbe35c44c2f51a08361d7cacb4ffa1f
Return a graph of all subclasses of integrated circuit
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#>
#defaultView:Graph
SELECT DISTINCT ?ic ?icLabel ?subclassOf WHERE {
?ic wdt:P279* wd:Q80831.
OPTIONAL { ?ic wdt:P279 ?subclassOf. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?icLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?ic"):::projected
v1("?icLabel"):::projected
v3("?subclassOf"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
c2(["wd:Q80831"]):::iri
v2 --"wdt:P279"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P279".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end