CN115168392A - Structural rule description method and system for building specification index query - Google Patents

Structural rule description method and system for building specification index query Download PDF

Info

Publication number
CN115168392A
CN115168392A CN202210794287.4A CN202210794287A CN115168392A CN 115168392 A CN115168392 A CN 115168392A CN 202210794287 A CN202210794287 A CN 202210794287A CN 115168392 A CN115168392 A CN 115168392A
Authority
CN
China
Prior art keywords
building
index
snl
query
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210794287.4A
Other languages
Chinese (zh)
Inventor
张荷花
杨逸飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202210794287.4A priority Critical patent/CN115168392A/en
Publication of CN115168392A publication Critical patent/CN115168392A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • G06F16/2445Data retrieval commands; View definitions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • G06F16/2448Query languages for particular applications; for extensibility, e.g. user defined types
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24564Applying rules; Deductive queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a structural rule description method and a structural rule description system for building specification index query, which are characterized by comprising the following steps of: acquiring a multi-building BIM model of an item to be queried and a corresponding SNL rule thereof; extracting entity data of the multi-building BIM model, determining a corresponding entity relation, and constructing a multi-building semantic model of the item to be queried; analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a to-be-queried item, acquiring an SNL for building index query, and determining a SPARQL query statement for building indexes; adopting a SPARQL query statement facing to a building index to query in the multi-building semantic model to obtain a building specification index of the multi-building BIM model of the item to be queried; the SNL conclusion clause for the building index query is analyzed, whether the conclusion clause contains calculation is judged, and the corresponding building specification index is output as the target building specification index according to the judgment result.

Description

