Question: What is the connection between The Patriot (the one whose publication date is 1998-01-01) to film based on literature?
Choices: position held
founded by
member of political party
distributor
military casualty classification
kit supplier
genre
terminus
film regional debut venue
mascot
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?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: The Patriot
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 1
2
Answer: genre