Question: How many politicians hold the office of the vice president or use the Instagram handle vp?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "politician" . ?e_1 <subject_has_role> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "vice president" . ?e_1 <Instagram_username> ?pv . ?pv <pred:value> "vp" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
vp
function: FilterConcept
dependencies: 1
inputs: vice president
function: Relate
dependencies: 2
inputs: subject has role
forward
function: FilterConcept
dependencies: 3
inputs: politician
function: Count
dependencies: 4
Answer: 1