query-0b95c70e0183962bc77b6e29d3c4408b
Media cartography Documented queries Gendered labels Gender diversity SPARQL Home
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 ?prenomLabel (COUNT (?item) as ?count) WHERE {
VALUES ?prenom {
wd:Q264002
wd:Q18180151
}
?item wdt:P735 ?prenom.
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
GROUP BY ?prenomLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v2("?item"):::projected
v1("?prenom")
c3(["bd:serviceParam"]):::iri
c5(["fr"]):::literal
bind0[/VALUES ?prenom/]
bind0-->v1
bind00(["wd:Q264002"])
bind00 --> bind0
bind01(["wd:Q18180151"])
bind01 --> bind0
v2 --"wdt:P735"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v3