Question: The Siege, in English, is which number in the Star Trek: Deep Space Nine series?
Choices:
64
33
23
25
40
556
77
11
9
26
Answer: 23
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Siege" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Star Trek: Deep Space Nine" . ?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: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: The Siege
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: Deep Space Nine
function: QueryRelationQualifier
dependencies: 3
4
inputs: part of the series
series ordinal