Question: Twitter handle walshfreedom belongs to which person with more than 0 kids?
Choices:
Joe Walsh
Sylvester Stallone
Will Arnett
Richard Gere
Max Fleischer
Theodore Roosevelt
Mariah Carey
William Henry Harrison
Adam Levine
Peter Bogdanovich
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
0
>
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
walshfreedom
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "walshfreedom" .  }
Answer: Joe Walsh