Question: How many basketball teams have an official website located at http://www.celtics.com/ or have a Twitter username of spurs?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.celtics.com/" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "spurs" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.celtics.com/
function: FilterConcept
dependencies: 1
inputs: basketball team
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
spurs
function: FilterConcept
dependencies: 4
inputs: basketball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6