Question: What is the connection between Around the World in 80 Days (the one that has Pierce Brosnan as a cast member) to film based on literature?
Choices: heritage designation
original network
killed by
manner of death
manufacturer
takes place in fictional universe
genre
territory overlaps
material used
health specialty
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> "Pierce Brosnan" . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pierce Brosnan
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