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