Question: How is King of the Hill, by creator Greg Daniels, related to the to comedy-drama genre?
Choices:
father
famous people
sports season of league or competition
copyright representative
parent astronomical body
office held by head of government
head of state
dissertation submitted to
manner of death
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "King of the Hill" . ?e_1 <creator> ?e_3 . ?e_3 <pred:name> "Greg Daniels" . ?e_2 <pred:name> "comedy-drama" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Greg Daniels
function: Relate
dependencies: 0
inputs: creator
backward
function: Find
inputs: King of the Hill
function: And
dependencies: 1
2
function: Find
inputs: comedy-drama
function: QueryRelation
dependencies: 3
4