Question: Does the television series based on Stargate have more than 5 seasons?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Stargate" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5"^^xsd:double ) .  }
Program:
function: Find
inputs: Stargate
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: television series
function: QueryAttr
dependencies: 2
inputs: number of seasons
function: VerifyNum
dependencies: 3
inputs: 5
>
Answer: yes