Question: What is the relationship between The Hunchback of Notre Dame (the one that has Robert Wise as a film editor) and Thomas Mitchell (the one whose date of birth is 1892-07-11)?
Choices:
commander of
soundtrack album
sexual orientation
cast member
airline hub
participant
participant of
spouse
source of material
chairperson
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hunchback of Notre Dame" . ?e_1 <film_editor> ?e_3 . ?e_3 <pred:name> "Robert Wise" . ?e_2 <pred:name> "Thomas Mitchell" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1892-07-11"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Wise
function: Relate
dependencies: 0
inputs: film editor
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 1
2
function: Find
inputs: Thomas Mitchell
function: FilterDate
dependencies: 4
inputs: date of birth
1892-07-11
=
function: QueryRelation
dependencies: 3
5