Question: What mythological story is Clash of the Titans (shot in Malta) based on?
Choices:
Dynasty
Aaliyah
Albert Einstein
pediatrics
Greek mythology
Ellen Burstyn
astronomy
Japanese mythology
Wakefield
Waterloo
Answer: Greek mythology
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mythology" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Clash of the Titans" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "Malta" .   }
Program:
function: Find
inputs: Malta
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Clash of the Titans
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: mythology
function: What
dependencies: 5