query-13a6f606dd0a764629a97e356ff66fd5
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?category_titleBN WHERE
{
{
SELECT ?item ?category_titleBN WHERE
{
?item wdt:P31 wd:Q4167836.
?bn_category schema:about ?item ;
schema:isPartOf <https://bn.wikipedia.org/> ;
schema:name ?category_titleBN .
} } FILTER NOT EXISTS { ?en_category schema:about ?item;#
schema:isPartOf <https://en.wikipedia.org/>. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],bn,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?bn_category")
v4("?category_titleBN"):::projected
v1("?en_category")
v2("?item"):::projected
c3([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,bn,en"]):::literal
c6([https://bn.wikipedia.org/]):::iri
c5(["wd:Q4167836"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1("?en_category"):::projected
e0v2("?item"):::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
v2 --"wdt:P31"--> c5
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c6
v3 --"schema:name"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end