Extensible RDF databases
First Claim
Patent Images
1. A computer-executed method comprising:
- a database management system receiving, from a user, definition information for a definition of a new database data type;
wherein the definition information includes a first mapping between one or more attributes of the new database data type and one or more attributes of a particular base data structure of the database management system;
wherein the definition information includes a second mapping between one or more attributes of the particular base data structure of the database management system and one or more attributes of the new database data type;
storing, in an instance of the particular base data structure of the database management system, a particular subject-predicate-object expression that comprises a particular data associated with the new database data type;
wherein each subject-predicate-object expression corresponds to a subject, a predicate, and an object;
wherein a predicate describes a first relationship between a corresponding subject and object;
wherein the step of storing further comprises;
identifying the particular subject-predicate-object expression as including the particular data associated with the new database data type;
in response to identifying the particular subject-predicate-object expression, extracting, based on the first mapping, a value of a particular attribute from the particular data of the particular subject-predicate-object expression; and
based on the first mapping, storing the value of the particular attribute in the instance of the particular base data structure;
receiving a request for at least a portion of the particular data of the particular subject-predicate-object expression;
in response to receiving the request, identifying the instance of the particular base data structure;
based on the second mapping, reconstructing the at least a portion of the particular data of the particular subject-predicate-object expression from the instance of the particular base data structure; and
returning the reconstructed at least a portion of the particular data in response to the request;
wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for introducing domain-specific data types with associated semantics in an RDF database system using an extensibility framework mechanism. The extensibility framework mechanism allows users to map serialized instance data for a particular user-defined data type to properties of a base data structure associated with the domain-specific data and to map instance data in base data structures to the data'"'"'s serialized form. The RDF database system may return inferred properties of RDF data stored in domain-specific data types in response to a query on the data. Further, the RDF database system may infer relationships between resources in stored data.
-
Citations
22 Claims
-
1. A computer-executed method comprising:
-
a database management system receiving, from a user, definition information for a definition of a new database data type; wherein the definition information includes a first mapping between one or more attributes of the new database data type and one or more attributes of a particular base data structure of the database management system; wherein the definition information includes a second mapping between one or more attributes of the particular base data structure of the database management system and one or more attributes of the new database data type; storing, in an instance of the particular base data structure of the database management system, a particular subject-predicate-object expression that comprises a particular data associated with the new database data type; wherein each subject-predicate-object expression corresponds to a subject, a predicate, and an object; wherein a predicate describes a first relationship between a corresponding subject and object; wherein the step of storing further comprises; identifying the particular subject-predicate-object expression as including the particular data associated with the new database data type; in response to identifying the particular subject-predicate-object expression, extracting, based on the first mapping, a value of a particular attribute from the particular data of the particular subject-predicate-object expression; and based on the first mapping, storing the value of the particular attribute in the instance of the particular base data structure; receiving a request for at least a portion of the particular data of the particular subject-predicate-object expression; in response to receiving the request, identifying the instance of the particular base data structure; based on the second mapping, reconstructing the at least a portion of the particular data of the particular subject-predicate-object expression from the instance of the particular base data structure; and returning the reconstructed at least a portion of the particular data in response to the request; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 17, 18, 19)
-
-
9. A non-transitory computer-readable storage medium that stores instructions which, when executed by one or more processors, cause:
-
a database management system receiving, from a user, definition information for a definition of a new database data type; wherein the definition information includes a first mapping between one or more attributes of the new database data type and one or more attributes of a particular base data structure of the database management system; wherein the definition information includes a second mapping between one or more attributes of the particular base data structure of the database management system and the one or more attributes of the new database data type; storing, in an instance of the particular base data structure of the database management system, a particular subject-predicate-object expression that comprises a particular data associated with the new database data type; wherein each subject-predicate-object expression corresponds to a subject, a predicate, and an object; wherein a predicate describes a first relationship between a corresponding subject and object; wherein the step of storing further comprises; identifying the particular subject-predicate-object expression as including the particular data associated with the new database data type; in response to identifying the particular subject-predicate-object expression, extracting, based on the first mapping, a value of a particular attribute from the particular data of the particular subject-predicate-object expression; and based on the first mapping, storing the value of the particular attribute in the instance of the particular base data structure; receiving a request for at least a portion of the particular data of the particular subject-predicate-object expression; in response to receiving the request, identifying the instance of the particular base data structure; based on the second mapping, reconstructing the at least a portion of the particular data of the particular subject-predicate-object expression from the instance of the particular base data structure; and returning the reconstructed at least a portion of the particular data in response to the request. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 20, 21, 22)
-
Specification