query-863a48af906c44a35f6bcd2e189d18c9
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 DISTINCT ?item ?itemLabel WHERE {
?item wdt:P27 wd:Q28 .
FILTER NOT EXISTS { ?article schema:about ?item FILTER REGEX(STR(?article), ".wikipedia.org/wiki/") } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "hu,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v2("?item"):::projected
c4(["wd:Q28"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["hu,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["regex(str(?article),'.wikipedia.org/wiki/')"]]
e0f0 --> e0v1
e0v1 --"schema:about"--> e0v2
e0v1("?article"):::projected
e0v2("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c2
f0 --> v2
f1[["regex(str(?article),'.wikipedia.org/wiki/')"]]
f1 --> v1
v1 --"schema:about"--> v2
v2 --"wdt:P27"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end