Question: How many liberal arts colleges in the US either have the Twitter username of davidsoncollege or were the educational place of John Cage?
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 in the United States" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "davidsoncollege" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "John Cage" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
davidsoncollege
function: FilterConcept
dependencies: 1
inputs: liberal arts college in the United States
function: Find
inputs: John Cage
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