Question: What number in the series in Atlantic City (with Jason Segel) which is a part of How I Met Your Mother?
Choices:
16
114
43
44
68
36
41
64
8
30
Answer: 30
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Atlantic City" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jason Segel" . ?e_2 <pred:name> "How I Met Your Mother" . ?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: Jason Segel
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Atlantic City
function: And
dependencies: 1
2
function: Find
inputs: How I Met Your Mother
function: QueryRelationQualifier
dependencies: 3
4
inputs: part of the series
series ordinal