Question: Was the movie Aladdin published after 2007?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
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 > 2007 ) .  }
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: 2007
>