Question: how is the film batman that has Vicent Price as a cast member related to Burgess Meredith
Choices:
designed to carry
cast member
health specialty
partner
connects with
legislative body
depicted by
headquarters location
child
official language
Program:
function: Find
inputs: Vincent Price
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Burgess Meredith
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Vincent Price" . ?e_2 <pred:name> "Burgess Meredith" . ?e_1 ?p ?e_2 .  }
Answer: cast member