Question: How many US liberal arts colleges are at zip code 13323 or had Cary Elwes as a student?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" .  { ?e <postal_code> ?pv . ?pv <pred:value> "13323" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Cary Elwes" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
13323
function: FilterConcept
dependencies: 1
inputs: liberal arts college in the United States
function: Find
inputs: Cary Elwes
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2