Question: Who replaced Colin Powell (the one from the military branch of the United States Army) as United States Secretary of State?
Choices:
Abel P. Upshur
George H. W. Bush
Madeleine Albright
Harry S. Truman
Alonzo B. Cornell
Paul Martin
James K. Polk
John Franklin Fort
Clement Attlee
John C. Calhoun
Program:
function: Find
inputs: United States Secretary of State
function: Find
inputs: United States Army
function: Relate
dependencies: 1
inputs: military branch
backward
function: Find
inputs: Colin Powell
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: officeholder
replaces
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "United States Secretary of State" . ?e_2 <pred:name> "Colin Powell" . ?e_2 <military_branch> ?e_3 . ?e_3 <pred:name> "United States Army" . ?e_1 <officeholder> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <officeholder> ; <pred:fact_t> ?e_2 ] <replaces> ?qpv .  }
Answer: Madeleine Albright