query-3f24855946d543d787bb3beb6469e504
Lexeme as names, this is happening ★Trekker Balû Ruky Wunpini Dnshitobu Aluxosm Epìdosis Susanna Giaccai Envlh JhowieNitnek E4024 Skim The Sir of Data Analytics Luca favorido Data Gamer Da Dapper Don Laddo ZI Jony Bruno Biondi Deborahjay Klaas 'Z4us' van B. V Tris T7 Infovarius Aya Reyad Looniverse Dcflyer Moebeus BeatrixBelibaste MaksOttoVonStirlitz Sight Contamination Pmt PKM Jon Harald Søby Azertus Branthecan Place Clichy Joxemai Чаховіч Уладзіслаў Jura Hsarrazin Harmonia Amanda Dereckson Ash Crow participants of WikiProject Names Notified Trying to answer a question on Request a Query, I wrote a query about names that found lexemes :
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#>
select ?nameEntity ?name (lang(?name) as ?lang) {
?nameEntity wdt:P31/wdt:P279* wd:Q101352 .
optional {
?nameEntity (wdt:P1705|wikibase:lemma) ?name .
}
?nameEntity a ontolex:LexicalEntry . # check the lexeme namespace only
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?lang")
v2("?name"):::projected
v1("?nameEntity"):::projected
a1((" "))
c3(["wd:Q101352"]):::iri
c7(["ontolex:LexicalEntry"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 -."wikibase:lemma".-> v2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P1705"--> v2
end
union0r <== or ==> union0l
end
end
v1 --"a"--> c7
bind0[/"?name"/]
v2 --o bind0
bind0 --as--o v3