Question: How many national-association football teams are the occupant of Raja Casablanca or have a ranking of greater than 160?
Choices: 18
19
20
21
22
23
24
25
26
27
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "national association football team" .  { ?e_1 <occupant> ?e . ?e_1 <pred:name> "Raja Casablanca" .  } UNION { ?e <ranking> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "160"^^xsd:double ) .  } }
Program:
function: Find
inputs: Raja Casablanca
function: Relate
dependencies: 0
inputs: occupant
forward
function: FilterConcept
dependencies: 1
inputs: national association football team
function: FindAll
function: FilterNum
dependencies: 3
inputs: ranking
160
>
function: FilterConcept
dependencies: 4
inputs: national association football team
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 27