Structural rule description method and system for building specification index query
Technical Field
The invention relates to the field of automatic detection, in particular to a structural rule description method and a structural rule description system for building specification index query.
Background
With the rapid development and wide application of building information models, the automated inspection of building specifications has also become a focus of attention in related industries. The prior art discloses a complex building specification compliance detection device combining semantic and geometric calculations, however, the device can only achieve compliance checking of building specifications. Statistics and examination of various building related indexes are the key focus of examination work such as building planning and reporting, and the output result of the index examination work is usually a specific index value, rather than a 'correct' or 'wrong' compliance result. In order to obtain and count various indexes related to buildings, an effective data organization and extraction method is required. In addition, since the building planning index usually adopts local standard, the definition mode is related to the geographic position of the project, the type of the project and other factors. Therefore, the extensible building index description and definition method is also of great significance to achieving efficient building index extraction and query.
At present, enterprises develop an automatic checking tool for building planning and construction reporting aiming at a building information model, and the automatic checking tool comprises the functions of statistics and derivation of building planning and construction reporting indexes. The tool realizes marking of different types of components through Revit auxiliary modeling plug-ins, such as green space marking, parking space marking and the like. The tool counts and generates a report of relevant indexes through a preset form, and the form of the form is shown in fig. 1. The tool realizes the statistics of common building planning indexes by combining auxiliary modeling with a preset statistical algorithm. However, the statistical method is invisible to the user, so that the user cannot query the target index in a user-defined statistical rule mode. In addition, differentiating component classes by labeling would also add additional modeling effort to the user.
Currently, many automated specification review tools are similar to those described above, i.e., they suffer from high customization and lack of extensibility. The BIMChecker model checking tool developed by the software institute of Qinghua university solves the problem, and the tool defines and describes the checking rules by using a Structured Natural Language (SNL) and combines a corresponding checking engine for processing, thereby realizing the checking of the self-defined rules and further realizing the expansion to different fields and different types of building specifications. The tool generates the BIM model into the corresponding semantic model to realize the checking of semantic information, however, the tool only supports the generation of the semantic model of the single building, so that the tool can only carry out the standard checking on the interior of the single building, and cannot support the building related standard checking on a larger scale, such as the building planning and reporting checking on multiple building models.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a system for describing structural rules for building specification index query, which can report and review building plans for multiple building models.
In order to achieve the purpose, the invention adopts the following technical scheme: in a first aspect, a structural rule description method for building specification index query is provided, including:
acquiring a multi-building BIM model of an item to be queried and a corresponding SNL rule thereof;
extracting entity data of the multi-building BIM model, determining a corresponding entity relation, and constructing a multi-building semantic model of the item to be queried;
analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a to-be-queried item, acquiring an SNL for building index query, and determining a SPARQL query statement for building indexes;
adopting a SPARQL query statement facing to a building index to query in the multi-building semantic model to obtain a building specification index of the multi-building BIM model of the item to be queried;
and analyzing the SNL conclusion clause for the building index query, judging whether the conclusion clause contains calculation, and outputting the corresponding building standard index as a target building standard index according to a judgment result.
Further, still include:
and counting the obtained target building standard index, and storing the target building standard index according to the format of index name-entity name-index value.
Further, the extracting entity data of the multi-building BIM model, determining a corresponding entity relationship, and constructing the multi-building semantic model of the item to be queried includes:
acquiring attribute information in a multi-building BIM (building information modeling) model of an item to be inquired, and storing the attribute information as an entity of a semantic model, wherein the multi-building BIM model comprises a plurality of single building models and a field model;
and extracting entity data of the multi-building BIM model of the item to be queried layer by layer based on a mode from macro to micro, determining a corresponding entity relation, and constructing the multi-building semantic model of the item to be queried.
Further, the step of extracting entity data of the multi-building BIM model of the item to be queried layer by layer based on a macro-to-micro mode, determining a corresponding entity relationship, and constructing the multi-building semantic model of the item to be queried includes:
extracting a monomer building model entity and a site model entity in a multi-building BIM model of the item to be inquired, and storing the monomer building model entity and the site model entity into the inclusion relationship of the corresponding entities;
extracting and organizing entities in the single building model of the multi-building BIM model of the item to be inquired one by one, and storing the entities in the corresponding semantic model structure;
and traversing all components in the multi-building BIM model of the item to be queried, and completing construction of the multi-building semantic model.
Further, the analyzing and obtaining a grammatical structure of the SNL rule corresponding to the multi-building BIM model of the item to be queried, obtaining the SNL for building index query, and determining the SPARQL query statement for building indexes includes:
analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a to-be-inquired item by adopting an SNL grammatical analysis frame, and acquiring SNL for building index query;
and obtaining a SPARQL query statement facing the building index according to the SNL facing the building index query.
Further, the obtaining of the construction index-oriented SPARQL query statement according to the construction index-oriented SNL includes:
identifying target attributes of a multi-building BIM model of an item to be queried by an identifier;
configuring and identifying target attributes of a multi-building BIM model of an item to be queried through attribute mapping;
and skipping the generation of the SPARQL clause corresponding to the SNL conclusion clause for the building index query, and placing the identifiers corresponding to the target attributes into the SELECT clause according to the corresponding sequence in the SNL to obtain the SPARQL query sentence for the building index.
Further, the analyzing a conclusion clause of the SNL for the building index query, determining whether the conclusion clause includes calculation, and outputting a corresponding building specification index as a target building specification index according to a determination result, includes:
analyzing an SNL conclusion clause which faces to the building index query by adopting an SNL grammar analysis frame, and judging whether the conclusion clause contains calculation;
if the calculation is included, backfilling the attribute information in the inquired building specification index into the corresponding attribute of the SNL according to the sequence, calculating the corresponding attribute value, and outputting the calculation result as the target building specification index;
and if the calculation is not included, directly outputting the building specification index obtained by query as a target building specification index.
In a second aspect, a structural rule description system for building specification index query is provided, including:
the input module is used for inputting a multi-building BIM model of the item to be inquired and a corresponding SNL rule thereof;
the semantic model building module is used for extracting entity data of the multi-building BIM model, determining a corresponding entity relationship and building a multi-building semantic model of the item to be queried;
the SNL expansion module is used for analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a project to be inquired, acquiring SNL for building index inquiry and determining a SPARQL inquiry statement for building indexes;
the query module is used for querying in the multi-building semantic model by adopting a SPARQL query sentence oriented to the building index to obtain the building specification index of the multi-building BIM model of the item to be queried;
and the conclusion clause analyzing module is used for analyzing the construction index query-oriented SNL conclusion clauses, judging whether the conclusion clauses contain calculation, and outputting corresponding construction standard indexes as target construction standard indexes according to the judgment results.
In a third aspect, a processing device is provided, which includes computer program instructions, wherein the computer program instructions, when executed by the processing device, are configured to implement the steps corresponding to the above structural rule description method for building specification index query.
In a fourth aspect, a computer-readable storage medium is provided, where the computer-readable storage medium has stored thereon computer program instructions, where the computer program instructions, when executed by a processor, are configured to implement the steps corresponding to the above structured rule description method for building specification index query.
Due to the adoption of the technical scheme, the invention has the following advantages:
1. the invention constructs a semantic model of a project multi-building BIM model, realizes the description of the construction indexes such as greenfield rate, volume rate, building area and the like by expanding a structural natural language SNL facing the engineering field inspection, and simultaneously realizes the query of the rule description indexes by a corresponding SPARQL query statement generation method.
2. The invention can solve the problem that the existing building planning, reporting and establishing and examining tool lacks expandability, and is convenient for users to describe and query building indexes by using self-defined rules.
In summary, the present invention can be widely applied in the field of automatic detection.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Like reference numerals refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a schematic diagram of a CBIM index form configuration window in the prior art according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method provided by an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a multi-building semantic model provided by an embodiment of the invention;
FIG. 4 is a diagram of a sample SNL expansion index query based on identifiers according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an example of an SNL expansion based on configuration-based index query according to an embodiment of the present invention;
FIG. 6 is a diagram of a multi-building BIM model of a project according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a partial rule SNL of an item according to an embodiment of the present invention;
fig. 8 is a diagram illustrating query results of a certain item according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
It is to be understood that the terminology used herein is for the purpose of describing particular example embodiments only, and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" may be intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises," "comprising," "including," and "having" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order discussed or illustrated, unless specifically identified as an order of performance. It should also be understood that additional or alternative steps may be used.
Building planning and reporting are key application fields concerned by automatic checking of building specifications at present, index requirements of such checking are generally related to factors such as geographical positions of projects, areas of the projects and the like, corresponding index values need to be counted and analyzed by a checker to judge whether the projects are in compliance, and the projects cannot be checked in a compliance check mode directly through writing rules. The SNL supports a qualitative rule description method, namely, the relation among the components or the condition which the attribute of the components should meet is described through the rule, and the output result is pass or fail. The language does not support the description of the query rule for the building index, namely the requirement of building planning, reporting, construction and examination cannot be met. The structural rule description method and the system for the Building specification index query, provided by the embodiment of the invention, can be applied to the Building planning and the construction and the examination of other Building index related specifications, and can be used for automatically detecting the Building specification index in a Building Information Model (BIM).
Example 1
As shown in fig. 2, the present embodiment provides a structural rule description method for building specification index query, including the following steps:
1) And inputting a multi-building BIM model of the item to be inquired and a corresponding SNL rule thereof.
Specifically, the multi-building BIM model comprises a plurality of single building models and a site model.
2) Acquiring attribute information in a multi-building BIM model of an item to be queried, and storing the attribute information as an entity of a semantic model.
Specifically, the attribute information includes area entities such as project area, total building area, floor building area, green space area, and underground building area.
More specifically, the attribute information is attribute values that the entity identified by the type of the entity by the audit engine should have, and these attribute values may be implemented by directly adding an attribute field in the entity (for example, adding an area attribute to a green space entity), or by adding an entity (for example, adding a "floor building area" entity on a floor, which has an attribute "area"). The latter has the advantage that the attribute data can be further decoupled, so that the user can select appropriate entities for calculation and statistics in a customized manner, rather than directly exposing the calculated attribute values with larger granularity to the user (for example, directly obtaining the total building area by summing the building areas of the floors of the building).
3) As shown in fig. 3, based on a macro-to-micro manner, entity data of the multi-building BIM model of the item to be queried is extracted layer by layer, a corresponding entity relationship is determined, and a semantic model of the multi-building BIM model of the item to be queried, that is, a multi-building semantic model, is constructed, specifically:
3.1 A single building model entity and a site model entity in a multi-building BIM model of an item to be queried are extracted and stored into the inclusion relationship of the corresponding entities.
Specifically, because the project of the multi-building BIM model includes a plurality of models, in order to avoid the conflict of the numbers corresponding to the entities extracted from the models and influence the uniqueness of the entity data, the model number is adopted: the "normalized" paradigm of entity number "numbers the entities extracted from the model.
Specifically, entity types of a multi-building BIM model of a project to be queried comprise a single building model and a site model, wherein the site model is a main body of the project and is a carrier for realizing the link of the single building model, the single building model comprises a floor entity, a wall entity, a door entity, a window entity and the like, the floor entity comprises a space entity and independent members in the floor, and the space entity comprises members contained in the space and space boundary members; the site model comprises an area entity, a building terrace entity, a green space entity, a parking space entity, a building red line entity and the like.
Specifically, four types of entity relationships are proposed for the entities and attribute data thereof, including a hasSubType inclusion relationship between a multi-building BIM model of the item to be queried and an area entity, a hasSubType inclusion relationship between spaces such as an area and a single building model entity, a building floor entity and a sub-surface area (a component type for modeling a site model, and generally used for modeling entities such as a green land and a road), a containment relationship between components such as an area and a building red line entity, and a hasSubType inclusion relationship between a single building model entity and a building floor entity, as shown in the following Table 1:
table 1: entity relationships in multiple building models
Figure BDA0003735041210000061
It should be noted that the isContaining inclusion and the hasSubType inclusion both have the meaning of "including", but the actual meanings of the two have differences: isContaining includes primarily "space-containing components," such as items including building redlines, room-containing doors, and the like; hasSubType contains mostly "space-containing spaces," e.g., items contain individual buildings, areas contain rooms, etc.
3.2 Extract and organize entities in the single building model of the multi-building BIM model of the item to be queried one by one and store the entities in the corresponding semantic model structure.
3.3 Traverse all the components in the multi-building BIM model of the item to be queried, and complete the construction of the semantic model of the multi-building BIM model, wherein the specific components contained in the item of the multi-building BIM model of the item to be queried can be subject to the components according to specific conditions, for example, if the multi-building BIM model of the item to be queried is not built in a green space, the query cannot be performed because the corresponding entity cannot be extracted.
4) Adopting an SNL grammar analysis frame to analyze and obtain a grammar structure of an SNL rule corresponding to a multi-building BIM model of a project to be inquired, and obtaining the SNL for building index inquiry, which specifically comprises the following steps:
4.1 Parse the grammatical structure of the SNL rule corresponding to the multi-building BIM model of the item to be queried, and locate the conclusion clause (i.e. the clause corresponding to the keyword such as "then" or "all").
4.2 Checking whether a positioned conclusion clause contains a "=" number, wherein the symbol is a necessary identification symbol of the SNL facing to the building index query, and if the symbol is contained, entering a step 4.3); otherwise, the SNL which is not oriented to the building index query needs to execute a conventional examination process.
4.3 Does the identifier "be included in the conclusion clause of the check location? "or attribute name to be queried in the attribute mapping configuration, if the attribute name to be queried in the attribute mapping configuration contains the name, obtaining SNL for building index query; otherwise, the SNL which is not oriented to the building index query needs to execute a conventional examination process.
5) Obtaining a SPARQL (SPARQL Protocol and RDF Query Language ) Query statement facing the building index according to the SNL facing the building index Query, which specifically comprises the following steps:
5.1 By identifier "? "identify target attributes of the multi-building BIM model for the item to be queried, as shown in FIG. 4.
5.2 Target attributes of the multi-building BIM model that identifies the item to be queried through attribute mapping configuration, as shown in fig. 5.
5.3 Skip the generation of the SPARQL clause corresponding to the SNL conclusion clause for the building index query, and place the identifiers corresponding to the target attributes into a Selection (SELECT) clause from left to right according to the corresponding sequence in the SNL to obtain a SPARQL query sentence for the building index.
6) And querying by adopting a SPARQL query statement facing to the building index in the multi-building semantic model to obtain the building specification index of the multi-building BIM model of the item to be queried, including the corresponding relation between the target entity and the attribute information.
Specifically, the correspondence between the target entity and the attribute information obtained in this step is, for example, the total building area of a certain building, but it is necessary to determine whether the target entity is an object to be examined by the following steps.
7) Adopting an SNL syntax analysis frame to analyze SNL conclusion clauses which are inquired facing to the building indexes, judging whether the conclusion clauses contain calculation, if so, backfilling inquired attribute information into corresponding attributes of the SNL from left to right, calculating corresponding attribute values in a middle-order calculation mode, and outputting calculation results as target building standard indexes; and if the calculation is not included, directly outputting the building specification index obtained by inquiry as a target building specification index.
Specifically, the calculation result is a multi-attribute comprehensive index including a volume rate and a greenbelt rate.
Specifically, the purpose of calculating and obtaining the corresponding attribute value is to process a building specification index including multiple attribute calculation, such as a volume fraction, the attribute is usually obtained by dividing the total building area of the project by the planning land area of the project, the entities obtained by query in step 6) should be a plurality of buildings and a planning land, and the total building area attribute and the planning land area attribute corresponding to each building, and these attributes are calculated by corresponding calculation formulas and obtained as the target building specification index.
8) And counting the obtained target building standard index, and storing the target building standard index according to the format of index name-entity name-index value.
The structural rule description method for the building specification index query of the invention is explained in detail by the following specific embodiments:
as shown in fig. 6, the project includes four individual buildings and four greenbelts, each individual building includes eight floors, the SNL of the partial rules is shown in fig. 7, and the final query result is shown in fig. 8, wherein the area of the underground building has no query value because the project does not have underground parts, and the result also conforms to the result obtained by calculation using the corresponding attributes for the building indexes obtained by multi-attribute calculation such as volume ratio, greenbelt ratio, and the like.
Example 2
The embodiment provides a structural rule description system for building specification index query, which includes:
and the input module is used for inputting the multi-building BIM model of the item to be inquired and the corresponding SNL rule thereof.
And the semantic model building module is used for extracting entity data of the multi-building BIM model, determining a corresponding entity relationship and building the multi-building semantic model of the item to be queried.
And the SNL expansion module is used for analyzing and acquiring a grammatical structure of an SNL rule corresponding to the multi-building BIM model of the item to be inquired, acquiring the SNL for the building index inquiry and determining the SPARQL inquiry statement for the building index.
And the query module is used for querying the multi-building semantic model by adopting a SPARQL query statement facing the building index to obtain the building specification index of the multi-building BIM model of the item to be queried.
And the conclusion clause analyzing module is used for analyzing the construction index query-oriented SNL conclusion clauses, judging whether the conclusion clauses contain calculation, and outputting corresponding construction standard indexes as target construction standard indexes according to the judgment results.
The system provided in this embodiment is used for executing the above method embodiments, and for details of the process and the details, reference is made to the above embodiments, which are not described herein again.
Example 3
This embodiment provides a processing device corresponding to the method for describing structural rules for building specification index query provided in embodiment 1, where the processing device may be a processing device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, etc., to execute the method of embodiment 1.
The processing equipment comprises a processor, a memory, a communication interface and a bus, wherein the processor, the memory and the communication interface are connected through the bus so as to complete mutual communication. The memory stores a computer program that can be run on the processing device, and the processing device executes the structural rule description method for the building specification index query provided in embodiment 1 when running the computer program.
In some implementations, the Memory may be a high-speed Random Access Memory (RAM), and may also include a non-volatile Memory, such as at least one disk Memory.
In other implementations, the processor may be any type of general-purpose processor such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), and the like, and is not limited herein.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
Those skilled in the art will appreciate that the above-described configurations of computing devices are merely some of the configurations associated with the present application and do not constitute limitations on the computing devices to which the present application may be applied, as a particular computing device may include more or fewer components, or some components in combination, or have a different arrangement of components.
Example 4
The present embodiment provides a computer program product corresponding to the structural rule description method for building specification index query provided in this embodiment 1, and the computer program product may include a computer readable storage medium on which computer readable program instructions for executing the structural rule description method for building specification index query described in this embodiment 1 are loaded.
The computer readable storage medium may be a tangible device that retains and stores instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the foregoing.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above embodiments are only used for illustrating the present invention, and the structure, connection mode, manufacturing process, etc. of the components may be changed, and all equivalent changes and modifications performed on the basis of the technical solution of the present invention should not be excluded from the protection scope of the present invention.

