Question: Does the television series, whose producer is Christopher Lloyd (the one whose date of birth is 1960-06-18), have a greater than 0 number of seasons?
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" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Christopher Lloyd" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1960-06-18"^^xsd:date . ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: Find
inputs: Christopher Lloyd
function: FilterDate
dependencies: 0
inputs: date of birth
1960-06-18
=
function: Relate
dependencies: 1
inputs: producer
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: number of seasons
function: VerifyNum
dependencies: 4
inputs: 0
>