query-90c0139436eb2f2d2ac597e3a478f874

rq turtle/ttl

Article items, reviews with license, lacking main subject, ordered by date SELECT ?item ?itemLabel ?date WHERE {?item wdt:P31 wd:Q7318358; wdt:P577 ?date; wdt:P275 [ ].

        MINUS{?item wdt:P921 [ ]}
     SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   }

ORDER BY DESC(?date)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Article items, reviews with license, lacking main subject, ordered by date
SELECT ?item ?itemLabel ?date
   WHERE {?item wdt:P31 wd:Q7318358;
            wdt:P577 ?date;
            wdt:P275 [ ].

            MINUS{?item wdt:P921 [ ]}
         SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
       }

ORDER BY DESC(?date)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?date"):::projected v2("?item"):::projected a1((" ")) a2((" ")) c7(["bd:serviceParam"]):::iri c2(["wd:Q7318358"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P31"--> c2 v2 --"wdt:P577"--> v1 v2 --"wdt:P275"--> a1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P921"--> a2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end