Question: Which association football club had an official opening date after 1898 and has the occupant Morocco national football team?
Choices:
C.F. Os Belenenses
Preston North End F.C.
Zamalek SC
Hibernian F.C.
S.C. Braga
Raja Casablanca
Roda JC Kerkrade
Middlesbrough F.C.
Rochester Rhinos
Stade Brestois 29
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of official opening
1898
>
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Morocco national football team
function: Relate
dependencies: 3
inputs: occupant
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <date_of_official_opening> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1898 ) . ?e <occupant> ?e_1 . ?e_1 <pred:name> "Morocco national football team" .  }
Answer: Raja Casablanca