query-b0ebd94ea6b2adf93ca450f789de85dc
TODO
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 ?wikinews {
?wikinews schema:about ?item; schema:isPartOf <https://en.wikinews.org/> .
FILTER NOT EXISTS { ?item wdt:P31 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY UCASE(STR(?itemLabel))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?wikinews"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
c4([https://en.wikinews.org/]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P31"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> a1
v2 --"wdt:P31"--> a1
v3 --"schema:about"--> v2
v3 --"schema:isPartOf"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end