query-2588ed6d1cc953cefb898f7d795e5e9b

rq turtle/ttl

: values (?mot ?rang) { (mot1 1) } ça se met dans la requête assez facilement, tu fais une liste avec "values": Une approche comme ça peut marcher, à compléter avec les lexèmes optionnels par exemple

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?sens ?rang ?sensLabelEn ?sensLabelFr {
  values (?sens ?rang) { 
    (wd:Q467 36)  #femme / woman
    (wd:Q7560 42) #mère / mother
    # …
  }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". ?sens rdfs:label ?sensLabelEn }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". ?sens rdfs:label ?sensLabelFr }                     
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?rang"):::projected v1("?sens"):::projected v3("?sensLabelEn"):::projected v4("?sensLabelFr"):::projected c2(["bd:serviceParam"]):::iri c4(["en"]):::literal c6(["fr"]):::literal bind0[/VALUES ?rang ?sens/] bind0-->v1 bind0-->v2 bind00(["wd:Q467"]) bind00 --> bind0 bind01(["36^^xsd:integer"]) bind01 --> bind0 bind02(["wd:Q7560"]) bind02 --> bind0 bind03(["42^^xsd:integer"]) bind03 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 v1 --"rdfs:label"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c6 v1 --"rdfs:label"--> v4 end