I have setup wikpedia database on my local system and i have an idea of lexical schema wikipedia has. I want to know how can we import wiktionary dump database data into this lexical hierarchy. Or you can refer me link of any existing implentation
Retrieve all links on the page for the first word, then examine all these pages. Repeat the same process. Essentially what you're looking for (if I understand you correctly), it a breadth first search.