Question: What is the series ordinal of Six Feet Under (the one that has Ray Romano as a cast member), which is a part of Everybody Loves Raymond?
Choices: 1
44
53
90
7
12
33
39
119
2
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Six Feet Under" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ray Romano" . ?e_2 <pred:name> "Everybody Loves Raymond" . ?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: Ray Romano
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 1
2
function: Find
inputs: Everybody Loves Raymond
function: QueryRelationQualifier
dependencies: 3
4
inputs: part of the series
series ordinal
Answer: 44