Question: How many liberal arts college in the United States that has the significant event happened in Wheaton College?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college in the United States" . ?e <significant_event> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "academic discipline" . ?e_2 <significant_event> ?e_1 . ?e_2 <pred:name> "Wheaton College" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1860 .   }
Program:
function: Find
inputs: Wheaton College
function: Relate
dependencies: 0
inputs: significant event
forward
function: QFilterYear
dependencies: 1
inputs: start time
1860
=
function: FilterConcept
dependencies: 2
inputs: academic discipline
function: Relate
dependencies: 3
inputs: significant event
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college in the United States
function: Count
dependencies: 5