Question: tell me the relationship between murder on the Orient Express (which has a publication date of 1934-01-01) and detective fiction.
Choices:
does not have part
genre
commander of
award received
designed by
nutrient
located in or next to body of water
permanent resident of
update method
spouse
Program:
function: Find
inputs: Murder on the Orient Express
function: FilterDate
dependencies: 0
inputs: publication date
1934-01-01
=
function: Find
inputs: detective fiction
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Murder on the Orient Express" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1934-01-01"^^xsd:date . ?e_2 <pred:name> "detective fiction" . ?e_1 ?p ?e_2 .  }
Answer: genre