query-9b97cf08f99fc368f99fe1a432ed0df4
. (Q88551)Georges-Arthur Goldschmidt With this first query I get only all items with a name exact "Arthur Goldschmidt". I need more a LIKE query with someone like
Use at
- https://query.wikidata.org/sparql
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#>
#defaultView:Table
SELECT ?item ?itemLabel ?itemDescription
# ?image ?date_of_birth
WHERE {
?item wdt:P31 wd:Q5 . # human
?item rdfs:label ?name .
# FILTER(REGEX(STR(?name), "Arthur Goldschmidt"))
FILTER (CONTAINS(?name, 'Arthur Goldschmidt')) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en". }
}
LIMIT 25
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?name")
c6(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal
f0[["contains(?name,'Arthur Goldschmidt')"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"rdfs:label"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end