query-d18f90014f8dee1114b125d47abde2d0

rq turtle/ttl

title: Ophalen van het lemma van een woord in het Engels

auteur: So9q

25-07-2021

geïnspireerd door https://sinaahmadi.github.io/posts/10-essential-sparql-queries-for-lexicographical-data-on-wikidata.html

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

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
#title: Ophalen van het lemma van een woord in het Engels
# auteur: So9q
# 25-07-2021
# geïnspireerd door https://sinaahmadi.github.io/posts/10-essential-sparql-queries-for-lexicographical-data-on-wikidata.html
SELECT DISTINCT ?l ?word ?lemma WHERE {
  VALUES ?word { "bought"@en }
  ?l dct:language wd:Q1860 ;
     wikibase:lemma ?lemma ;
     ontolex:lexicalForm ?form .
  ?form ontolex:representation ?word .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?form") v2("?l"):::projected v3("?lemma"):::projected v1("?word"):::projected c2(["wd:Q1860"]):::iri bind0[/VALUES ?word/] bind0-->v1 bind00([sbought^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"]) bind00 --> bind0 v2 --"dct:language"--> c2 v2 --"wikibase:lemma"--> v3 v2 --"ontolex:lexicalForm"--> v4 v4 --"ontolex:representation"--> v1