While at the university, Moseley was the roommate of future president James K. Polk.

Entity and relation annotations:
id: 0
type: entity
value: text: Moseley
labels: <Person>
id: 1
type: entity
value: text: president
labels: <Title>
id: 2
type: entity
value: text: James K. Polk
labels: <Person>
type: relation
to_id: 1
labels: Person:holds_title:Title
from_id: 2
type: relation
to_id: 2
labels: Person:business/work:Person
from_id: 0