Question: How many baseball teams have a Twitter username that is Rockies or whose official name is San Francisco Giants?
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> "baseball team" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "Rockies" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "San Francisco Giants" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
Rockies
function: FilterConcept
dependencies: 1
inputs: baseball team
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
San Francisco Giants
function: FilterConcept
dependencies: 4
inputs: baseball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6