Question: Does the television series, that is a part of Law & Order (the one that includes Law & Order: Special Victims Unit as a part) (the series ordinal of this statement is 2), have a number of episodes greater than 480?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Law & Order" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> "Law & Order: Special Victims Unit" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "2" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "480"^^xsd:double ) .  }
Program:
function: Find
inputs: Law & Order: Special Victims Unit
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Law & Order
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
forward
function: QFilterStr
dependencies: 4
inputs: series ordinal
2
function: FilterConcept
dependencies: 5
inputs: television series
function: QueryAttr
dependencies: 6
inputs: number of episodes
function: VerifyNum
dependencies: 7
inputs: 480
>