Question: What is the connection between The Singing Detective (the one that has Michael Gambon as a cast member) to thriller?
Choices:
medical condition
takes place in fictional universe
genre
family name
donated by
country
vehicle normally used
is a list of
official residence
art director
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Singing Detective" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Michael Gambon" . ?e_2 <pred:name> "thriller" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Gambon
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Singing Detective
function: And
dependencies: 1
2
function: Find
inputs: thriller
function: QueryRelation
dependencies: 3
4