query-d695c070743f5675eb4bf8926cf96a1d
title: List of lexemes in French about occupation items with gender SELECT DISTINCT ?item ?itemLabel ?sense ?lexeme ?lemma ?genre ?genreLabel WHERE { ?lexeme rdf:type ontolex:LexicalEntry; dct:language wd:Q150; wikibase:lemma ?lemma; ontolex:sense ?sense; wdt:P5185 ?genre. ?sense wdt:P5137 ?item. ?item (wdt:P31/(wdt:P279*)) wd:Q12737077; rdfs:label ?itemLabel. FILTER((LANG(?itemLabel)) = "fr") ?genre rdfs:label ?genreLabel. FILTER((LANG(?genreLabel)) = "fr") } ORDER BY (?item) (?lemma) (?genre)
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
#title: List of lexemes in French about occupation items with gender
SELECT DISTINCT ?item ?itemLabel ?sense ?lexeme ?lemma ?genre ?genreLabel WHERE {
?lexeme rdf:type ontolex:LexicalEntry;
dct:language wd:Q150;
wikibase:lemma ?lemma;
ontolex:sense ?sense;
wdt:P5185 ?genre.
?sense wdt:P5137 ?item.
?item (wdt:P31/(wdt:P279*)) wd:Q12737077;
rdfs:label ?itemLabel.
FILTER((LANG(?itemLabel)) = "fr")
?genre rdfs:label ?genreLabel.
FILTER((LANG(?genreLabel)) = "fr")
}
ORDER BY (?item) (?lemma) (?genre)
Query found at
- https://www.wikidata.org/wiki/User:Ijon/Lexeme
- https://www.wikidata.org/wiki/User:PAC2/Gender_neutral_labels
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?genre"):::projected
v4("?genreLabel"):::projected
v1("?item"):::projected
v5("?itemLabel"):::projected
v2("?lemma"):::projected
v6("?lexeme"):::projected
v7("?sense"):::projected
a1((" "))
c3(["ontolex:LexicalEntry"]):::iri
c12(["wd:Q12737077"]):::iri
c5(["wd:Q150"]):::iri
f0[["?genreLabel = 'fr'"]]
f0 --> v4
f1[["?itemLabel = 'fr'"]]
f1 --> v5
v6 --"a"--> c3
v6 --"dct:language"--> c5
v6 --"wikibase:lemma"--> v2
v6 --"ontolex:sense"--> v7
v6 --"wdt:P5185"--> v3
v7 --"wdt:P5137"--> v1
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c12
v1 --"rdfs:label"--> v5
v3 --"rdfs:label"--> v4