query-4e08772515d624ed2c9e28ae959db590
Empty items
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?x ?xLabel ?xDescription ?dateModified WHERE {
# Dexbot tries to process empty items after about 72 hours, so look for cases it missed.
BIND(NOW() + "-P7D"^^xsd:duration AS ?end) # Untouched in a week
?x
wikibase:statements "0"^^xsd:integer ;
wikibase:sitelinks "0"^^xsd:integer ;
wikibase:identifiers "0"^^xsd:integer ;
schema:dateModified ?dateModified .
FILTER(?dateModified < ?end)
FILTER NOT EXISTS { ?y ?p ?x . ?prop wikibase:directClaim ?p . }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
} ORDER BY DESC(?dateModified) LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dateModified"):::projected
v7("?end")
v3("?p")
v5("?prop")
v4("?x"):::projected
v2("?y")
c3(["0^^xsd:integer"]):::literal
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 -->e0v2--> e0v3
e0v4 --"wikibase:directClaim"--> e0v2
e0v2("?p"):::projected
e0v4("?prop"):::projected
e0v3("?x"):::projected
e0v1("?y"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> v3
f0 --> v4
f0 --> v5
f0 --> c1
v2 -->v3--> v4
v5 --"wikibase:directClaim"--> v3
f1[["?dateModified < ?end"]]
f1 --> v1
f1 --> v7
bind2[/"NOW() + '-P7D^^xsd:duration'"/]
bind2 --as--o v7
v4 --"wikibase:statements"--> c3
v4 --"wikibase:sitelinks"--> c3
v4 --"wikibase:identifiers"--> c3
v4 --"schema:dateModified"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end