Question: What is the connection between Hamilton (the one whose publication date is 1998-01-01) to film based on literature?
Choices:
genre
academic degree
exclave of
country of citizenship
creator
award disciplines or subjects
broadcast by
eye color
language used
set in period
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamilton" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1998-01-01"^^xsd:date . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hamilton
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 1
2