Question: Which series number of  Star Trek: Deep Space Nine is Meridian (the one that has Colm Meaney as a cast member) a part of ?
Choices:
9
95
12
151
1
175
37
6
42
54
Answer: 54
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Meridian" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Colm Meaney" . ?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: Colm Meaney
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Meridian
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