Question: Michael Collins, scripted by Neil Jordan, has what connection to Julia Roberts?
Choices:
home port
material used
doctoral student
quotes work
facet of
cast member
parent astronomical body
licensed to broadcast to
medical treatment
child astronomical body
Program:
function: Find
inputs: Neil Jordan
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Michael Collins
function: And
dependencies: 1
2
function: Find
inputs: Julia Roberts
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Collins" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Neil Jordan" . ?e_2 <pred:name> "Julia Roberts" . ?e_1 ?p ?e_2 .  }
Answer: cast member