query-954c9201a644d3bfb925d4b5f9dc17ca

rq turtle/ttl

Language labels per columnHello, where am I wrong in that writing, in order to have alsatian in one column, and french in other column ?

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:ImageGrid
SELECT ?item ?_image ?plaque_fr ?plaque_als WHERE {
  ?item wdt:P912 wd:Q104123038;
        wdt:P131 wd:Q6602; 
        wdt:P1766 ?_image;
        wdt:P1448 ?plaque.
 bind(?plaque as ?plaque_fr) 
 #filter (lang(?plaque_fr) = "fr"). 
 bind(?plaque as ?plaque_als) 
#filter (lang(?plaque_als) = "gsw-fr").
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?_image"):::projected v1("?item"):::projected v3("?plaque") v5("?plaque_als"):::projected v4("?plaque_fr"):::projected c2(["wd:Q104123038"]):::iri c4(["wd:Q6602"]):::iri v1 --"wdt:P912"--> c2 v1 --"wdt:P131"--> c4 v1 --"wdt:P1766"--> v2 v1 --"wdt:P1448"--> v3 bind0[/"?plaque"/] v3 --o bind0 bind0 --as--o v4 bind1[/"?plaque"/] v3 --o bind1 bind1 --as--o v5