Claims (10)

1. A structural rule description method for building specification index query is characterized by comprising the following steps:
acquiring a multi-building BIM model of an item to be queried and a corresponding SNL rule thereof;
extracting entity data of the multi-building BIM model, determining a corresponding entity relation, and constructing a multi-building semantic model of the item to be queried;
analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a to-be-queried item, acquiring an SNL for building index query, and determining a SPARQL query statement for building indexes;
adopting a SPARQL query statement facing to a building index to query in the multi-building semantic model to obtain a building specification index of the multi-building BIM model of the item to be queried;
and analyzing the SNL conclusion clause for the building index query, judging whether the conclusion clause contains calculation, and outputting the corresponding building standard index as a target building standard index according to a judgment result.
2. The method for describing the structural rule oriented to the building specification index query according to claim 1, further comprising:
and counting the obtained target building standard index, and storing the target building standard index according to the format of index name-entity name-index value.
3. The structural rule description method for building specification index query as claimed in claim 1, wherein the extracting entity data of the multi-building BIM model, determining corresponding entity relationship, and constructing the multi-building semantic model of the item to be queried comprises:
acquiring attribute information in a multi-building BIM (building information modeling) model of an item to be inquired, and storing the attribute information as an entity of a semantic model, wherein the multi-building BIM model comprises a plurality of single building models and a field model;
and extracting entity data of the multi-building BIM model of the item to be queried layer by layer based on a macroscopic-microscopic mode, determining a corresponding entity relationship, and constructing the multi-building semantic model of the item to be queried.
4. The method for describing the structural rules for building specification index query as claimed in claim 3, wherein the step of extracting the entity data of the multi-building BIM model of the item to be queried layer by layer based on a macro-to-micro manner, determining the corresponding entity relationship, and constructing the multi-building semantic model of the item to be queried comprises the steps of:
extracting a monomer building model entity and a site model entity in a multi-building BIM model of the item to be inquired, and storing the monomer building model entity and the site model entity into the inclusion relationship of the corresponding entities;
extracting and organizing entities in the single building model of the multi-building BIM model of the item to be queried one by one, and storing the entities in the corresponding semantic model structure;
and traversing all components in the multi-building BIM model of the item to be queried, and completing construction of the multi-building semantic model.
5. The method for describing the structural rule for building specification index query according to claim 1, wherein the analyzing and obtaining the syntactic structure of the SNL rule corresponding to the multi-building BIM model of the item to be queried, obtaining the SNL for building index query, and determining the SPARQL query sentence for building index comprises:
analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a to-be-inquired item by adopting an SNL grammatical analysis frame, and acquiring SNL for building index query;
and obtaining the SPARQL query statement facing the building index according to the SNL facing the building index query.
6. The method for describing the structural rule for the building specification index query as claimed in claim 5, wherein the obtaining of the construction index oriented SPARQL query statement according to the construction index query oriented SNL includes:
identifying target attributes of a multi-building BIM model of an item to be queried by an identifier;
configuring and identifying target attributes of a multi-building BIM model of an item to be queried through attribute mapping;
and skipping the generation of the SPARQL clause corresponding to the SNL conclusion clause for the building index query, and placing the identifiers corresponding to the target attributes into the SELECT clause according to the corresponding sequence in the SNL to obtain the SPARQL query sentence for the building index.
7. The method for describing the structural rule for querying the building specification index as claimed in claim 1, wherein the parsing the SNL conclusion clause for querying the building specification index, determining whether the conclusion clause contains the calculation, and outputting the corresponding building specification index as the target building specification index according to the determination result comprises:
adopting an SNL syntax analysis frame to analyze SNL conclusion clauses which are inquired facing to the building indexes, and judging whether the conclusion clauses contain calculation;
if the calculation is included, backfilling the attribute information in the inquired building specification index into the corresponding attribute of the SNL according to the sequence, calculating the corresponding attribute value, and outputting the calculation result as the target building specification index;
and if the calculation is not included, directly outputting the building specification index obtained by inquiry as a target building specification index.
8. A structured rule description system for building specification index query is characterized by comprising:
the input module is used for inputting a multi-building BIM model of the item to be inquired and a corresponding SNL rule thereof;
the semantic model building module is used for extracting entity data of the multi-building BIM model, determining a corresponding entity relationship and building a multi-building semantic model of the item to be queried;
the SNL expansion module is used for analyzing and acquiring a grammatical structure of an SNL rule corresponding to a multi-building BIM model of a project to be inquired, acquiring SNL for building index inquiry and determining a SPARQL inquiry statement for building indexes;
the query module is used for querying the multi-building BIM model by adopting a SPARQL query statement facing the building index in the multi-building semantic model to obtain the building specification index of the multi-building BIM model of the item to be queried;
and the conclusion clause analyzing module is used for analyzing the construction index query-oriented SNL conclusion clauses, judging whether the conclusion clauses contain calculation, and outputting corresponding construction standard indexes as target construction standard indexes according to the judgment results.
9. A processing device, characterized by comprising computer program instructions, wherein the computer program instructions, when executed by the processing device, are configured to implement the steps corresponding to the structured rule description method for building specification index query recited in any one of claims 1 to 7.
10. A computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, are configured to implement the steps corresponding to the structural rule description method for building specification index query as claimed in any one of claims 1-7.
CN202210794287.4A 2022-07-07 2022-07-07 Structural rule description method and system for building specification index query Pending CN115168392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210794287.4A CN115168392A (en) 2022-07-07 2022-07-07 Structural rule description method and system for building specification index query

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210794287.4A CN115168392A (en) 2022-07-07 2022-07-07 Structural rule description method and system for building specification index query

