Question: Was The Painted Veil (written by William Somerset Maugham) published before 2007?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "The Painted Veil" . ?e <author> ?e_1 . ?e_1 <pred:name> "William Somerset Maugham" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2007 ) .  }
Program:
function: Find
inputs: William Somerset Maugham
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: The Painted Veil
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 2007
<
Answer: yes