Question: For Reddit user, PresidentObama, how many legislative terms did he serve?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Reddit username
PresidentObama
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: part of
forward
function: FilterConcept
dependencies: 3
inputs: legislative term
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e_1 <part_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <Reddit_username> ?pv . ?pv <pred:value> "PresidentObama" .   }
Answer: 2