Question: How many liberal arts colleges employ James Baldwin or are represented online at www.bard.edu?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> "James Baldwin" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.bard.edu" .  } }
Program:
function: Find
inputs: James Baldwin
function: Relate
dependencies: 0
inputs: employer
forward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.bard.edu
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6