Question: How many politicians have the native label Speaker of the United States House of Representatives or have Hal Roach as a member?
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 <native_label> ?pv . ?pv <pred:value> "Speaker of the United States House of Representatives" .  } UNION { ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "Hal Roach" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Speaker of the United States House of Representatives
function: FilterConcept
dependencies: 1
inputs: politician
function: Find
inputs: Hal Roach
function: Relate
dependencies: 3
inputs: member of political party
forward
function: FilterConcept
dependencies: 4
inputs: politician
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1