Question: From the Earth to the Moon is which episode number in the series Voyages Extraordinaires?
Choices:
21
24
2
171
14
3
5
7
1
4
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "From the Earth to the Moon" . ?e_1 <part_of_the_series> ?e_3 . ?e_3 <pred:name> "Voyages Extraordinaires" . ?e_2 <pred:name> "Voyages Extraordinaires" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Voyages Extraordinaires
function: Relate
dependencies: 0
inputs: part of the series
backward
function: Find
inputs: From the Earth to the Moon
function: And
dependencies: 1
2
function: Find
inputs: Voyages Extraordinaires
function: QueryRelationQualifier
dependencies: 3
4
inputs: part of the series
series ordinal