Question: How many liberal arts colleges are in the USA or whose headquarter location is Colorado Springs?
Choices: 19
20
21
22
23
24
25
26
27
28
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Colorado Springs" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: Find
inputs: Colorado Springs
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 20