Question: How is The X-Files starring Tony Shalhoub related to Howard Gordon?
Choices:
member of sports team
natural product of taxon
from fictional universe
contains settlement
software engine
professional or sports partner
contributor(s) to the creative work
executive producer
diplomatic relation
parent organization
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The X-Files" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Tony Shalhoub" . ?e_2 <pred:name> "Howard Gordon" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tony Shalhoub
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: Find
inputs: Howard Gordon
function: QueryRelation
dependencies: 3
4