Question: What is the series ordinal for Robin Hood's (the one whose genre is buddy film) composer, Johnny Mercer (the one that received 28th Golden Globe Awards)?
Choices:
15
23
47
151
97
14
109
64
4
9
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robin Hood" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "buddy film" . ?e_2 <pred:name> "Johnny Mercer" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "28th Golden Globe Awards" . ?e_1 <composer> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <composer> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: buddy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 1
2
function: Find
inputs: 28th Golden Globe Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Johnny Mercer
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: composer
series ordinal