This work proposes a method for mapping landmarks within structured indoor environments to enable robots to understand its surroundings and move through them. A new approach based on the RDF, which simplifies the implementation of the knowledge database system, is introduced and a navigation algorithm is derived from a SPARQL engine. The total navigation system was implemented, tested and validated using OpenRTM-aist, voice operated commands, and the V-REP simulator.