Question: How is the Denmark-released American Pie connected to John Cho?
Choices:
author
approved by
place of death
cast member
follows
participant of
commander of
domain of saint or deity
executive producer
airline alliance
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Pie" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Denmark" . ?e_2 <pred:name> "John Cho" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Denmark
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: American Pie
function: And
dependencies: 1
2
function: Find
inputs: John Cho
function: QueryRelation
dependencies: 3
4