Transforming an ontology query to an sql query
AssigneeInternational Business Machines Corporation
InventorsAvrilia Floratou, Fatma Ozcan
Life of this patent
Estimating the term…
Abstract
A computer-implemented method according to one embodiment includes receiving an ontology language query, receiving a mapping of an ontology to a relational database, and generating a structured query language (SQL) query, utilizing the ontology language query and the mapping of the ontology to the relational database.
Claims25
A computer-implemented method, comprising:
- receiving an ontology language query;
- receiving a mapping of an ontology to a relational database;
- and
- generating a structured query language (SQL) query, utilizing the ontology language query and the mapping of the ontology to the relational database.
A computer program product for transforming an ontology language query to a structured query language (SQL) query, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
- receiving, utilizing the processor, the ontology language query;
- receiving, utilizing the processor, a mapping of an ontology to a relational database;
- and
- generating, utilizing the processor, the SQL query, utilizing the ontology language query and the mapping of the ontology to the relational database.
A system, comprising:
- a processor;
- and
- logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
- receive an ontology language query;
- receive a mapping of an ontology to a relational database;
- and
- generate a structured query language (SQL) query, utilizing the ontology language query and the mapping of the ontology to the relational database.
A computer-implemented method, comprising:
- identifying a concept referenced by an ontology language query;
- determining that the concept has an inheritance relationship;
- and
- transforming a portion of the ontology language query by deriving a property referenced by the ontology language query from a corresponding parent or union concept, in response to the determining.
A computer-implemented method, comprising:
- identifying a concept referenced by an ontology language query;
- determining that the concept has a union relationship;
- and
- transforming a portion of the ontology language query by deriving a property referenced by the ontology language query from corresponding properties of member concepts.
Dependencies are inferred from the claim text.