Question: How many liberal arts colleges whose official name is Carleton College or that is the employer of Peter Sarsgaard?
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> "liberal arts college" .  { ?e <official_name> ?pv . ?pv <pred:value> "Carleton College" .  } UNION { ?e_1 <employer> ?e . ?e_1 <pred:name> "Peter Sarsgaard" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Carleton College
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: Find
inputs: Peter Sarsgaard
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2