Oil prices rose slightly on Wednesday, supported by strong summer demand in the US and China, though gains were limited by economic concerns and trade tensions.