query-03967efcce7cad956194f16d36f32370

rq turtle/ttl

by CamelCaseNick select ?stolperstein where { ?stolperstein wdt:P31 wd:Q26703203; wdt:P131+ wd:Q1055; wdt:P1684 ?inscription; rdfs:label ?de. filter(lang(?de) = "de") filter(contains(?inscription, "Dr.")) filter(!contains(?de, " Dr. ")) }

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#>
#by CamelCaseNick
select ?stolperstein where {
  ?stolperstein wdt:P31 wd:Q26703203;
                wdt:P131+ wd:Q1055;
                wdt:P1684 ?inscription;
                rdfs:label ?de.
  filter(lang(?de) = "de")
  filter(contains(?inscription, "Dr."))
  filter(!contains(?de, " Dr. "))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?de") v2("?inscription") v3("?stolperstein"):::projected c5(["wd:Q26703203"]):::iri c7(["wd:Q1055"]):::iri f0[["not contains(?de,' Dr. ')"]] f0 --> v1 f1[["contains(?inscription,'Dr.')"]] f1 --> v2 f2[["?de = 'de'"]] f2 --> v1 v3 --"wdt:P31"--> c5 v3 --"wdt:P131"--> c7 v3 --"wdt:P1684"--> v2 v3 --"rdfs:label"--> v1