Question: What is the relationship between The Devil Wears Prada (the one whose ISBN-10 is 84-01-37869-9) to novel?
Choices: located on terrain feature
sexual orientation
contributing factor of
genre
geographic distribution
composer
academic degree
medical treatment
seed team
set in period
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Devil Wears Prada" . ?e_1 <ISBN-10> ?pv . ?pv <pred:value> "84-01-37869-9" . ?e_2 <pred:name> "novel" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Devil Wears Prada
function: FilterStr
dependencies: 0
inputs: ISBN-10
84-01-37869-9
function: Find
inputs: novel
function: QueryRelation
dependencies: 1
2
Answer: genre