query-cab1388b03488c884057b85962ee9c18
French articles with non binary people + pronouns
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?itemLabel ?link ?item ?pronomDisplay
WHERE
{
?item wdt:P31 wd:Q5 .
?item wdt:P21 wd:Q48270 .
OPTIONAL { ?item wdt:P6553 ?pronom .
?pronom wikibase:lemma ?pronomDisplay
}
# ?link is about ?item
?link schema:about ?item .
# ?link is in french
?link schema:inLanguage "fr"
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
}
ORDER BY ?pronomDisplay
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v4("?link"):::projected
v3("?pronom")
v1("?pronomDisplay"):::projected
c9(["fr"]):::literal
c13(["en,fr"]):::literal
c11(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c4(["wd:Q48270"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P21"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P6553".-> v3
v3 --"wikibase:lemma"--> v1
end
v4 --"schema:about"--> v2
v4 --"schema:inLanguage"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end