query-1da1d853330f092e74a887fb851afe29
List of each pronoun defined in the base https://en.wikibooks.org/wiki/SPARQL/WIKIDATA_Lexicographical_dataSee (even if I am unclear on the whole lexeme stuff for now) (P6553)personal pronoun Return all pronouns, not just personal ones (cause they seems to not be tagged as such for now). Used to see what can be entered on
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?word ?lang ?languageLabel ?pronoun
WHERE {
?pronoun a ontolex:LexicalEntry;
wikibase:lemma ?word;
wikibase:lexicalCategory ?category .
# only keep pronouns (Q36224)
FILTER(?category = wd:Q36224) # pronoun
# ?lang is LANG(word)
BIND(LANG(?word) as ?lang)
# P424 => code de langue
?language wdt:P424 ?lang .
# Q34770 is "language", so ?language is a language, or a inherited class
?language wdt:P31/wdt:P279* wd:Q34770 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en,auto" }
}
ORDER BY ?language
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?category")
v5("?lang"):::projected
v1("?language")
v3("?pronoun"):::projected
v4("?word"):::projected
a1((" "))
c13(["fr,en,auto"]):::literal
c3(["ontolex:LexicalEntry"]):::iri
c9(["wd:Q34770"]):::iri
c11(["bd:serviceParam"]):::iri
f0[["?category = 'wd:Q36224'"]]
f0 --> v2
v3 --"a"--> c3
v3 --"wikibase:lemma"--> v4
v3 --"wikibase:lexicalCategory"--> v2
bind1[/"?word"/]
v4 --o bind1
bind1 --as--o v5
v1 --"wdt:P424"--> v5
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end