Question: What is the series ordinal of High School Musical (whose production company is Disney Channel) that has Ashley Tisdale as a cast member?
Choices:
13
171
7
1
64
19
3
31
77
43
Answer: 3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "High School Musical" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Disney Channel" . ?e_2 <pred:name> "Ashley Tisdale" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Disney Channel
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: High School Musical
function: And
dependencies: 1
2
function: Find
inputs: Ashley Tisdale
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
series ordinal