query-b20eb7c3719b8aefcef270a0ae6ab056
title:articles on English Wikipedia with "Korea" in title not on Korean Wikipedia SELECT DISTINCT ?item ?enarticle ?koarticle WHERE { ?article schema:about ?item ; schema:isPartOf https://en.wikipedia.org/ ; schema:name ?enarticle . FILTER(CONTAINS(?enarticle,"Korea") && !STRSTARTS(?enarticle,"Category:") && !STRSTARTS(?enarticle,"Template:")) OPTIONAL { ?koarticle schema:about ?item; schema:isPartOf https://ko.wikipedia.org/ } FILTER(!BOUND(?koarticle)) } LIMIT 500
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
#title:articles on English Wikipedia with "Korea" in title not on Korean Wikipedia
SELECT DISTINCT ?item ?enarticle ?koarticle
WHERE {
?article schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> ;
schema:name ?enarticle .
FILTER(CONTAINS(?enarticle,"Korea") && !STRSTARTS(?enarticle,"Category:") && !STRSTARTS(?enarticle,"Template:"))
OPTIONAL { ?koarticle schema:about ?item; schema:isPartOf <https://ko.wikipedia.org/> }
FILTER(!BOUND(?koarticle))
}
LIMIT 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article")
v2("?enarticle"):::projected
v4("?item"):::projected
v1("?koarticle"):::projected
c6([https://en.wikipedia.org/]):::iri
c8([https://ko.wikipedia.org/]):::iri
f0[["not bound(?koarticle)"]]
f0 --> v1
f1[["contains(?enarticle,'Korea')not starts-with(?enarticle,'Category:')not starts-with(?enarticle,'Template:')"]]
f1 --> v2
v3 --"schema:about"--> v4
v3 --"schema:isPartOf"--> c6
v3 --"schema:name"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."schema:about".-> v4
v1 --"schema:isPartOf"--> c8
end