query-5a7728106f7eff4bdabba7811a2b70dc
Article title and label 00:19, 9 December 2017 (UTC)) talk (Xaris333 and the English Wikipedia article has different title from the English label. Is that possible? (Q6979593)national association football team --> (P31)instance of Hello. I need a query that finds items with
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#>
SELECT ?item ?label ?name ?sitelink WHERE {
?item wdt:P31 wd:Q6979593 .
?item rdfs:label ?label .
FILTER(LANG(?label) = 'en') .
?sitelink schema:about ?item; schema:isPartOf <https://en.wikipedia.org/>; schema:name ?name .
FILTER(?label != ?name) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v1("?label"):::projected
v2("?name"):::projected
v4("?sitelink"):::projected
c7([https://en.wikipedia.org/]):::iri
c3(["wd:Q6979593"]):::iri
f0[["?label != ?name"]]
f0 --> v1
f0 --> v2
f1[["?label = 'en'"]]
f1 --> v1
v3 --"wdt:P31"--> c3
v3 --"rdfs:label"--> v1
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c7
v4 --"schema:name"--> v2