Question: What is the connection between Casino Royale (the one whose publication date is 1967-07-26) to John Wells (the one that is a cast member of Greystoke: The Legend of Tarzan, Lord of the Apes)?
Choices:
genre
follows
interested in
famous people
worshipped by
make-up artist
fabrication method
characters
child
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Casino Royale" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1967-07-26"^^xsd:date . ?e_2 <pred:name> "John Wells" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Greystoke: The Legend of Tarzan, Lord of the Apes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Casino Royale
function: FilterDate
dependencies: 0
inputs: publication date
1967-07-26
=
function: Find
inputs: Greystoke: The Legend of Tarzan, Lord of the Apes
function: Relate
dependencies: 2
inputs: cast member
forward
function: Find
inputs: John Wells
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5