query-6bbaf349dcf031dc2744dd0deb71f5e0

rq turtle/ttl

Release HistoryThere is no convention how to add release dates to a video game. Here, I'm trying to find out what approaches were used and which advantages and disadvantages are related to them. I use one game to illustrate these and add real examples below the table. A) platform (P400) with qualifieradd value add reference 0 references (Q458)European Union (Q30)United States of America (P291)place of publication 1 September 2015 (P577)publication date edit (Q48263)Xbox 360 add reference 0 references PlayStation 4 Limited Pack P??? (Q17)Japan (P291)place of publication 2 September 2015 (P577)publication date edit (Q5014725)PlayStation 4 add reference 0 references (Q458)European Union (Q30)United States of America (P291)place of publication 1 September 2015 (P577)publication date edit (Q5014725)PlayStation 4 (P400)platform etv (platform + publication date) (Q94460)Grand Theft Auto 2 Example:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?entity ?entityLabel ?platformItemLabel ?date ?placeLabel
WHERE {
  ?entity wdt:P31 wd:Q7889.
  ?entity p:P400 ?platform.
  ?platform ps:P400 ?platformItem.
  ?platform pq:P577 ?date. 
  OPTIONAL { ?platform pq:P291 ?place. }
  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; v4("?date"):::projected v1("?entity"):::projected v5("?place") v2("?platform") v3("?platformItem") c8(["bd:serviceParam"]):::iri c2(["wd:Q7889"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:direct/P31"--> c2 v1 --"p:P400"--> v2 v2 --"p:statement/P400"--> v3 v2 --"p:qualifier/P577"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:qualifier/P291".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end