Matisse 7, the new version, has the feature.
You export the data in your SQL Server database in the csv format, import the data into a Matisse database, then build relationships between objects using the Primary key Foreign key values so you can do navigational access through ralationships.
Probably, you don't have to write any program.