query-8e4f90bc10898a5e8a076303c250b5ee
Missing P577 is missing: (P577)publication date For a number of 9000+ items of video games
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
{
{
SELECT ?item (COUNT(?item) AS ?cnt) {
?item p:P31 [ ps:P31 wd:Q7889 ] .
?item p:P31 ?valueStatement .
MINUS { ?item p:P577 ?date . }
} GROUP BY ?item
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
FILTER(?cnt = 1)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?cnt")
v4("?date")
v2("?item"):::projected
v3("?valueStatement")
a1((" "))
c7(["bd:serviceParam"]):::iri
c3(["wd:Q7889"]):::iri
c9(["en"]):::literal
f0[["?cnt = '1^^xsd:integer'"]]
f0 --> v5
a1 --"p:statement/P31"--> c3
v2 --"p:P31"--> a1
v2 --"p:P31"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"p:P577"--> v4
end
bind3[/"count(?item)"/]
v2 --o bind3
bind3 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end