Question: Was the movie titled The Lives of a Bengal Lancer published after 2007?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Lives of a Bengal Lancer" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2007 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Lives of a Bengal Lancer
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: QueryAttr
dependencies: 2
inputs: publication date
function: VerifyYear
dependencies: 3
inputs: 2007
>