Question: What is the date of birth of the person who has the character role of John Carter in ER?
Choices:
1991-09-09
1971-01-01
1963-05-24
1977-07-30
1971-06-04
1950-02-13
1860-12-12
1957-03-09
1936-05-09
1946-07-02
Answer: 1971-06-04
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "ER" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "John Carter" . ?e <date_of_birth> ?pv .  }
Program:
function: Find
inputs: ER
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
John Carter
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth