Polymorphic type inference for the named nested relational calculus

  • Authors:
  • Jan Van den Bussche;Stijn Vansummeren

  • Affiliations:
  • Hasselt University and Transnational University of Limburg, Diepenbeck, Belgium;Hasselt University and Transnational University of Limburg, Diepenbeck, Belgium

  • Venue:
  • ACM Transactions on Computational Logic (TOCL)
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The named nested relational calculus is the canonical query language for the complex object database model and is equipped with a natural static type system. Given an expression in the language, without type declarations for the input variables, there is the problem of whether there are any input type declarations under which the expression is well-typed. Moreover, if there are, then which are they, and what is the corresponding output type for each of these? This problem is solved by a logic-based approach, and the decision problem is shown to be NP-complete.