Question: What is the series ordinal of Roger Bart in Hercules (the one whose narrator is Charlton Heston)?
Choices:
25
16
47
40
26
29
3
6
13
42
Answer: 3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <narrator> ?e_3 . ?e_3 <pred:name> "Charlton Heston" . ?e_2 <pred:name> "Roger Bart" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Charlton Heston
function: Relate
dependencies: 0
inputs: narrator
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Roger Bart
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
series ordinal