Question: What is the title of a movie that follows Star Wars Episode V: The Empire Strikes Back (the one that origins from United Kingdom)?
Choices: Deep Impact
Top Gun
The Pirate Movie
The Cabin in the Woods
Savannah
Weeds
The Adventures of Priscilla, Queen of the Desert
Mrs Henderson Presents
Laura
Raiders of the Lost Ark
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
Answer: Raiders of the Lost Ark