Question: Is the duration of TV series episodes that belongs to English language Star Trek: The Next Generation, series 49, equal to 45 minutes ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?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_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "49" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "45"^^xsd:double .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
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
49
function: FilterConcept
dependencies: 5
inputs: television series episode
function: QueryAttr
dependencies: 6
inputs: duration
function: VerifyNum
dependencies: 7
inputs: 45 minute
=