Question: How many baseball teams are participants of the 2006 Major League Baseball draft and are participants of the 2006 Major League Baseball season?
Choices:
21
22
23
24
25
26
27
28
29
30
Program:
function: Find
inputs: 2006 Major League Baseball draft
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Find
inputs: 2006 Major League Baseball season
function: Relate
dependencies: 3
inputs: participant
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <participant> ?e . ?e_1 <pred:name> "2006 Major League Baseball draft" .  ?e_2 <participant> ?e . ?e_2 <pred:name> "2006 Major League Baseball season" .  }
Answer: 27