Patent attributes
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for converting a relational database into a triplestore. In one aspect, a method includes retrieving meta schema information for a relational database, including checking a data dictionary associated therewith, and saving the information (including column, primary key constraint and foreign key constraint definitions) in a canonical format; processing the saved information to identify triples to be created in a triplestore; and generating triples in the triplestore in accordance with results of the processing, the generating including: creating first triples (corresponding to data specified within relational database tables) using the column definitions, creating second triples (corresponding to data links between the relational database tables) using the primary key and foreign key constraint definitions, and creating third triples using a primary key constraint definition, a foreign key constraint definition, and an associative mapping table corresponding to the relational database.