Question: What is the connection between Airport (the one whose genre is disaster film) to Helen Hayes (the one whose date of birth is 1900-10-10)?
Choices:
interests
cast member
official religion
published in
next higher rank
depicts
candidate
operating system
member of political party
work location
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Airport" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "disaster film" . ?e_2 <pred:name> "Helen Hayes" . ?e_2 <date_of_birth> ?pv . ?pv <pred:date> "1900-10-10"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: disaster film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Airport
function: And
dependencies: 1
2
function: Find
inputs: Helen Hayes
function: FilterDate
dependencies: 4
inputs: date of birth
1900-10-10
=
function: QueryRelation
dependencies: 3
5