Method and apparatus for storing data
Abstract:
A method includes receiving Resource Description Framework (RDF) data to be stored; obtaining triplet information including at least a resource name of the resource, attribute of the resource, and attribute value of the resource represented by the RDF data; obtaining from the RDF data a first namespace usable in a resource name of the resource; searching for a resource identification corresponding to a resource name and first namespace of the resource; obtaining from the RDF data a second namespace usable by the attribute of the resource; searching for the attribute identification corresponding to the attribute of the resource and the second namespace; and storing the triplet information, the resource name of a specific resource being represented by a resource identification and the attribute of the specific resource being represented by an attribute identification. Using an embodiment, it is possible to reduce the storage of redundant data, thereby saving storage space.
Public/Granted literature
Information query
Patent Agency Ranking
0/0