Question: What is the connection between Bedtime Stories (the one that has Adam Sandler as a cast member) to United States of America?
Choices:
student
child astronomical body
next lower rank
edition or translation of
country of origin
godparent
family name
diaspora
followed by
operator
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bedtime Stories" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Adam Sandler" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Adam Sandler
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Bedtime Stories
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4