Question: How is Pink Panther, with Robert Wagner among cast members, associated with a heist film ?
Choices: collection
genre
medical condition
located in time zone
designed by
writing system
followed by
owner of
newspaper format
office held by head of state
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Pink Panther" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Robert Wagner" . ?e_2 <pred:name> "heist film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Wagner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Pink Panther
function: And
dependencies: 1
2
function: Find
inputs: heist film
function: QueryRelation
dependencies: 3
4
Answer: genre