query-5479c307ee4f08e59e7bb5ff252f4c26
But when searching according to altLabel I get no results:
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 skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?s ?sLabel ?sAltLabel WHERE {
?s wdt:P19 wd:Q844930.
?s skos:altLabel ?sAltLabel.
FILTER(CONTAINS(?sAltLabel, "Bolatu"@en)).
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} limit 100
Query found at
- https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2017/07
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2017/07
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?s"):::projected
v1("?sAltLabel"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
c3(["wd:Q844930"]):::iri
f0[["contains(?sAltLabel,sBolatu^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>')"]]
f0 --> v1
v2 --"wdt:P19"--> c3
v2 --"skos:altLabel"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end