Simple examples:
* The nurse felt a strong sense of duty to care for her patients.
* The soldier's sense of duty compelled him to stay and fight.
More complex examples:
* Despite the danger, she felt a sense of duty to stay and help those in need.
* His sense of duty to his family motivated him to work hard and provide for them.
* The firefighter's sense of duty was evident as he bravely entered the burning building.
* Even though she was tired, her sense of duty to her team pushed her to finish the project.
Using "sense of duty" to describe an action:
* He acted out of a sense of duty when he reported the crime to the police.
* The teacher felt a sense of duty to educate her students to the best of her ability.
Remember that "sense of duty" often implies a strong moral obligation or a commitment to something bigger than oneself.