×

Information query method and device

  • US 10,860,632 B2
  • Filed: 01/07/2016
  • Issued: 12/08/2020
  • Est. Priority Date: 02/13/2015
  • Status: Active Grant
First Claim
Patent Images

1. An information query method, comprising:

  • converting a query text in a natural language inputted by a user into a structured statement in an abstract query language;

    converting the structured statement in the abstract query language into a basic query statement or multiple iterated basic query statements;

    executing a query operation against a database structure and according to the basic query statement or the multiple iterated basic statements, wherein the database structure comprises an entity database and a category database, the category database comprises a plurality of entity category data and category tags, the plurality of entity category data are divided into a plurality of levels, comprising the entity category data in a low level subordinate to the entity category data associated therewith in a higher level, wherein an entry for an entity in the entity database comprises a meta-information field storing a category tag of the plurality of entity category tags corresponding to the entity category data for describing a category of the entity, wherein the entry further comprises a variable attribute field storing entity attribute data;

    wherein the basic query statement or the multiple iterated basic statements comprises;

    an entity information query statement, which is used for querying entity information related to a designated entity;

    an entity attribute query statement, which is used for querying a designated attribute of the designated entity; and

    an entity reverse query statement, which is used for reversely querying a corresponding entity according to a designated attribute filtering condition and a designated category, wherein executing the entity reverse query statement comprises retrieving in the entity database the entry satisfying the following conditions;

    the category tag is a category tag corresponding to the entity category data representing the designated category or a category tag corresponding to the entity category data subordinate to the designated category; and

    the entity attribute data satisfies the designated attribute filtering condition; and

    when the designated attribute related to the designated attribute filtering condition belongs to the entity attribute data defined by the designated category, executing the query operation according to the entity reverse query statement.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×