Question: Was the movie titled Aladdin published before 2010?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Aladdin" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Aladdin
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: publication date
function: VerifyYear
dependencies: 3
inputs: 2010
<