query-28c79797d7c08069a5d5182f3f5cdeb1
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 distinct ?profession ?professionLabel where {
values ?pro {wd:Q28640 wd:Q12737077}
?profession wdt:P31 ?pro.
optional {?profession wdt:P2521 ?female_form_of_label. filter(lang(?female_form_of_label) = 'de')}
filter(!bound(?female_form_of_label)).
service wikibase:label {bd:serviceParam wikibase:language "de,[AUTO_LANGUAGE]".}
}
order by ?profession ?professionLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?female_form_of_label")
v4("?pro")
v1("?profession"):::projected
v2("?professionLabel"):::projected
c5(["bd:serviceParam"]):::iri
c7(["de,#91;AUTO_LANGUAGE#93;"]):::literal
f0[["not bound(?female_form_of_label)"]]
f0 --> v3
bind1[/VALUES ?pro/]
bind1-->v4
bind10(["wd:Q28640"])
bind10 --> bind1
bind11(["wd:Q12737077"])
bind11 --> bind1
v1 --"wdt:P31"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P2521".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end