Question: How is the romance movie Heartbeats related to the dance movie genre?
Choices:
creator
genre
family name
airline hub
characters
contains administrative territorial entity
film crew member
nutrient
feast day
capital
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Heartbeats
function: And
dependencies: 1
2
function: Find
inputs: dance film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heartbeats" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romance film" . ?e_2 <pred:name> "dance film" . ?e_1 ?p ?e_2 .  }
Answer: genre