Question: How many sports comprise the main subject of Secretariat, or, belong to biathlon ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sport" .  { ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Secretariat" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> "biathlon" .  } }
Program:
function: Find
inputs: Secretariat
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: sport
function: Find
inputs: biathlon
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6