query-866995e23a70dc93262f6b996c23c018

rq turtle/ttl

TODO

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#>
SELECT DISTINCT ?videogame ?videogameLabel ?earliest_release_date
{
  ?videogame wdt:P31/wdt:P279* wd:Q7889. # videogames
  ?videogame wdt:P577 ?earliest_release_date.
  FILTER NOT EXISTS
  {
    ?videogame wdt:P577 ?release_date.
    FILTER (?release_date < ?earliest_release_date)
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?earliest_release_date"):::projected v1("?release_date") v3("?videogame"):::projected a1((" ")) c6(["bd:serviceParam"]):::iri c4(["wd:Q7889"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?release_date < ?earliest_release_date"]] e0f0 --> e0v1 e0f0 --> e0v2 e0v3 --"wdt:P577"--> e0v1 e0v2("?earliest_release_date"):::projected e0v1("?release_date"):::projected e0v3("?videogame"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> v3 f0 --> c1 f1[["?release_date < ?earliest_release_date"]] f1 --> v1 f1 --> v2 v3 --"wdt:P577"--> v1 v3 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v3 --"wdt:P577"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end