Question: Which movie primarily depicts aviation and is titled Love Affair?
Choices:
Pleasantville
The Right Stuff
The Aviator
Talk to Her
Love Affair
Battle of Britain
Sky Captain and the World of Tomorrow
Dick Tracy
Rebecca
A Prairie Home Companion
Program:
function: Find
inputs: aviation
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Love Affair
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "aviation" .  ?e <title> ?pv . ?pv <pred:value> "Love Affair" .  }
Answer: Love Affair