Question: Was the member of Raith Rovers F.C. (the number of games played of this statement is 2) born before 1997?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Raith Rovers F.C." .  [ <pred:fact_h> ?e ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "2"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1997 ) .  }
Program:
function: Find
inputs: Raith Rovers F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: QFilterNum
dependencies: 1
inputs: number of matches played/races/starts
2
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1997
<
Answer: yes