Question: Does the television series based on Ben 10 (the one whose start time is 2005-12-27), have a number of 15 seasons?
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 <based_on> ?e_1 . ?e_1 <pred:name> "Ben 10" . ?e_1 <start_time> ?pv_1 . ?pv_1 <pred:date> "2005-12-27"^^xsd:date . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "15"^^xsd:double .  }
Program:
function: Find
inputs: Ben 10
function: FilterDate
dependencies: 0
inputs: start time
2005-12-27
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: number of seasons
function: VerifyNum
dependencies: 4
inputs: 15
=