query-07a7227b5dcb2791562a592c5585a4e9

rq turtle/ttl

Theklan

Use at

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 ?lexeme ?lemma ?sense ?gloss WHERE {
  SERVICE bd:sample {
    ?lexeme dct:language wd:Q8752.
    bd:serviceParam bd:sample.limit 20 .
  }
  ?lexeme wikibase:lemma ?lemma.
  OPTIONAL {
    ?lexeme ontolex:sense ?sense.
    ?sense skos:definition ?gloss.
  }
}
ORDER BY ?lexeme ?lemma ?sense ?gloss

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?gloss"):::projected v2("?lemma"):::projected v1("?lexeme"):::projected v3("?sense"):::projected c3(["wd:Q8752"]):::iri c4(["bd:serviceParam"]):::iri c6(["20^^xsd:integer"]):::literal subgraph s1["http://www.bigdata.com/rdf#sample"] style s1 stroke-width:4px; v1 --"dct:language"--> c3 c4 --"bd:sample.limit"--> c6 end v1 --"wikibase:lemma"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."ontolex:sense".-> v3 v3 --"skos:definition"--> v4 end