Question: What is the connection between The Count of Monte Cristo (the one whose publication date is 1954-01-01) to film based on literature?
Choices:
legislative body
professorship
fabrication method
has part
capital
approved by
genre
uses
occupant
health specialty
Program:
function: Find
inputs: The Count of Monte Cristo
function: FilterDate
dependencies: 0
inputs: publication date
1954-01-01
=
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Count of Monte Cristo" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1954-01-01"^^xsd:date . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Answer: genre