query-203a5a0cd739ff40e8087f03d031425d
fix problems like english alias "Å entjernej" of https://www.wikidata.org/w/index.php?title=Q1016812&oldid=963018947
currently always gets a timeout, TODO: Fix
SELECT DISTINCT ?item ?itemLabel ?itemLabelProblem ?lang WHERE { ?item rdfs:label ?itemLabelProblem . FILTER(CONTAINS(?itemLabelProblem, '&#')) . BIND (lang(?itemLabelProblem) as ?lang) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }LIMIT 100
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#fix problems like english alias "Šentjernej" of https://www.wikidata.org/w/index.php?title=Q1016812&oldid=963018947
# currently always gets a timeout, TODO: Fix
SELECT DISTINCT ?item ?itemLabel ?itemLabelProblem ?lang
WHERE
{
?item rdfs:label ?itemLabelProblem .
FILTER(CONTAINS(?itemLabelProblem, '&#')) .
BIND (lang(?itemLabelProblem) as ?lang)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabelProblem"):::projected
v3("?lang"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["contains(?itemLabelProblem,'&#')"]]
f0 --> v1
v2 --"rdfs:label"--> v1
bind1[/"?itemLabelProblem"/]
v1 --o bind1
bind1 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end