Question: How many basketball teams there are whose Twitter username is DukeMBB, or that are sponsored by United Airlines?
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> "basketball team" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "DukeMBB" .  } UNION { ?e <sponsor> ?e_1 . ?e_1 <pred:name> "United Airlines" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
DukeMBB
function: FilterConcept
dependencies: 1
inputs: basketball team
function: Find
inputs: United Airlines
function: Relate
dependencies: 3
inputs: sponsor
backward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6