Question: Does the person who received a Primetime Emmy Award for Outstanding Lead Actor in a Drama Series involving the award-winning work Magnum, P.I. have fewer than 10 children?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Lead Actor in a Drama Series" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Magnum, P.I." . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "10"^^xsd:double ) .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Lead Actor in a Drama Series
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: for work
Magnum, P.I.
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
function: VerifyNum
dependencies: 4
inputs: 10
<
Answer: yes