Question: What is the relationship between The Commitments (the one whose genre is novel) to novel?
Choices:
present in work
screenwriter
rector
parent club
student
located in the administrative territorial entity
genre
separated from
award disciplines or subjects
manner of death
Program:
function: Find
inputs: novel
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Commitments
function: And
dependencies: 1
2
function: Find
inputs: novel
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Commitments" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "novel" . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Answer: genre