query-4a0c0f644a76ff479f3a9afc34df7d9d
Items with P1 with string value containing "substring"
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT DISTINCT ?item ?v where {
?item wdt:P1 ?v.
FILTER (contains(?v, "substring"))
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?v"):::projected
f0[["contains(?v,'substring')"]]
f0 --> v1
v2 --"wdt:P1"--> v1