query-5b212f50d40c8908144a0cd2523823be
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?occupation ?englishlabel ?otherlanglabel ?otherlangmale ?otherlangfemale {
VALUES ?occupation { wd:Q201788 wd:Q639669 wd:Q774306 wd:Q600751 wd:Q186360 wd:Q13219587 wd:Q1196129 }
?occupation rdfs:label ?englishlabel . FILTER(lang(?englishlabel)='en')
OPTIONAL { ?occupation rdfs:label ?otherlanglabel . FILTER(lang(?otherlanglabel)='fr') }
OPTIONAL { ?occupation wdt:P2521 ?otherlangfemale . FILTER(lang(?otherlangfemale)='fr') }
OPTIONAL { ?occupation wdt:P3321 ?otherlangmale . FILTER(lang(?otherlangmale)='fr') }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?englishlabel"):::projected
v5("?occupation"):::projected
v2("?otherlangfemale"):::projected
v4("?otherlanglabel"):::projected
v1("?otherlangmale"):::projected
f0[["?englishlabel = 'en'"]]
f0 --> v3
bind1[/VALUES ?occupation/]
bind1-->v5
bind10(["wd:Q201788"])
bind10 --> bind1
bind11(["wd:Q639669"])
bind11 --> bind1
bind12(["wd:Q774306"])
bind12 --> bind1
bind13(["wd:Q600751"])
bind13 --> bind1
bind14(["wd:Q186360"])
bind14 --> bind1
bind15(["wd:Q13219587"])
bind15 --> bind1
bind16(["wd:Q1196129"])
bind16 --> bind1
v5 --"rdfs:label"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."rdfs:label".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P2521".-> v2
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P3321".-> v1
end