Question: Which movie originating in South Korea was filmed in Thailand?
Choices: A Prairie Home Companion
The Host
Rambo
My Name Is Khan
Baraka
A Better Tomorrow
Mortal Kombat: Annihilation
The Good, the Bad, the Weird
Beastie Boys
Rebecca
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Thailand" .  ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "South Korea" .  }
Program:
function: Find
inputs: Thailand
function: Relate
dependencies: 0
inputs: filming location
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: South Korea
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: A Better Tomorrow