Question: How many children does the person with Twitter username realDonaldTrump have?
Choices:
1 son
7
3 son
4
20
0
1
5
8
2
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
realDonaldTrump
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: number of children
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "realDonaldTrump" . ?e <number_of_children> ?pv .  }
Answer: 5