query-293914dd84ed633292e92056ec9a23aa
DBNL article on english or dutch wikipedia
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel ?dbnl ?_articleEN ?_articleNL where {
?item wdt:P723 ?dbnl. # DBNL id
OPTIONAL {
?_articleEN schema:about ?item.
?_articleNL schema:about ?item.
?_articleEN schema:isPartOf <https://en.wikipedia.org/>.
?_articleNL schema:isPartOf <https://nl.wikipedia.org/>.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,nl". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?_articleEN"):::projected
v4("?_articleNL"):::projected
v2("?dbnl"):::projected
v1("?item"):::projected
c9(["#91;AUTO_LANGUAGE#93;,en,nl"]):::literal
c4([https://en.wikipedia.org/]):::iri
c7(["bd:serviceParam"]):::iri
c5([https://nl.wikipedia.org/]):::iri
v1 --"wdt:P723"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."schema:about".-> v1
v4 --"schema:about"--> v1
v3 --"schema:isPartOf"--> c4
v4 --"schema:isPartOf"--> c5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end