query-2f2d2dc69ca1e2821ba3f794c09aee37
Lexemes
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q115325270>
SELECT
?lexeme ?lexemeLabel
(CONCAT("#lexeme/", SUBSTR(STR(?lexeme), 32)) AS ?lexemeUrl)
?lexical_category ?lexical_categoryLabel
(CONCAT("#lexicalcategory/", SUBSTR(STR(?lexical_category), 32)) AS ?lexical_categoryUrl)
?language ?languageLabel
(CONCAT("#language/", SUBSTR(STR(?language), 32)) AS ?languageUrl)
WHERE {
?lexeme wdt:P1343 target: ;
dct:language ?language ;
wikibase:lemma ?lexemeLabel ;
wikibase:lexicalCategory ?lexical_category .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?language"):::projected
v7("?languageUrl")
v1("?lexeme"):::projected
v3("?lexemeLabel"):::projected
v5("?lexemeUrl")
v4("?lexical_category"):::projected
v6("?lexical_categoryUrl")
c2([http://www.wikidata.org/entity/Q115325270]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P1343"--> c2
v1 --"dct:language"--> v2
v1 --"wikibase:lemma"--> v3
v1 --"wikibase:lexicalCategory"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind0[/"concat('#lexeme/',substring(str(?lexeme),'32^^xsd:integer'))"/]
v1 --o bind0
bind0 --as--o v5
bind1[/"concat('#lexicalcategory/',substring(str(?lexical_category),'32^^xsd:integer'))"/]
v4 --o bind1
bind1 --as--o v6
bind2[/"concat('#language/',substring(str(?language),'32^^xsd:integer'))"/]
v2 --o bind2
bind2 --as--o v7