Extensible RDF databases
AssigneeOracle International Corporation
InventorsAravind Yalamanchi, Matthew Perry
Life of this patent
Estimating the term…
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.
Claims18
A computer-executed method comprising:
- receiving a first query over a Resource Description Framework (RDF) database hosted by a database management system;
- wherein the first query is in an RDF query format;
- wherein the first query includes a triple with an RDF user-defined predicate, the range of which is an RDF user-defined data type;
- wherein the first query selects objects of the RDF user-defined predicate;
- wherein the RDF user-defined data type is defined based on definition information for the RDF user-defined data type stored within the RDF database;
- wherein the definition information includes a mapping between first one or more attributes of the RDF user-defined data type and second one or more attributes of a base data structure defined by the database management system;
- wherein the database management system is configured to store instances of the base data structure in a database managed by the database management system;
- wherein a particular instance of said base data structure has said one or more attributes;
- wherein the second one or more attributes of the particular instance of the base data structure holds data from which values of the first one or more attributes of the RDF user-defined data type are generated;
- evaluating the first query, to generate a result for the first query, comprising:
- retrieving data for the second one or more attributes for said particular instance of the base data structure,
- generating, as part of the result, a representation of an instance of the RDF user-defined data type that includes a particular value that is generated from the data for the second one or more attributes of the particular instance of the base data structure;
- and
- wherein the method is performed by one or more computing devices.
One or more non-transitory computer-readable storage media storing instructions which, when executed by one or more processors, cause performance of the steps of:
- receiving a first query over a Resource Description Framework (RDF) database hosted by a database management system;
- wherein the first query is in an RDF query format;
- wherein the first query includes a triple with an RDF user-defined predicate, the range of which is an RDF user-defined data type;
- wherein the first query selects objects of the RDF user-defined predicate;
- wherein the RDF user-defined data type is defined based on definition information for the RDF user-defined data type stored within the RDF database;
- wherein the definition information includes a mapping between first one or more attributes of the RDF user-defined data type and second one or more attributes of a base data structure defined by the database management system;
- wherein the database management system is configured to store instances of the base data structure in a database managed by the database management system;
- wherein a particular instance of said base data structure has said second one or more attributes;
- wherein the second one or more attributes of the particular instance of the base data structure holds data from which values of the first one or more attributes of the RDF user-defined data type are generated;
- evaluating the first query, to generate a result for the first query, comprising:
- retrieving data for the second one or more attributes for said particular instance of the base data structure,
- generating, as part of the result, a representation of an instance of the RDF user-defined data type that includes a particular value that is generated from the data for the second one or more attributes of the particular instance of the base data structure.
Dependencies are inferred from the claim text.