query-9066f1876c73022822856b13ea2d30c4

rq turtle/ttl

Limit lexeme images to oneHello! Is it possible to limit the number of images to one?

Use at

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 distinct ?lemma ?sense ?picture WHERE {
   ?l a ontolex:LexicalEntry ; dct:language ?language ;
        wikibase:lemma ?lemma ;
        ontolex:sense ?esanahia;
        ontolex:sense/skos:definition ?sense.
  ?esanahia wdt:P5137 ?q_concept.
  ?q_concept wdt:P18 ?picture.
  ?language wdt:P218 'eu'.
}
order by lcase(?lemma) # order a-z

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?esanahia") v2("?l") v3("?language") v1("?lemma"):::projected v7("?picture"):::projected v6("?q_concept") v5("?sense"):::projected a1((" ")) c10(["eu"]):::literal c2(["ontolex:LexicalEntry"]):::iri v2 --"a"--> c2 v2 --"dct:language"--> v3 v2 --"wikibase:lemma"--> v1 v2 --"ontolex:sense"--> v4 v2 --"ontolex:sense"--> a1 a1 --"skos:definition"--> v5 v4 --"wdt:P5137"--> v6 v6 --"wdt:P18"--> v7 v3 --"wdt:P218"--> c10