Question: The Offspring, with LeVar Burton as a cast member, is which episode number in the series Star Trek: The Next Generation, which precedes Star Trek: Deep Space Nine?
Choices:
14
68
64
38
114
3
12
5
29
90
Program:
function: Find
inputs: LeVar Burton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Offspring
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: Deep Space Nine
function: Relate
dependencies: 4
inputs: followed by
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
series ordinal
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Offspring" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "LeVar Burton" . ?e_2 <pred:name> "Star Trek: The Next Generation" . ?e_2 <followed_by> ?e_4 . ?e_4 <pred:name> "Star Trek: Deep Space Nine" . ?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 .  }
Answer: 64