query-06ff34a179e5bcc35a7d6d3677d51705
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
SELECT ?item ?lemma WHERE {
VALUES ?lemma {
"君が代"@ja
"国風文化"@ja
}
?sitelink_ja schema:about ?item;
schema:isPartOf <https://ja.wikipedia.org/>;
schema:name ?lemma.
FILTER(NOT EXISTS {
?sitelink_en schema:about ?item;
schema:isPartOf <https://en.wikipedia.org/>.
})
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?lemma"):::projected
v1("?sitelink_en")
v4("?sitelink_ja")
c3([https://en.wikipedia.org/]):::iri
c4([https://ja.wikipedia.org/]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v2("?item"):::projected
e0v1("?sitelink_en"):::projected
e0c3([https://en.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
bind1[/VALUES ?lemma/]
bind1-->v3
bind10([s君が代^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind10 --> bind1
bind11([s国風文化^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind11 --> bind1
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c4
v4 --"schema:name"--> v3