query-34c281920a9c2091a53c950cd727411d
Theklan
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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/>
#defaultView:ImageGrid
SELECT ?lemma ?sense (SAMPLE(?picture_) AS ?picture)
WHERE
{
?l a ontolex:LexicalEntry ; dct:language ?language ;
wikibase:lemma ?lemma ;
ontolex:sense ?esanahia.
?esanahia skos:definition ?sense;
wdt:P5137 ?q_concept.
?q_concept wdt:P18 ?picture_.
?language wdt:P218 'eu'.
FILTER (LANG(?sense) = 'eu')
}
GROUP BY ?lemma ?sense
ORDER BY lcase(?lemma) # order a-z
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?esanahia")
v3("?l")
v4("?language")
v1("?lemma"):::projected
v8("?picture")
v7("?picture_"):::projected
v6("?q_concept")
v2("?sense"):::projected
c1(["eu"]):::literal
c3(["ontolex:LexicalEntry"]):::iri
f0[["?sense = 'eu'"]]
f0 --> v2
v3 --"a"--> c3
v3 --"dct:language"--> v4
v3 --"wikibase:lemma"--> v1
v3 --"ontolex:sense"--> v5
v5 --"skos:definition"--> v2
v5 --"wdt:P5137"--> v6
v6 --"wdt:P18"--> v7
v4 --"wdt:P218"--> c1
bind2[/"sample(?picture_)"/]
v7 --o bind2
bind2 --as--o v8