Question: What is the number of liberal arts colleges with the location Kolkata or that has an Instagram username of carletoncollege
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e <location> ?e_1 . ?e_1 <pred:name> "Kolkata" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> "carletoncollege" .  } }
Program:
function: Find
inputs: Kolkata
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
carletoncollege
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6