Question: Does the person that won the National Society of Film Critics Award for Best Supporting Actor for the movie Mean Streets have less than 15 children?
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> "National Society of Film Critics Award for Best Supporting Actor" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <for_work> ?qpv . ?qpv <pred:value> "Mean Streets" . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "15"^^xsd:double ) .  }
Program:
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actor
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterStr
dependencies: 1
inputs: for work
Mean Streets
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
function: VerifyNum
dependencies: 4
inputs: 15
<