Question: Was The Last Emperor, of the official website www.thelastemp.com, born prior to 1939 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "The Last Emperor" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.thelastemp.com" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  }
Program:
function: Find
inputs: The Last Emperor
function: FilterStr
dependencies: 0
inputs: official website
http://www.thelastemp.com
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1939
<