System and method for an improved type inference
Abstract
An improved type inference may be calculated for a path expression that may be classified into a series of input expressions followed by steps. For each such series, the inference may be calculated based on input including a type for the input expression, an axis for the step, and a node test for the step. The cardinality of the input expression type is preserved for the calculation of the step type. Also, a set of one or more matching node types may be identified within the type repository. These matching node types are node types within the axis of the step that match the node test of the step. These matching node types are identified without calculating the full content type implied by the axis. Avoiding the calculation of the full content type of the axis may reduce the processing time required to perform the inference.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for efficient execution of a query to generate a set of query results, the method comprising: storing data in a data storage element; receiving a query that requests a portion of the data that is stored in the data storage element; identifying a path expression in accordance with the query, the path expression having an input expression followed by the step, the input expression having an associated input expression type with an associated input expression type cardinality, the step having an axis and a node test; preserving the input expression type cardinality for calculating the in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (3)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 5,692,184 A | Object relationship management system | 1997 | 100 |
| US 5,737,591 A | Database view generation system | 1998 | 89 |
| US 5,867,649 A | Dance/multitude concurrent computation | 1999 | 103 |
Non-Patent Literature (1)
- Draper, D., et al. (Eds.) "XQuery 1.0 and XPath 2.0 Formal Semantics," http://www.w3.org/TR/xquery-semantics, downloaded from the internet on Apr. 20, 2006, pp. 1-266.