query-19c22456c2e6c3875e1549eca612fd71
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 ?Itau ?Itau_URL WHERE
{
?item wdt:P4399 ?Itau.
?item wdt:P21 wd:Q6581072 .
FILTER NOT EXISTS {?article schema:about ?item ;
schema:isPartOf <https://de.wikipedia.org/> .}
BIND(IRI(CONCAT("https://enciclopedia.itaucultural.org.br/",?Itau)) as ?Itau_URL)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?Itau"):::projected
v4("?Itau_URL"):::projected
v1("?article")
v2("?item"):::projected
c3([https://de.wikipedia.org/]):::iri
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal
c6(["wd:Q6581072"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1("?article"):::projected
e0v2("?item"):::projected
e0c3([https://de.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:P4399"--> v3
v2 --"wdt:P21"--> c6
bind1[/"concat('https://enciclopedia.itaucultural.org.br/',?Itau)"/]
v3 --o bind1
bind1 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end