Question: What is the number of national association football teams that are the residents of Raja Casablanca?
Choices: 1
2
3
4
5
6
7
8
9
10
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" .   }
Program:
function: Find
inputs: Raja Casablanca
function: Relate
dependencies: 0
inputs: occupant
forward
function: FilterConcept
dependencies: 1
inputs: national association football team
function: Count
dependencies: 2
Answer: 1