Question: What television series episode is a component of Star Trek: The Next Generation that is a famous work of Ronald D. Moore (this statement's series ordinal is 97)?
Choices:
The Host
Tin Man
Evolution
P.S. I Love You
The Offspring
Savages
Precious
Genesis
Angel
Take Shelter
Answer: The Host
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Trek: The Next Generation" . ?e_2 <notable_work> ?e_1 . ?e_2 <pred:name> "Ronald D. Moore" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "97" .  }
Program:
function: Find
inputs: Ronald D. Moore
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
97
function: FilterConcept
dependencies: 5
inputs: television series episode
function: What
dependencies: 6