Question: Is the work period (start) of the human that was the spouse of Ryan Adams (who is famous for drum kit) until 2014 outside of 1977?
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 <spouse> ?e_1 . ?e_1 <pred:name> "Ryan Adams" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "drum kit" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:year> 2014 . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1977 ) .  }
Program:
function: Find
inputs: drum kit
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Ryan Adams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: spouse
backward
function: QFilterYear
dependencies: 4
inputs: end time
2014
=
function: FilterConcept
dependencies: 5
inputs: human
function: QueryAttr
dependencies: 6
inputs: work period (start)
function: VerifyYear
dependencies: 7
inputs: 1977
!=