Question: Does the person whose Twitter username is RepAdamSmith (the subscription number of this statement is 27797), have a number of children that is less than 1.9 daughters?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "RepAdamSmith" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv_1 ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "27797"^^xsd:double . ?e <number_of_children> ?pv . ?pv <pred:unit> "daughter" . ?pv <pred:value> ?v . FILTER ( ?v < "1.9"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
RepAdamSmith
function: QFilterNum
dependencies: 1
inputs: number of subscribers
27797
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: number of children
function: VerifyNum
dependencies: 4
inputs: 1.9 daughter
<
Answer: no