Question: How many universities are led by someone in a position matching the head of University of North Carolina at Chapel Hill since 1945 ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <office_held_by_head_of_the_organisation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "position" . ?e_2 <office_held_by_head_of_the_organisation> ?e_1 . ?e_2 <pred:name> "University of North Carolina at Chapel Hill" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <office_held_by_head_of_the_organisation> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1945 .   }
Program:
function: Find
inputs: University of North Carolina at Chapel Hill
function: Relate
dependencies: 0
inputs: office held by head of the organisation
forward
function: QFilterYear
dependencies: 1
inputs: start time
1945
=
function: FilterConcept
dependencies: 2
inputs: position
function: Relate
dependencies: 3
inputs: office held by head of the organisation
backward
function: FilterConcept
dependencies: 4
inputs: university
function: Count
dependencies: 5
Answer: 1