Patent Document ID: 10140335
Application ID: 14945300

Base Claim:
1. A method for implementation by one or more data processors forming at least part of a computer system, the method comprising: receiving, by a database server, a higher-level language query associated with a calculation scenario that defines a data flow model that includes a plurality of calculation nodes, each calculation node defining one or more operations to execute on the database server, at least one of the calculation nodes being a semantic node specifying an operation involving aggregating previously aggregated database elements, the higher-level language query producing erroneous results when aggregating previously aggregated database elements; modifying, by the database server, the higher-level programming language query using the semantic node, the modified higher-level programming language query producing accurate results; modifying, by the database server, the calculation scenario based on the modified higher-level programming language query; instantiating, by the database server, the modified calculation scenario; executing, by the database server, the operations defined by the calculation nodes of the modified calculation scenario to result in at least one result set; and providing, by the database server to the application server, the at least one result set.

---

Claim 6:
6. The method of claim 1 , wherein at least one of the calculation nodes sorts results obtained from the database server.