Patent · US Active

Type inference for datalog with complex type hierarchies

USRE48405E1 · kind E1 · reissue

0Cited by
4References
33Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 21, 2017
Grant dateJan 26, 2021
Priority date
Expiry dateApr 21, 2037

Classification

  • Technology area (CPC —)General

Abstract

What is disclosed are a novel system and method for inferring types of database queries. In one embodiment a program and associated database schema that includes a type hierarchy is accessed. The program includes query operations to a database that contains relations described by a database schema. Types are inferred from definitions in the program by replacing each database relationship in the program by the types in the database schema. A new program is generated with the types that have been inferred with the new program only accessing unary relations in the database. In another embodiment, testing of each of the types that have been inferred is performed for type emptiness. In response to type emptiness being found for a type that have been inferred, a variety of different operations are performing including removing the type, providing a notification regarding the emptiness found for the type, and more.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.