Question: How many types of sports are named after Alps or depict mainly baseball?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" .  { ?e <main_subject> ?e_1 . ?e_1 <pred:name> "baseball" .  } UNION { ?e <named_after> ?e_1 . ?e_1 <pred:name> "Alps" .  } }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: main subject
backward
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Find
inputs: Alps
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6