Question: Does the human who is Burt Bacharach's spouse (the start time of this statement is 1982-01-01) have a Twitter username equal to CaroleBSager?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Burt Bacharach" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> "1982-01-01"^^xsd:date . ?e <Twitter_username> ?pv . ?pv <pred:value> "CaroleBSager" .  }
Program:
function: Find
inputs: Burt Bacharach
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: start time
1982-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: Twitter username
function: VerifyStr
dependencies: 4
inputs: CaroleBSager
Answer: yes