Question: How many basketball teams include a member of the Portland Trail Blazers?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Portland Trail Blazers" .   }
Program:
function: Find
inputs: Portland Trail Blazers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: FilterConcept
dependencies: 3
inputs: basketball team
function: Count
dependencies: 4