What is {follows} and {followed by} of {{Star Wars Episode VI: Return of the Jedi} has {series} as {Star Wars}}
What came before and after Star Wars Episode VI?
Mention the predecessor and the successor of Star Wars Episode VI: Return of the Jedi in Star Wars series
SELECT ?h ?o WHERE { ?y property:followed_by ?o . resource:Return_of_the_Jedi property:part_of_the_series ?y . ?y property:part_of_the_series resource:Star_Wars . ?y property:follows ?h }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q181803> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P179> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q22092344>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q181803 p:P179 ?s . ?s ps:P179 wd:Q22092344 . ?s pq:P155 ?value1 . ?s pq:P156 ?value2 }