Question: Ashley Tisdale was cast in which series number of teen film High School Musical ?
Choices: 7
41
151
21
129
51
90
23
22
3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "High School Musical" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "teen film" . ?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: teen film
function: Relate
dependencies: 0
inputs: genre
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
Answer: 3