Question: How many politicians either have an official website of http://www.speaker.gov/ or jurisdiction over the United States House of Representatives?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "politician" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.speaker.gov/" .  } UNION { ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:name> "United States House of Representatives" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.speaker.gov/
function: FilterConcept
dependencies: 1
inputs: politician
function: Find
inputs: United States House of Representatives
function: Relate
dependencies: 3
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 4
inputs: politician
function: Or
dependencies: 2
5
function: Count
dependencies: 6