Question: Was someone with the Twitter handle crispinfreeman born earlier than 1988 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "crispinfreeman" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
crispinfreeman
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of birth
function: VerifyYear
dependencies: 3
inputs: 1988
<