Publications (1)

Publication Number Publication Date
CN115168392A true CN115168392A (en) 2022-10-11

Family

ID=83490956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210794287.4A Pending CN115168392A (en) 2022-07-07 2022-07-07 Structural rule description method and system for building specification index query

Country Status (1)

Country Link
CN (1) CN115168392A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576523A (en) * 2022-12-12 2023-01-06 数云科际(深圳)技术有限公司 Method for automatically generating check rule statement based on template

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576523A (en) * 2022-12-12 2023-01-06 数云科际(深圳)技术有限公司 Method for automatically generating check rule statement based on template

Similar Documents

Publication Publication Date Title
CN104899225B (en) Object Relation Mapping method, apparatus and processor
CN104756106B (en) Data source in characterize data storage system
CN104769586B (en) Using location information profile data
US20030121011A1 (en) Functional coverage analysis systems and methods for verification test suites
CN107357970B (en) Data mining-based building information model abnormal element detection device and method
CN110096513A (en) A kind of data query, fund checking method and device
WO2006022739B1 (en) Method and system for processing grammar-based legality expressions
CN105446966A (en) Relation data-to-RDF format data mapping rule generation method and device
CN103488475B (en) Multidimensional data analysis system and multidimensional data analysis method
CN103262076A (en) Analytical data processing
Moreau Aggregation by provenance types: A technique for summarising provenance graphs
CN108664509A (en) A kind of method, apparatus and server of extemporaneous inquiry
CN114037219A (en) Data evaluation method and device and electronic equipment
CN109002499A (en) Subject pertinence knowledge point base construction method and its system
CN107783786A (en) A kind of method and apparatus for creating device resource
CN115168392A (en) Structural rule description method and system for building specification index query
CN115357678A (en) GIS automatic examination method and system based on structured natural language rule
Pan et al. Class structure refactoring of object-oriented softwares using community detection in dependency networks
Shafiq et al. Application of signature-based matching for IFC model comparison
CN113626558A (en) Intelligent recommendation-based field standardization method and system
CN117216038A (en) Asset data management system
CN104462461A (en) Form null value check processing method and device
CN111143432A (en) Data analysis early warning system and method for event processing result
CN105573984A (en) Socio-economic indicator identification method and device
CN112347314B (en) Data resource management system based on graph database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination