Question: What is the connection between High School Musical (the one whose genre is musical) to Vanessa Hudgens?
Choices:
military rank
given name
cast member
programming paradigm
published in
health specialty
history of topic
replaced by
characters
notable work
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "High School Musical" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "musical" . ?e_2 <pred:name> "Vanessa Hudgens" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: musical
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: High School Musical
function: And
dependencies: 1
2
function: Find
inputs: Vanessa Hudgens
function: QueryRelation
dependencies: 3
4