An effective approach for modifying carbonaceous materials with niobium single sites to improve their catalytic properties.