Question: Tin Man, released on 1990-04-21, is which number in the series Star Trek: The Next Generation, with Gene Roddenberry as executive producer?
Choices:
19
175
68
11
35
26
34
51
22
77
Answer: 68
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tin Man" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1990-04-21"^^xsd:date . ?e_2 <pred:name> "Star Trek: The Next Generation" . ?e_2 <executive_producer> ?e_3 . ?e_3 <pred:name> "Gene Roddenberry" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Tin Man
function: FilterDate
dependencies: 0
inputs: publication date
1990-04-21
=
function: Find
inputs: Gene Roddenberry
function: Relate
dependencies: 2
inputs: executive producer
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: part of the series
series ordinal