Question: What is the connection between The Transformers to science fiction (the one that is the genre of Red Dwarf)?
Choices:
notable people with this condition
sponsor
theme music
contributor(s) to the creative work
geography of topic
seed team
genre
sexual orientation
territory claimed by
practiced by
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Transformers" . ?e_2 <pred:name> "science fiction" . ?e_3 <genre> ?e_2 . ?e_3 <pred:name> "Red Dwarf" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Transformers
function: Find
inputs: Red Dwarf
function: Relate
dependencies: 1
inputs: genre
forward
function: Find
inputs: science fiction
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4