Question: How many basketball teams have the Twitter username of okcthunder or have drafted Lamar Odom?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "okcthunder" .  } UNION { ?e_1 <drafted_by> ?e . ?e_1 <pred:name> "Lamar Odom" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
okcthunder
function: FilterConcept
dependencies: 1
inputs: basketball team
function: Find
inputs: Lamar Odom
function: Relate
dependencies: 3
inputs: drafted by
forward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2