Question: Was the person who is the main subject of Michael Collins (the one that has Charles Dance as a cast member) born before 1973?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Michael Collins" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Charles Dance" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1973 ) .  }
Program:
function: Find
inputs: Charles Dance
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of birth
function: VerifyYear
dependencies: 6
inputs: 1973
<
Answer: yes