# US 2021/0240707 A1 · A method and system for providing a generic query interface

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0240707 A1
- Document ID: US20210240707A1
- Status: Published application
- Kind: A1
- Application number: 17/051,769
- Filed: 2019-04-16
- Published: 2021-08-05
- Earliest claimed: 2018-04-30
- Assignees: Siemens Aktiengesellschaft
- Inventors: Jan-Gregor Fischer; Michael Watzke; Michael Pirker
- Web page: https://patentgrep.com/patent/US20210240707A1

## CPC

- G06F 16/2452: Query translation
- G06F 16/24534: {Query rewriting; Transformation}
- G06F 16/248: Presentation of query results
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 40/237: Lexical tools
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for providing a generic query interface for industrial systems of different customers includes an interface configured to input customer queries of customer industrial systems. The system also includes a query processing unit that is configured to automatically perform a query decomposition of the input customer query into query parts based on a query reformulation model stored in a database of the system. For each decomposed query part, it is determined whether the decomposed query part is available in an application semantic model stored in the database of the system. Query parts not available in the application semantic model are automatically reformulated based on the query reformulation model, and a query recomposition of the query parts available in the application semantic model and the reformulated semantic query parts is automatically performed to generate a generic query applied to an application logic of the system to provide a query result.

## Claims

### Claim at position 1

-15. (canceled)

### Claim 16

A method for providing a generic query interface for industrial systems of customers, the method comprising:
performing a query decomposition of a customer query input by an application query interface of a customer industrial system into query parts based on a stored query reformulation model;
determining whether the decomposed query parts of the received customer query are available in a stored application semantic model;
reformulating query parts that are not available in the stored application semantic model based on the query reformulation model; and
generating a generic query applied to an application logic, such that a query result is provided, generating the generic query comprising performing a query recomposition of the query parts available on the stored application semantic model and the reformulated query parts.

### Claim 17 (depends on 16)

The method of claim 16, wherein the stored query reformulation model comprises mappings for terms of model elements between customer specific terms and application semantic model terms of the application semantic model, and transformation rules used for translating model terms.

### Claim 18 (depends on 16)

The method of claim 16, wherein the stored application semantic model comprises an ontological model.

### Claim 19 (depends on 17)

The method of claim 17, wherein mapping for terms of model elements comprise mappings between data source terms, mappings between event source terms, and mappings between other information terms.

### Claim 20 (depends on 16)

The method of claim 16, further comprising transmitting the generated generic query via a local network or a global network to the application logic, which processes the received generic query based on a generic data model of the industrial system to calculate a generic query result.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
reformulating the generic query result into a customer specific query result based on the stored query reformulation model; and
outputting, by the application query interface of the customer industrial system, the customer specific query result.

### Claim 22

A query processing system for providing a generic query interface for industrial systems of different customers, the query processing system comprising:
an application query interface configured to input customer queries of customer industrial systems; and
a query processing unit configured to:
automatically perform a query decomposition of an input customer query into query parts based on a query reformulation model stored in a database of the query processing system,
determine, for each of the decomposed query parts, whether the respective decomposed query part is available in an application semantic model stored in the database of the query processing system;
automatically reformulate query parts not available in the application semantic model based on the query reformulation model; and
generate a generic query applied to an application logic of the query processing system, such that a query result is output by the application query interface, the generation of the generic query comprising automatic performance of a query recomposition of the query parts available in the application semantic model and the reformulated semantic query parts.

### Claim 23 (depends on 22)

The query processing system of claim 22, wherein the stored query reformulation model comprises mappings for terms of model elements between customer specific terms and application semantic model terms of the application semantic model, and transformation rules used for translating model terms.

### Claim 24 (depends on 22)

The query processing system of claim 22, wherein the stored application semantic model comprises an ontological model.

### Claim 25 (depends on 23)

The query processing system of claim 23, wherein the mappings for terms of model elements comprise mappings between data source terms, mappings between event source terms, and mappings between other information terms.

### Claim 26 (depends on 22)

The query processing system of claim 22, wherein the query processing unit is further configured to transmit the generated generic query via a local network or a global network to the application logic, which is configured to process the received generic query based on a stored generic data model of the industrial system to calculate a generic query result.

### Claim 27 (depends on 26)

The query processing system of claim 26, wherein the query processing unit is further configured to reformulate the calculated generic query result into a customer specific query result based on the stored query reformulation model, and
wherein the application query interface is further configured to output the customer specific query result.

### Claim 28 (depends on 22)

The query processing system of claim 22, wherein the query processing unit comprises a local query processing unit or a remote query processing unit implemented on a server of a service provider, and
wherein the query reformulation model is decentralized or stored in a central database of a service provider.

### Claim 29 (depends on 22)

The query processing system of claim 22, wherein the application query interface comprises a user interface operable to receive a customer query input by a user of an industrial system of the industrial systems, a data interface operable to receive a customer query generated by a controller of the industrial system, or the user interface and the data interface.

### Claim 30 (depends on 22)

The query processing system of claim 22, wherein the query processing system is implemented on an FPGA.
