Question: What is the connection between Around the World in 80 Days (the one that has Robert Wagner as a cast member) to film based on literature?
Choices: organizer
fabrication method
official language
has contributing factor
genre
winner
medical treatment
said to be the same as
substitute/deputy/replacement of office/officeholder
diaspora
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Around the World in 80 Days" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Robert Wagner" . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Wagner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 3
4
Answer: genre