Question: What is the connection between Independence Day (the one whose genre is disaster film) to Bill Pullman?
Choices:
cast member
follows
item operated
country for sport
opposite of
shares border with
owner of
material used
located on astronomical location
does not have part
Program:
function: Find
inputs: disaster film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Find
inputs: Bill Pullman
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Independence Day" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "disaster film" . ?e_2 <pred:name> "Bill Pullman" . ?e_1 ?p ?e_2 .  }
Answer: cast member