query-d9b8ef6cd27ce2db44750fe0e32d8a3e
08:08, 23 August 2020 (UTC)) talk (Memoriav-bdcThanks for your help! --
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel (GROUP_CONCAT(DISTINCT str(?acronym);separator=" <td> ") as ?acronyms)
WHERE
{
?item wdt:P1343 wd:Q96192978.
?item wdt:P1813 ?acronym.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr,de,it". }
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?acronym"):::projected
v4("?acronyms")
v2("?item"):::projected
v1("?itemLabel"):::projected
c7(["#91;AUTO_LANGUAGE#93;,en,fr,de,it"]):::literal
c2(["wd:Q96192978"]):::iri
c5(["bd:serviceParam"]):::iri
v2 --"wdt:P1343"--> c2
v2 --"wdt:P1813"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"str(?acronym)"/]
v3 --o bind1
bind1 --as--o v4