query-503e8a75e379dff693815e8e92d6d433
Sider på norsk Wikipedia som mangler instance of (P31) eller subclass of (P279) på WikidataEn del av disse kan være duplikater og kan flettes, andre kan få tilføyd P31 utsagn.
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/>
SELECT ?item ?name ?article
WHERE {
?article schema:about ?item ;
schema:name ?name ;
schema:isPartOf <https://no.wikipedia.org/> .
# ?item wikibase:sitelinks 1 .
FILTER NOT EXISTS { ?item wdt:P31|wdt:P279 [] . }
}
#LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article"):::projected
v1("?item"):::projected
v3("?name"):::projected
a1((" "))
c6([https://no.wikipedia.org/]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
subgraph unione00[" Union "]
subgraph unione00l[" "]
style unione00l fill:#abf,stroke-dasharray: 3 3;
e0v1 --"wdt:P279"--> e0a1
end
subgraph unione00r[" "]
style unione00r fill:#abf,stroke-dasharray: 3 3;
e0v1 --"wdt:P31"--> e0a1
end
unione00r <== or ==> unione00l
end
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
f0 --> c2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P279"--> a1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> a1
end
union0r <== or ==> union0l
end
v2 --"schema:about"--> v1
v2 --"schema:name"--> v3
v2 --"schema:isPartOf"--> c6