Question: Which Missoula native has 228416 subscribers to his Twitter handle danacarvey?
Choices:
David Byrne
Sylvester Stallone
Paul Simon
Rahul Dev Burman
Dana Carvey
William Henry Harrison
Babyface
James E. Reilly
Richard Gere
Simon Cowell
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
danacarvey
function: QFilterNum
dependencies: 1
inputs: number of subscribers
228416
=
function: FilterConcept
dependencies: 2
inputs: human
function: Find
inputs: Missoula
function: Relate
dependencies: 4
inputs: place of birth
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv . ?pv <pred:value> "danacarvey" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "228416"^^xsd:double . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Missoula" .  }
Answer: Dana Carvey