Marcio,
I don't query the mantma sqlite db directly in a sense.
What I have done is kicked off a project I am thinking how best to implement at this time. I first imported the mantma db into a google app engine datastore database. Tried out my idea and got permission to use the database publicly.
I basically added a function into dump1090 web gui to call when a new plane object is made. That function then makes a request for a JSON data of the ICAO hex identifier.
If you go to it you can see the raw data that I am "exporting" from the datastore and some information that I had to craft/extract. The function then takes that data and includes it into the plane object.
Eventually what I would like to do is make a site like
airframes.org and that produces a updated mantma db every night automatically. Along with being a open reference source for any project that wants/needs this data. I am kinda thinking each plane becomes a wiki like page where any registered person can submit a change and it gets approved by people that are trusted.
Given that aircraft don't change to much I can use a CDN to cache the json "files" for a good amount of time to limit my cost of hosting the application to just raw datastore transactions from updates.
*Reposted from the proper account.