Question: When did the University of North Carolina at Chapel Hill stop being headed by a president (which is a role of the Vice President of the United States)?
Choices:
1863-09-17
2016-09-01
1941-06-21
1995-12-22
2010-05-06
1996-11-19
2004-02-22
1932
1829-10-24
1623
Answer: 1932
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of North Carolina at Chapel Hill" . ?e_2 <pred:name> "president" . ?e_3 <subject_has_role> ?e_2 . ?e_3 <pred:name> "Vice President of the United States" . ?e_1 <office_held_by_head_of_the_organisation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <office_held_by_head_of_the_organisation> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: University of North Carolina at Chapel Hill
function: Find
inputs: Vice President of the United States
function: Relate
dependencies: 1
inputs: subject has role
forward
function: Find
inputs: president
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: office held by head of the organisation
end time