Question: Was the person that composed From Here to Eternity, which was nominated for an Academy Award for Best Actor, born before 1937?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "From Here to Eternity" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Actor" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1937 ) .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: From Here to Eternity
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of birth
function: VerifyYear
dependencies: 6
inputs: 1937
<