Question: How many basketball teams are in the country United States of America or the location Yakima?
Choices:
26
27
28
29
30
31
32
33
34
35
Answer: 35
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  } UNION { ?e <location> ?e_1 . ?e_1 <pred:name> "Yakima" .  } }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: basketball team
function: Find
inputs: Yakima
function: Relate
dependencies: 3
inputs: location
backward
function: FilterConcept
dependencies: 4
inputs: basketball team
function: Or
dependencies: 2
5
function: Count
dependencies: 6