query-7a5e7837380a6c29fe430fa381201275

rq turtle/ttl

Description in a given language 14:32, 18 September 2019 (UTC)) talk (Geogast (pt). --(Q5146)Portuguese at the top of an item. How do I do that? If you need an example query: P31:Q55488 and P131:Q174 and description in description between label and aliasI am looking for quite a simple query that shows me the description of items – I mean the : GeogastHi @Simple way:

Use at

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 ?itemDescription
WHERE
{
  ?item wdt:P31 wd:Q55488; wdt:P131 wd:Q174 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "pt-br,pt,[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected c6(["bd:serviceParam"]):::iri c8(["pt-br,pt,#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q174"]):::iri c2(["wd:Q55488"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P131"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end