query-d30d45d58d4aecb6d00d2cf01c55b436
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 ?personne ?personneLabel ?employeur ?employeurLabel WHERE {
?personne wdt:P31 wd:Q5 .
?personne wdt:P108/wdt:P131* wd:Q16 .
?personne wdt:P101 wd:Q9418 .
OPTIONAL { ?personne wdt:P108 ?employeur }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?employeur"):::projected
v1("?personne"):::projected
a1((" "))
c5(["wd:Q16"]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c11(["fr,en"]):::literal
c7(["wd:Q9418"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P108"--> a1
a1 --"wdt:P131"--> c5
v1 --"wdt:P101"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P108".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end