Question: Was Bewitched (the one whose color is black-and-white) published before 2004?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Bewitched" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2004 ) .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Bewitched
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2004
<