Question: How many seasons of sports are in the USA or are associated with the activity of baseball?
Choices:
53
54
55
56
57
58
59
60
61
62
Answer: 57
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sports season" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> "baseball" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: sports season
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: sports season
function: Or
dependencies: 2
5
function: Count
dependencies: 6