Question: How many colleges and universities in the United States have the official website http://www.umaine.edu/ or the postal code 89557?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "colleges and universities in the United States" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.umaine.edu/" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "89557" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.umaine.edu/
function: FilterConcept
dependencies: 1
inputs: colleges and universities in the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
89557
function: FilterConcept
dependencies: 4
inputs: colleges and universities in the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6