Question: What is the series ordinal of Final Destination 5 which is a part of Final Destination with the duration of 363 minute
Choices:
46
18
68
19
27
38
74
6
5
32
Answer: 5
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Final Destination 5" . ?e_2 <pred:name> "Final Destination" . ?e_2 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "363"^^xsd:double . ?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: Final Destination 5
function: Find
inputs: Final Destination
function: FilterNum
dependencies: 1
inputs: duration
363 minute
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: part of the series
series ordinal