Question: How is 3rd Rock from Sun related to science fiction, its genre?
Choices: location of formation
film regional debut venue
partner
sport
sports season of league or competition
narrative role
has contributing factor
producer
signatory
genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "3rd Rock from the Sun" . ?e_2 <pred:name> "science fiction" . ?e_3 <genre> ?e_2 . ?e_3 <pred:name> "3rd Rock from the Sun" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 3rd Rock from the Sun
function: Find
inputs: 3rd Rock from the Sun
function: Relate
dependencies: 1
inputs: genre
forward
function: Find
inputs: science fiction
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: genre