query-41a60d763b3084fe58c8e58cd78f9556

rq turtle/ttl

Five-letter words in English TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT ?lexeme ?word WHERE {
  ?lexeme a ontolex:LexicalEntry ; dct:language ?language ; ontolex:lexicalForm ?form .
  ?form ontolex:representation ?word .
  ?language wdt:P218 'en' .
  filter(strlen(?word)=5)
  filter(strstarts(ucase(?word),"F"))  
} order by ?word

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?form") v3("?language") v2("?lexeme"):::projected v1("?word"):::projected c4(["ontolex:LexicalEntry"]):::iri c9(["en"]):::literal f0[["starts-with(upper-case(?word),'F')"]] f0 --> v1 f1[["string-length(?word) = '5^^xsd:integer'"]] f1 --> v1 v2 --"a"--> c4 v2 --"dct:language"--> v3 v2 --"ontolex:lexicalForm"--> v4 v4 --"ontolex:representation"--> v1 v3 --"wdt:P218"--> c9