query-df4902d810980627d4e57a038ecfbc79
articles i etiquetes diferents de coses de Barcelona ignorant majúscules i minúscules SELECT DISTINCT ?item ?article ?label ?titol WHERE { ?item wdt:P131 wd:Q1492. # coses de Barcelona (canvieu-ho aquí per altres temes) ?article schema:about ?item; schema:isPartOf https://ca.wikipedia.org/. ?article schema:name ?titol. ?item rdfs:label ?label. FILTER(LANG(?label) = "ca"). FILTER(UCASE(?label) != UCASE(?titol)). }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#articles i etiquetes diferents de coses de Barcelona ignorant majúscules i minúscules
SELECT DISTINCT ?item ?article ?label ?titol WHERE {
?item wdt:P131 wd:Q1492. # coses de Barcelona (canvieu-ho aquí per altres temes)
?article schema:about ?item;
schema:isPartOf <https://ca.wikipedia.org/>.
?article schema:name ?titol.
?item rdfs:label ?label.
FILTER(LANG(?label) = "ca").
FILTER(UCASE(?label) != UCASE(?titol)).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article"):::projected
v3("?item"):::projected
v1("?label"):::projected
v2("?titol"):::projected
c3(["wd:Q1492"]):::iri
c6([https://ca.wikipedia.org/]):::iri
f0[["upper-case(?label) != upper-case(?titol)"]]
f0 --> v1
f0 --> v2
f1[["?label = 'ca'"]]
f1 --> v1
v3 --"wdt:P131"--> c3
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c6
v4 --"schema:name"--> v2
v3 --"rdfs:label"--> v1