What is {publication date} of {Sonic the Hedgehog} that is {platform} is {Sega Mega Drive} ?
The release date of Sonic the Hedgehog for Sega Mega Drive
What is { Publication Date } of { Sonic Hedgehog } which is { Platform } is { Sega Mega Drive }?
SELECT ?m WHERE { ?z property:publication_date ?m . ?z property:platform resource:Sega_Mega_Drive . resource:Sonic_the_Hedgehog property:publication_date ?z }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37123> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P400> <http://wikidata.dbpedia.org/resource/Q10676>
} 

SELECT ?obj WHERE { wd:Q37123 p:P577 ?s . ?s ps:P577 ?obj . ?s pq:P400 wd:Q10676 }