qnli question: In what year was Hugh Capet elected as king? sentence: In 987 Hugh Capet, Count of Paris (comte de Paris), Duke of the Franks (duc des Francs) was elected King of the Franks (roi des Franks).