Functional query languages with categorical types

Functional query languages with categorical types(2014)

引用 23|浏览45
暂无评分
摘要
We study three category-theoretic types in the context of functional query languages (typed lambda-calculi extended with additional operations for bulk data processing). The types we study are: 1) The dependent identity type. By adding identity types to the simply-typed lambda-calculus we obtain a language where embedded dependencies are first-class objects that can be manipulated by the programmer and used for optimization. We prove that the chase re-writing procedure is sound for this language. 2) The type of propositions. By adding propositions to the simply-typed lambda-calculus, we obtain higher-order logic. We prove that every hereditarily domain-independent higher-order logic program can be translated into the nested relational algebra, thereby allowing higher-order logic to be used as a query language and giving a higher-order generalization of Codd's theorem. 3) The type of finitely presented categories. By adding types for finitely presented categories to the simply-typed lambda-calculus we obtain a schema mapping language for the functorial data model. We define FQL, the first query language for this data model, investigate its metatheory, and build a SQL compiler for FQL.
更多
查看译文
关键词
category-theoretic type,query language,simply-typed lambda-calculus,schema mapping language,functional query language,hereditarily domain-independent higher-order logic,higher-order logic,data model,bulk data processing,higher-order generalization,categorical type
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要