query-41495021cc3619db8fc6c906cc00495a
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 ?subject ?subjectLabel ?classLabel ?fuLabel ?ddLabel ?pdLabel WHERE {
?subject wdt:P1434 ?fu . FILTER (?fu in (wd:Q1990792, wd:Q26996109, wd:Q26996116))
OPTIONAL { ?subject wdt:P2913 ?dd } .
OPTIONAL { ?subject wdt:P577 ?pd } .
?subject wdt:P31 ?class
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;
v5("?class")
v3("?dd")
v1("?fu")
v4("?pd")
v2("?subject"):::projected
c9(["bd:serviceParam"]):::iri
c11(["en"]):::literal
list0c1(["wd:Q1990792"]):::iri
list0c3(["wd:Q26996116"]):::iri
list0c2(["wd:Q26996109"]):::iri
list0c1 --o f0
list0c2 --o f0
list0c3 --o f0
f0[[" in "]]
f0 --> v1
v2 --"wdt:P1434"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2913".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P577".-> v4
end
v2 --"wdt:P31"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end