Question: What visual artwork, within a superpower genre, is the main subject of Star Trek, produced by Spyglass Entertainment production company ?
Choices:
Six Degrees of Separation
Rebecca
Back to the Future Part II
Pleasantville
Training Day
Talk to Her
Timeline
The Fifth Element
Niagara Falls
A Prairie Home Companion
Answer: Timeline
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <genre> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "superpower" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> "Star Trek" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> "Spyglass Entertainment" .   }
Program:
function: Find
inputs: Spyglass Entertainment
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: superpower
function: Relate
dependencies: 5
inputs: genre
backward
function: FilterConcept
dependencies: 6
inputs: visual artwork
function: What
dependencies: 7