Question: How many politicians are Vice President of the United States or have the native label Speaker of the United States House of Representatives?
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:name> "Vice President of the United States" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Speaker of the United States House of Representatives" .  } }
Program:
function: Find
inputs: Vice President of the United States
function: Relate
dependencies: 0
inputs: subject has role
forward
function: FilterConcept
dependencies: 1
inputs: politician
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Speaker of the United States House of Representatives
function: FilterConcept
dependencies: 4
inputs: politician
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2