query-21af5406a13146cc551a994574272b16

rq turtle/ttl

Gemeinde mit dem Namen Reims

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select distinct ?item ?itemLabel ?itemDescription
where {
  ?item (wdt:P31/wdt:P279*) wd:Q484170.
  #?item wdt:P131/wdt:P279* wd:Q142.
  ?item rdfs:label ?name .
  FILTER(REGEX(STR(?name), "Reims")) 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
}
limit 5

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?name") a1((" ")) c7(["bd:serviceParam"]):::iri c4(["wd:Q484170"]):::iri c9(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal f0[["regex(str(?name),'Reims')"]] f0 --> v1 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v2 --"rdfs:label"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end