Question: What person doesn't have 10 children and uses the Twitter username of MattBellamy?
Choices:
Max Fleischer
William Henry Harrison
Matthew Bellamy
Sylvester Stallone
Adele
Isaiah Washington
Richard Gere
Alyson Hannigan
Chris Cornell
Catherine Keener
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
MattBellamy
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of children
10
!=
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 <Twitter_username> ?pv . ?pv <pred:value> "MattBellamy" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "10"^^xsd:double ) .  }
Answer: Matthew Bellamy