Question: What is the character role of Ashley Tisdale in High School Musical (the one that uses the language English)?
Choices:
Nick Fury
Nate Fisher
Che Guevara
Sharpay Evans
Maid Marian
Don Draper
Rita Skeeter
Lucy McClane
Don
Dominic Toretto
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
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
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "High School Musical" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?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 ] <character_role> ?qpv .  }
Answer: Sharpay Evans