Question: Does the television series, with the episode production code 3X21, have a publication date before 2018 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <production_code> ?pv_1 . ?pv_1 <pred:value> "3X21" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2018 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: production code
3X21
function: FilterConcept
dependencies: 1
inputs: television series episode
function: QueryAttr
dependencies: 2
inputs: publication date
function: VerifyYear
dependencies: 3
inputs: 2018
<