Question: How many liberal arts colleges are in Sri Lanka or that are registered with the Internal Revenue Service?
Choices: 14
15
16
17
18
19
20
21
22
23
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> "Sri Lanka" .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  } }
Program:
function: Find
inputs: Sri Lanka
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 3
inputs: registered with
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 15