Patents
US 10,042,884 B2#94418528 Most CitedActiveUnited States (USPTO)Utility

Algebraic data types for database query languages

0Forward Citations (#94418528 Global)
0.0/yrCitation Velocity (#94418528 Global)
0.56Citation PageRank (#94418528 Global)
26Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for implementing algebraic data types in database query languages. One of the methods includes receiving an expression in a database query language, the expression having a programming language construct representing an algebraic data type, wherein the expression specifies two or more alternative subtypes. Respective domain relations are generated using definitions of each of the alternative subtypes within the expression. Unique domain identifiers are assigned among domain tuples belonging to each alternative subtype. A union relation is generated for the algebraic data type. Unique union identifiers are assigned for union tuples belonging to the union relation. Respective injector relations are generated for each of the alternative subtypes.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: receiving an expression in a query language, the expression having a query language construct representing an algebraic data type, wherein the expression specifies two or more alternative subtypes; generating, for each of the alternative subtypes, a respective domain relation having domain tuples that satisfy a definition of the alternative subtype within the expression; generating a respective domain id relation for each of the domain relations of the alternative subtypes, wherein the domain id relation for a corresponding domain relation of an altern

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (26)

PatentTitleYearCitations
US 2002010798 A1Differentiated content and application delivery via internet—708
US 2004228343 A1Arrangement for retrieving routing information for establishing a bidirectional tunnel between a mobile router and a correspondent router—82
US 2004236762 A1Method and apparatus for generating statistics on query expressions for optimization—47
EP 1,492,035 A2Defining user-defined data types and/or user-defined methods using an interpreted programming language—2
US 2005278357 A1Detecting correlation from data—60
US 2007038651 A1Interactive schema translation with instance-level mapping—68
US 7,228,300 B2Caching the results of security policy functions200714
US 7,277,873 B2Method for discovering undeclared and fuzzy rules in databases200715
US 2007266000 A1Systems and Methods for Data Storage and Retrieval Using Virtual Data Sets—24
US 2007276802 A1Systems and Methods for Providing Data Sets Using a Store of Albegraic Relations—29
US 2007276786 A1Systems and Methods for Data Manipulation Using Multiple Storage Formats—32
US 2007276784 A1Systems and Methods for Data Storage and Retrieval Using Algebraic Relations Composed From Query Language Statements—28
US 2007276785 A1Systems and Methods for Data Storage and Retrieval Using Algebraic Optimization—17
US 2008114785 A1Mapping composition using algebraic operators—17
US 2009177640 A1Creating concise and re-useable queries over complex data—9
US 7,756,873 B2Functional dependency data profiling201058
US 2010205197 A1Two-valued logic database management system with support for missing information—4
US 2011313999 A1Slicing relational queries using spool operators—99
US 2012016912 A1Type inference for datalog with complex type hierarchies—11
US 2012173517 A1Query-aware compression of join results—28
US 2014181144 A1Stream data processing method on recursive query of graph data—22
US 8,930,926 B2System, methods and apparatus for program optimization for multi-threaded processor architectures201540
US 9,015,193 B1Recursive aggregates20157
US 2015278294 A1System and a method for executing sql basic operators on compressed data without decompression process—5
US 9,319,336 B2Scheduling distribution of logical control plane data201622
US 9,720,961 B1Algebraic data types for database query languages20172

Non-Patent Literature (5)

  • "sql-Modelling algebraic data types using relational database," Feb. 7, 2016, [retrieved on Nov. 10, 2017]. Retrieved from the Internet: URL:<https://stackoverflow.com/questions/33213022/modelling-algebraic-data-types-using-relational-database>. 2 pages.
  • ‘chris-taylor.github.io’ [online]. “The Algebra of Algebraic Data Types, Part 1,” Feb. 10, 2013, [retrieved on Dec. 9, 2016]. Retrieved from the Internet: URL<http://chris-taylor.github.io/blog/2013/02/10/the-algebra-of-algebraic-data-types/>. 7 pages.
  • ‘developer.logicblox.com’ [online]. “LogicBlox 4 Reference Manuel,” Nov. 6, 2016, [retrieved on Dec. 9, 2016]. Retrieved from the Internet: URL <https://developer.logicblox.com/content/docs4/core-reference/webhelp/predicates.html>. 12 pages.
  • ‘wiki.haskell.org’ [online]. “Algebraic data type,” Jun. 27, 2014 [retrieved on Dec. 9, 2016]. Retrieved from the Internet: URL<https://wiki.haskell.org/Algebraic_data_type>. 3 pages.
  • ‘www.wikipedia.org’ [online]. “Algebraic data type,” Aug. 1, 2016, [retrieved on Dec. 9, 2016]. Retrieved from the Internet: URL <https://en.wikipedia.org/wiki/Algebraic_data_type>. 6 pages.