Question: Which person is a citizen of India (the one whose life expectancy is 63.368 year) and has a Twitter username of aamir_khan (the subscription number of this statement is 23290072)?
Choices:
William Henry Harrison
Babyface
Sylvester Stallone
Rahul Dev Burman
Richard Gere
Paul Simon
Aamir Khan
David Byrne
James E. Reilly
Simon Cowell
Answer: Aamir Khan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "India" . ?e_1 <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "63.368"^^xsd:double .  ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "aamir_khan" . [ <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> "23290072"^^xsd:double .  }
Program:
function: Find
inputs: India
function: FilterNum
dependencies: 0
inputs: life expectancy
63.368 year
=
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 2
inputs: human
function: FindAll
function: FilterStr
dependencies: 4
inputs: Twitter username
aamir_khan
function: QFilterNum
dependencies: 5
inputs: number of subscribers
23290072
=
function: FilterConcept
dependencies: 6
inputs: human
function: And
dependencies: 3
7
function: What
dependencies: 8