Question: The famous Jules Verne work From the Earth to the Moon is what number in the series Voyages Extraordinaires?
Choices:
41
119
90
95
8
49
15
4
10
21
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "From the Earth to the Moon" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Jules Verne" . ?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: Jules Verne
function: Relate
dependencies: 0
inputs: notable work
forward
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