Question: Does Adrian that originates in Italy have other than 35 seasons?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Adrian" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Italy" .  ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "35"^^xsd:double ) .  }
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Adrian
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: number of seasons
function: VerifyNum
dependencies: 4
inputs: 35
!=