Question: The New World, from the USA, has what connection to Christian Bale?
Choices:
source of material
cast member
mascot
used by
statistical leader
has edition
student
ancestral home
public holiday
head coach
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The New World
function: And
dependencies: 1
2
function: Find
inputs: Christian Bale
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The New World" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Christian Bale" . ?e_1 ?p ?e_2 .  }
Answer: cast member