query-5544d651b5ba401320d0d35168512bc7
Толковый словарь
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?l ?lemma ?myPartLabel ?sense ?lang ?senseLabel
WHERE {
?l a ontolex:LexicalEntry ;
dct:language wd:Q143 ;
wikibase:lexicalCategory ?myPart;
wikibase:lemma ?lemma;
ontolex:sense ?sense.
?sense skos:definition ?senseLabel.
# VALUES ?myPart { wd:Q1084 wd:Q24905 wd:Q34698 wd:Q380057 }
# FILTER (LANG(?sense)='ru').
BIND(LANG(?senseLabel) AS ?lang)
# FILTER (STR(?lemma) = ?word) .
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;
v1("?l"):::projected
v6("?lang"):::projected
v3("?lemma"):::projected
v2("?myPart")
v4("?sense"):::projected
v5("?senseLabel"):::projected
c10(["bd:serviceParam"]):::iri
c2(["ontolex:LexicalEntry"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q143"]):::iri
v1 --"a"--> c2
v1 --"dct:language"--> c4
v1 --"wikibase:lexicalCategory"--> v2
v1 --"wikibase:lemma"--> v3
v1 --"ontolex:sense"--> v4
v4 --"skos:definition"--> v5
bind0[/"?senseLabel"/]
v5 --o bind0
bind0 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end