Question: For the significant event which happened at the University of Pennsylvania (the start time of this statement is 1880, how many liberal-arts colleges have had this significant academic-discipline event?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" . ?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> "University of Pennsylvania" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <significant_event> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1880 .   }
Program:
function: Find
inputs: University of Pennsylvania
function: Relate
dependencies: 0
inputs: significant event
forward
function: QFilterYear
dependencies: 1
inputs: start time
1880
=
function: FilterConcept
dependencies: 2
inputs: academic discipline
function: Relate
dependencies: 3
inputs: significant event
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Count
dependencies: 5