Question: What is the total number of baseball teams that are participants in the 1954 Major League Baseball season or who have an official team color of white?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" .  { ?e <official_color> ?e_1 . ?e_1 <pred:name> "white" .  } UNION { ?e_1 <participant> ?e . ?e_1 <pred:name> "1954 Major League Baseball season" .  } }
Program:
function: Find
inputs: white
function: Relate
dependencies: 0
inputs: official color
backward
function: FilterConcept
dependencies: 1
inputs: baseball team
function: Find
inputs: 1954 Major League Baseball season
function: Relate
dependencies: 3
inputs: participant
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6