Query Wikidata via SPARQL to get specific word etymology from Wiktionary

56 views Asked by At

I'm trying to get the specific word etymology from Wikidata.

For example, this query to get the word "exact" in Wikidata but I wasn't able to get the etymology part for this word.

SELECT DISTINCT ?l ?word ?lemma WHERE {
  VALUES ?word {'exact'@en} 
  ?l a ontolex:LexicalEntry ; 
     dct:language wd:Q1860 ; 
     wikibase:lemma ?lemma ; 
     ontolex:lexicalForm ?form .
  ?form ontolex:representation ?word .
}

I'm new to SPARQL but I appreicate any help to even extract the other attributes such as audio.

0

There are 0 answers