Question: Wa a rock band residing in Guildford (the one whose TOID is 4000000074568981) established in a year other than 1772 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Guildford" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074568981" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1772 ) .  }
Program:
function: Find
inputs: Guildford
function: FilterStr
dependencies: 0
inputs: TOID
4000000074568981
function: Relate
dependencies: 1
inputs: location of formation
backward
function: FilterConcept
dependencies: 2
inputs: rock band
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1772
!=