Question: What currency was created in a year other than 1839 (the involved part of this statement is demand deposit) ?
Choices:
Canadian dollar
Oral Roberts University
pound sterling
Emma
PlayStation 2
cancer
Prince William County
Indian rupee
Japanese yen
euro
Answer: euro
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "currency" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1839 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inception> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "demand deposit" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1839
!=
function: QFilterStr
dependencies: 1
inputs: applies to part
demand deposit
function: FilterConcept
dependencies: 2
inputs: currency
function: What
dependencies: 3