what is the {platform} for {Doom} has {publication date} as {1996-0-0} ?
doom came out on what platform in 1996?
What platform was Doom released on in 1996?
SELECT ?m WHERE { FILTER ( CONTAINS ( YEAR ( ?c ) , '1996' ) ) . resource:Doom property:publication_date ?t . ?t property:platform ?m . ?t property:publication_date ?c }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q189784> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P577> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1996-0-0> .
?statement <http://www.wikidata.org/entity/P400> ?value. 
} 

SELECT ?value WHERE { wd:Q189784 p:P577 ?s . ?s ps:P577 ?x filter(contains(YEAR(?x),'1996')) . ?s pq:P400 ?value}