Question: What life period is the main subject of On Golden Pond (the one that was nominated for Academy Award for Best Actress), which is also a risk factor for meningitis ?
Choices:
old age
modern pentathlon
Brian Keith
adolescence
Weeds
Maurice LaMarche
David Tennant
Rush Hour
Jordan
Oxford
Answer: old age
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "phase of life" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "On Golden Pond" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Actress" .  ?e <risk_factor> ?e_3 . ?e_3 <pred:name> "meningitis" .  }
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: On Golden Pond
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: phase of life
function: Find
inputs: meningitis
function: Relate
dependencies: 6
inputs: risk factor
backward
function: FilterConcept
dependencies: 7
inputs: phase of life
function: And
dependencies: 5
8
function: What
dependencies: 9