Question: How many baseball positions are related to the sport of synchronized swimming or are related to the sport of baseball?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: Find
inputs: synchronized swimming
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: baseball position
function: Find
inputs: baseball
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: baseball position
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball position" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> "synchronized swimming" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "baseball" .  } }
Answer: 11