query-4b8c5eb770e1542f44d54e01bb57634f
Les éléments humains ayant un sexe déduit du prénom
select distinct ?item ?itemLabel ?sexLabel
WHERE
{
?item wdt:P31 wd:Q5 .
?item p:P21 ?statement .
?statement ps:P21 ?sex.
?statement prov:wasDerivedFrom ?from.
?from pr:P3452 wd:Q202444.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO LANGUAGE],en". }
} order by ?itemLabel
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Les éléments humains ayant un sexe déduit du prénom
select distinct ?item ?itemLabel ?sexLabel
WHERE
{
?item wdt:P31 wd:Q5 .
?item p:P21 ?statement .
?statement ps:P21 ?sex.
?statement prov:wasDerivedFrom ?from.
?from pr:P3452 wd:Q202444.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO LANGUAGE],en". }
} order by ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?from")
v2("?item"):::projected
v1("?itemLabel"):::projected
v4("?sex")
v3("?statement")
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c11(["#91;AUTO LANGUAGE#93;,en"]):::literal
c7(["wd:Q202444"]):::iri
v2 --"p:direct/P31"--> c2
v2 --"p:P21"--> v3
v3 --"p:statement/P21"--> v4
v3 --"prov:wasDerivedFrom"--> v5
v5 --"p:reference/P3452"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end