Question: Does the 2000 winner of the BAFTA Award for Best Film Music have fewer than 20 kids?
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_1 <winner> ?e . ?e_1 <pred:name> "BAFTA Award for Best Film Music" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2000 . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "20"^^xsd:double ) .  }
Program:
function: Find
inputs: BAFTA Award for Best Film Music
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterYear
dependencies: 1
inputs: point in time
2000
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
function: VerifyNum
dependencies: 4
inputs: 20
<