Question: Did the television series created by Peter Berg (the one that has the occupation of screenwriter) not end in 1898?
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" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Peter Berg" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "screenwriter" .  ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1898 ) .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Berg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: creator
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: end time
function: VerifyYear
dependencies: 6
inputs: 1898
!=