Task 3.6 Gender
From eneoli wikibase
Neology and Gender Equality
This page describes the collection of concepts and lexemes worked on in ENEOLI Task 3.6, "Neology and Gender Equality".
SPARQL Queries
All Gender concepts and linked lexical entries
#title: "Gender" concepts and linked lexical senses
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
PREFIX enp: <https://eneoli.wikibase.cloud/prop/>
PREFIX enps: <https://eneoli.wikibase.cloud/prop/statement/>
PREFIX enpq: <https://eneoli.wikibase.cloud/prop/qualifier/>
select distinct ?concept ?conceptLabel ?termposLabel ?wikidata ?equiv ?lang
(group_concat(?validator; SEPARATOR = ", ") as ?validated)
?lexeme_sense
where {
?concept endp:P82 enwb:Q51. # Concepts of the "gender" collection
?concept enp:P57 ?equiv_st. ?equiv_st enps:P57 ?equiv.
?equiv_st enpq:P64 [rdfs:label ?validator]. filter(lang(?validator)="en") # has been validated.
bind (lang(?equiv) as ?lang)
optional {?concept endp:P1 ?wd. bind (iri(concat(str(wd:),?wd)) as ?wikidata)}
optional {?concept endp:P92 ?termpos.}
optional {?lexical_entry endp:P82 enwb:Q51; wikibase:lemma ?lemma; ontolex:sense ?lexeme_sense. ?lexeme_sense endp:P12 ?concept.
filter(lang(?lemma) = ?lang)}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} group by ?concept ?conceptLabel ?termposLabel ?wikidata ?equiv ?lang ?validated ?lexeme_sense
order by lcase(?conceptLabel)
Coverage of languages (also unvalidated)
This query lists statistics of language coverage (concept labels and descriptions), taking into account all data, i.e. not only validated equivalents.
#title: "Gender" concepts: statistics of language coverage, labels and descriptions
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
select distinct ?concept ?conceptLabel ?termposLabel ?wikidata ?engDef
(count(distinct ?label) as ?labels)
(group_concat(distinct?label_lang;SEPARATOR=", ") as ?label_langs)
(count(distinct ?desc) as ?descs)
(group_concat(distinct?desc_lang;SEPARATOR=", ") as ?desc_langs)
where {
?concept endp:P82 enwb:Q51. # Concepts of the Task 3.6 "Gender" collection
?concept rdfs:label ?label; schema:description ?desc.
bind(lang(?label) as ?label_lang) bind(lang(?desc) as ?desc_lang)
optional {?concept endp:P1 ?wd. bind (iri(concat(str(wd:),?wd)) as ?wikidata)}
optional {?concept endp:P92 ?termpos.}
optional {?concept schema:description ?engDef. filter(lang(?engDef)="en")}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} group by ?concept ?conceptLabel ?termposLabel ?wikidata ?engDef ?labels ?label_langs ?descs ?desc_langs
order by lcase(?conceptLabel)