Question: How many businesses are the parent organization of Maxis or have the Twitter username of CelticFC?
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> "business" .  { ?e_1 <parent_organization> ?e . ?e_1 <pred:name> "Maxis" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "CelticFC" .  } }
Program:
function: Find
inputs: Maxis
function: Relate
dependencies: 0
inputs: parent organization
forward
function: FilterConcept
dependencies: 1
inputs: business
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
CelticFC
function: FilterConcept
dependencies: 4
inputs: business
function: Or
dependencies: 2
5
function: Count
dependencies: 6