Question: What is the link between Harry Shum (who is a cast member of Glee: The 3D Concert Movie) and actor?
Choices:
located in or next to body of water
screenwriter
approved by
replaces
occupation
feast day
sidekick of
parent organization
official language
different from
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Shum" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Glee: The 3D Concert Movie" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Glee: The 3D Concert Movie
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Harry Shum
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4