query-a56a5d29cc80877bc45d374bdc887d41

rq turtle/ttl

Items which have labels with "/doc" SELECT ?item (GROUP_CONCAT(distinct(?itemLabel); separator=", ") as ?itemLabels) WHERE { ?item wdt:P31 wd:Q11266439 ; rdfs:label ?itemLabel . FILTER(strEnds(?itemLabel, "/doc")) . } GROUP BY ?item

LIMIT 50

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#Items which have labels with "/doc"
SELECT ?item 
    (GROUP_CONCAT(distinct(?itemLabel); separator=", ") as ?itemLabels)
WHERE
{
  ?item wdt:P31 wd:Q11266439 ;
        rdfs:label ?itemLabel .
  FILTER(strEnds(?itemLabel, "/doc")) .
}
GROUP BY ?item
#LIMIT 50

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemLabel"):::projected v3("?itemLabels") c3(["wd:Q11266439"]):::iri f0[["ends-with(?itemLabel,'/doc')"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"rdfs:label"--> v1 bind2[/"?itemLabel"/] v1 --o bind2 bind2 --as--o v3