Question: Was an association football club, headquartered in Casablanca (the one that is the twinned administrative body of Kuala Lumpur, established in a year different from 1845 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Casablanca" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Kuala Lumpur" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1845 ) .  }
Program:
function: Find
inputs: Kuala Lumpur
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Casablanca
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: QueryAttr
dependencies: 5
inputs: inception
function: VerifyYear
dependencies: 6
inputs: 1845
!=
Answer: yes