Question: How many national association football teams have the statistical leader Wayne Shorter or have a ranking greater than 100?
Choices:
59
60
61
62
63
64
65
66
67
68
Answer: 62
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" .  { ?e <statistical_leader> ?e_1 . ?e_1 <pred:name> "Wayne Shorter" .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "100"^^xsd:double ) .  } }
Program:
function: Find
inputs: Wayne Shorter
function: Relate
dependencies: 0
inputs: statistical leader
backward
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
100
>
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Or
dependencies: 2
5
function: Count
dependencies: 6