In this paper we discuss the relationship between the Semantic Web and the grid, and explain how grid applications can also be applications of the Semantic Web; this is illustrated by an environmental application scenario. We indicate how Semantic Web technologies can be applied to grid computing and we outline this approach by presenting an e-Science middleware system, ARION, that has been designed and implemented to support search and retrieval of scientific information.