Question: Was a person, who was member of Blackpool F.C. until 1st Jan 2006, born in a year different from 1957 ??
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 <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Blackpool F.C." .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "2006-01-01"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1957 ) .  }
Program:
function: Find
inputs: Blackpool F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterDate
dependencies: 1
inputs: end time
2006-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1957
!=