Question: Which belief system was established in 1868, prior to 1961?
Choices:
Kansas City
Davis
Judaism
Scientology
Hampton University
Jainism
Seventh-day Adventist Church
Methodism
Imperial Japanese Army
Kanagawa Prefecture
Answer: Methodism
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" . ?e <inception> ?pv . ?pv <pred:year> 1868 . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1961 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1868
=
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1961
<
function: FilterConcept
dependencies: 4
inputs: belief system
function: And
dependencies: 2
5
function: What
dependencies: 6