Question: What person's Twitter username is HilaryDuff (the subscription number of this statement is 5244061) and mass is not equal to 80 kilograms?
Choices:
Babyface
Sylvester Stallone
Paul Simon
Rahul Dev Burman
Richard Gere
David Byrne
Simon Cowell
Hilary Duff
William Henry Harrison
Max Fleischer
Answer: Hilary Duff
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv . ?pv <pred:value> "HilaryDuff" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "5244061"^^xsd:double . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "80"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
HilaryDuff
function: QFilterNum
dependencies: 1
inputs: number of subscribers
5244061
=
function: FilterConcept
dependencies: 2
inputs: human
function: FindAll
function: FilterNum
dependencies: 4
inputs: mass
80 kilogram
!=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7