query-6bfcc48f022a184472d53dc6b138149d

rq turtle/ttl

Lexemes in English that match an expression SELECT ?lexemeId ?lemma WHERE { ?lexemeId dct:language wd:Q1860; wikibase:lemma ?lemma. # only those lemmas that begin with "pota", i.e. "potato" FILTER (regex(?lemma, '^pota.*')) }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX dct: <http://purl.org/dc/terms/>
# Lexemes in English that match an expression
SELECT ?lexemeId ?lemma WHERE {
  ?lexemeId dct:language wd:Q1860;
            wikibase:lemma ?lemma.
  # only those lemmas that begin with "pota", i.e. "potato"
  FILTER (regex(?lemma, '^pota.*'))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?lemma"):::projected v2("?lexemeId"):::projected c3(["wd:Q1860"]):::iri f0[["regex(?lemma,'^pota.*')"]] f0 --> v1 v2 --"dct:language"--> c3 v2 --"wikibase:lemma"--> v1