Question: What is the relationship between Star Trek (the one that has Zachary Quinto as a cast member) and Spyglass Entertainment?
Choices:
office held by head of government
programming language
publisher
lifestyle
symptoms
official religion
main food source
production company
permanent resident of
parent club
Program:
function: Find
inputs: Zachary Quinto
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Spyglass Entertainment
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Zachary Quinto" . ?e_2 <pred:name> "Spyglass Entertainment" . ?e_1 ?p ?e_2 .  }
Answer: production company