Question: How many episodes are there for The X-Files (whose executive producer is Howard Gordon)?
Choices:
246
161
139
1225
124
397
514
284
218
22
Answer: 218
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "The X-Files" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Howard Gordon" .  ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Howard Gordon
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: The X-Files
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of episodes