Question: What is the connection between Spy Kids (the one whose genre is children's film) to Tony Shalhoub?
Choices:
indigenous to
terminus
maintained by
cast member
field of work
official religion
does not have part
filmography
writing system
family
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Spy Kids" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "children's film" . ?e_2 <pred:name> "Tony Shalhoub" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: children's film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Spy Kids
function: And
dependencies: 1
2
function: Find
inputs: Tony Shalhoub
function: QueryRelation
dependencies: 3
4