Natural language is an easy and effective medium for spatial description. Thus, we foresee the emergence of methods to extract spatial relationships from text as constraints on layout of objects in a 3D scene. This would allow users to quickly display objects in 3D scenes without having to touch a desktop window-oriented interface, acquire artistic skills, or even understand nature language. The aim of this paper is to propose a method for automatic extraction of spatial relationships from text. The spatial relationship is firstly divided into two parts consisting of the spatial expression and the corresponding trajectory. Extracting spatial relationships is done in three stages: extracting spatial expressions, acquiring trajectories, and resolving ellipsis on landmarks. The first stage is done based on a linear classifier. The other stages are based on limited knowledge. Our hybrid method relies on HowNet which is a semantic knowledge base. Experimental results have demonstrated the effectiveness of our scheme