query-16eaebbe69fe33194f90dfdf8804a972
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel
WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "Charles E Griswold".
?item wikibase:apiOutputItem mwapi:title .
}
?item wdt:P2093 ?string .
filter(regex(".*charles e griswold.*",lcase(?string)))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?string")
c7(["www.wikidata.org"]):::literal
c9(["Charles E Griswold"]):::literal
c3(["bd:serviceParam"]):::iri
c5(["Search"]):::literal
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c11(["mwapi:title"]):::iri
f0[["regex('.*charles e griswold.*',lower-case(?string))"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:api"--> c5
c3 --"mwapi:endpoint"--> c7
c3 --"mwapi:srsearch"--> c9
v2 --"mwapi:apiOutputItem"--> c11
end
v2 --"wdt:P2093"--> v1
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"mwapi:language"--> c15
end