Method for fusing triangular graph and knowledge graph

文档序号:1963790 发布日期:2021-12-14 浏览:13次 中文

阅读说明:本技术 一种三角图与知识图谱的融合方法 (Method for fusing triangular graph and knowledge graph ) 是由 胡志臣 许小龙 胡祥奔 唐柏轩 于 2021-08-23 设计创作,主要内容包括:本发明公开了一种三角图与知识图谱的融合方法,属于知识图谱的技术领域。其包括步骤1:利用马尔可夫图方法将含有三角图的沉积学PDFA文件转换为灰度图像;步骤2:重构砂岩三角图,根据三角图获取底边数据,计算每个三角图图形边缘值;步骤3:分析沉积学中各砂岩实体与砂岩实体间关系,去除同义砂岩实体名,构建沉积学领域砂岩知识图谱;步骤4:对砂岩内部成分划界,计算各砂岩实体之间临界值,明确砂岩内各组成成分的含量范围值;步骤5:构建三角图与知识图谱的链接关系,形成砂岩图谱三角图,实现每次点击三角图内任一点时,获取到对应三角图各属性值,并产生对应砂岩实体知识图谱,提供了适用于砂岩三角图分析数值工作的方法。(The invention discloses a method for fusing a triangular graph and a knowledge graph, and belongs to the technical field of knowledge graphs. Which comprises the following steps of 1: converting the sedimentology PDFA file containing the triangular graph into a gray level image by using a Markov graph method; step 2: reconstructing a sandstone triangle, acquiring bottom edge data according to the triangle, and calculating the edge value of each triangle graph; and step 3: analyzing the relationship between each sandstone entity and the sandstone entity in the sedimentology, removing the name of the synonymous sandstone entity, and constructing a sandstone knowledge graph in the field of the sedimentology; and 4, step 4: demarcating internal components of the sandstone, calculating critical values among sandstone entities, and determining content range values of the components in the sandstone; and 5: the method is suitable for analyzing numerical values of the sandstone trigonometric graphs.)

1. A method for fusing a triangular graph and a knowledge graph is characterized in that:

step 1: converting the sedimentology PDFA file containing the triangular graph into a gray level image by using a Markov graph method;

step 2: reconstructing a sandstone triangle, acquiring bottom edge data according to the triangle, and calculating the edge value of each triangle graph;

and step 3: analyzing the relationship between each sandstone entity and the sandstone entity in the sedimentology, removing the name of the synonymous sandstone entity, and constructing a sandstone knowledge graph in the field of the sedimentology;

and 4, step 4: demarcating internal components of the sandstone, calculating critical values among sandstone entities, and determining content range values of the components in the sandstone;

and 5: and constructing a link relation between the triangular graph and the knowledge graph to form the sandstone graph triangular graph, and acquiring each attribute value of the corresponding triangular graph and generating the corresponding sandstone entity knowledge graph when any point in the triangular graph is clicked each time.

2. The fusion method according to claim 1, wherein: in the first step, the Markov graph method converts all each page of the sedimentology PDFA file containing the triangular graph into a document in a picture format, and the state transition matrix P of the Markov chain is expressed as { Pi,jI is more than or equal to |0 and less than or equal to 255, j is more than or equal to 0 and less than or equal to 255, wherein P isi,jIs the conversion probability from byte value i to byte value j in the PDFA byte stream, and the calculation method is shown as the following formula:

in the formula, Wi,jIs the number of transitions from byte value I to byte value j in the PDFA byte stream, the state transition matrix P is scaled to I:

I=255/max(p)P;

in the formula, the image sizes of the markov images of all PDFA files are the same, and the pixel of the image is 256 × 256, and max (p) represents the maximum probability of the transition from byte value i to byte value j in the PDFA byte stream.

3. The fusion method according to claim 2, wherein in step 2, the specific contents of the reconstructed sandstone triangular map are as follows:

in the PDFA file, the triangular graph is presented as an equilateral triangle, which appears at random positions of the file, and the abscissa of the PDFA file is defined as X and the ordinate is defined as X in the computerY, X ═ 0 denotes the leftmost side of the document, Y ═ 0 denotes the uppermost side of the document, and the lower left corner of the triangular graph is marked with a symbol (X)0,y0) Wherein x is0Represents the abscissa, y, of the lower left corner of the triangular map0Represents the vertical coordinate of the lower left corner of the triangular picture, (x)2,y2) Represents the coordinates of the lower right corner point of the triangular map, where x2Represents the abscissa, y, of the lower right corner of the triangular map2Representing the vertical coordinate of the right lower corner point of the triangular picture, and calculating the vertex coordinate (x) of the triangular picture1,y1) Comprises the following steps:

x1=(x2-x0)/2;

in the formula x2-x0Representing the length of the base of the triangular graph.

4. The fusion method according to claim 3, wherein:

in step 3, the knowledge graph comprises an ontology dictionary list and an entity relationship dictionary list, text of all textbooks in the sedimentary sandstone field is integrated, the ontology dictionary list of all sandstone entities, attributes and frames in the textbook is obtained, meanwhile, the relationship among the sandstone entities, the attributes and the frames is integrated, and the entity relationship dictionary list is obtained; the ontology dictionary list dataset SST ═ SST1,sst2,...,sstNIn which sst1An ontology list, sst, representing a first category2An ontology list, sst, representing a second categoryNRepresenting an ontology dictionary list of the Nth category, and traversing all ontology names to remove the same ontology name at the same time to ensure the uniqueness of the ontology; SSTR ═ { SSTR ═ SSTR1,2,,sstr1,3,...,sstrM,NWherein sstr1,2Representation sst1And sst2Existence of an ontological relationship, sstr1,3Representation sst1And sst3Existence of an ontological relationship, sstrM,NRepresentation sstMAnd sstNAn ontology relationship exists;

the category of the entity relation dictionary list is recorded as a multi-attribute tuple, the category in the SSTR is expressed as sr ═ (Garzanti, Dott, Gilbert, Pettijohn, Crook, Dapples, Folk, mcbrid, Van _ Andel, Wackes, Arenite, Firstproperties, Secondproperties, thirtproperties, Forthproperties, datapropertiy), wherein Garzanti represents the definition of the Garzanti for the sandstone category in the ontology relation, Dott represents the definition of the dokt for the sandstone category in the ontology relation, Gilbert represents the definition of the Gilbert for the sandstone category in the ontology relation, Pettijohn represents the definition of the Pettijohn for the sandstone category in the ontology relation, Crook represents the definition of the Crook for the sandstone in the ontology relation, and valkikyphos represents the definition of the sandstone in the ontology relation, and valkikypbork represents the content of the pigeon for the pigeon in the ontology relation, valkiken represents the definition of the pigeon for the pigeon in the ontology relation, and valken for the pigeon in the ontology relation, and valken in the pigeon for the pigeon in the pigeonhole in the ontology relation, and the pigeonhole in the pigeon in the pigeonhole in the ontology relation, the pigeonhole in the pigeon type in the pigeonhole in the ontology relation, the pigeonhole in the ontology relation, the pigeonhole in the pigeonhole classification in the pigeonhole classification in the pigeonhole, arenite represents the classification definition of the content of sandstone types in the ontology relationship, FirstProperties, SecondProperties, ThirdProperties and ForthProperties represent the definition of the hierarchical properties in the ontology relationship, and Dataproperty represents the definition of the quantity properties of each part in the ontology relationship.

5. The fusion method according to claim 4, wherein in step 5, the specific steps of constructing the link relation between the triangular graph and the knowledge graph are as follows:

step 5.1: defining each side of an equilateral triangle of the triangular diagram as a 0% to 100% graduated scale, defining the content of feldspar F from the left lower corner point to the right lower corner point of the triangular diagram as the range of 0% to 100%, defining the content of quartz Q from the vertex to the left lower corner point as the range of 0% to 100%, and defining the content of rock debris L from the vertex to the right lower corner point as the range of 0% to 100%;

step 5.2: calculating the proportion P of any point in the triangle and the corresponding value V;

let the vertex be P1The lower left corner point is P0And the lower right corner is P2Corresponding to a numerical value of V1,V0,V2

Calculating a quartz edge value V'1:V′1=(1-T2)*V0+T2*V1

Rock debris side value V'2:V′2=(1-T1)*V2+T1*V0

Feldspar limit value V'3:V′3=1-V′1-V′2

6. The fusion method according to claim 5, wherein in step 5, the quartz edge value calculation method comprises the following specific steps:

first, a parallel line parallel to the right triangle side is made, and passes through a point in the triangle graph, the intersection of the left triangle side is a point, and the coordinate is defined as P'1The corresponding value is V'1Intersecting the bottom side triangle side as a point, and the coordinates are defined as P'2The corresponding value is V'2Setting line segment P'1To P in the bus segment P1To P2Ratio T of1As the formula:

T1=P′1-P/P1-P2

of formula (II) to (III)'1-P is point P'1Vector to P, P1-P2Is P1To P2The vector of (a);

line segment P 'is additionally set'1To P0Occupies bus segment P1To P0Ratio T of2As the formula:

T2=P′1-P0/P1-P0

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (A), P1-P0Is P1To P0The vector of (a);

similarly, P 'due to the proportional relationship of corresponding sides of similar triangles'2To P0Has a proportionality coefficient of T2Similarly, vector P'2To P'1Relative and vector P2To P1Has a proportionality coefficient of T2

According to the vector theorem, the following results are obtained:

P1′-P0=(P1′-P0)+(P1′-P)

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (1), P'1-P0Is P'1To P0Vector of (1), P'1-P is P'1The vector from P, the head vector and the tail vector and the third vector which is connected from head to tail can be converted into:

T2*(P1-P0)=(P-P0)+T1*(P2-P1)

vertex is P1The lower left corner point is P0And the lower right corner is P2According to claim 3, the coordinate points (x) are respectively corresponded to1,y1),(x0,y0),(x2,y2) The formula can be further refined as:

in the formula, x1-x0Represents P1Corresponding point (x)1,y1) In x1Minus P0Corresponding point (x)0,y0) Is a subtraction of values, not x1To x0Vector of (2), like x2-x1Represents P2Corresponding point (x)2,y2) In x2Minus P1Corresponding point (x)1,y1) Is a subtraction of values, not x2To x1Can utilize (x)1,y1),(x0,y0),(x2,y2) Find the corresponding T1,T2A value;

therefore, the quartz edge value V 'can be finally calculated'1

V1′=(1-T2)*V0+T2*V1

Technical Field

The invention relates to the technical field of knowledge graphs, in particular to a method for fusing a triangular graph and a knowledge graph.

Background

The knowledge graph is a cross discipline integrating related fields of linguistics, computer science, mathematics and the like, and gradually permeates various industries for text data mining and information storage. Currently, a large number of enterprises and organizations reason out valuable core hotspots, either entirely or partially through knowledge-graphs, to reduce retrieval time and improve information analysis capabilities.

The analysis amount of the triangle graph data in the text is continuously increased in the field of sedimentology, and particularly in the big data era, the analysis of the triangle graph data needs to learn and master various classification categories and complicated naming types, so that the difficulty of exploration and research is greatly increased. In order to cope with the increasing demands of analysis, the field of sedimentology requires domain experts to learn analysis-related control manuals. The current sedimentology field generally depends on manual query fixed points, which can consume a large amount of time, influence data timeliness and restrict the dynamic development of the information-based industry.

With the wide application of the triangulation in the field of sedimentology sandstone, the data of hot spots generated by the text triangulation is increased day by day, and the data analysis in the triangulation is challenged. In order to meet the urgent need of saving time and expense in the field of sedimentology, how to realize sedimentology-oriented text triangulation positioning analysis in knowledge graph processing supporting triangulation data is a hot point of attention in the industry and academia.

Disclosure of Invention

The invention provides a fusion method of a triangular graph and a knowledge graph in sedimentology sandstone field literature, aiming at the vacancy that the triangular graph in the sedimentology sandstone field text corresponds to sandstone types and ontology relations and cannot be directly associated, and the method is suitable for analyzing numerical work by the sandstone triangular graph.

In order to achieve the purpose, the invention adopts the following technical scheme:

the invention relates to a method for fusing a triangular graph and a knowledge graph,

step 1: converting the sedimentology PDFA file containing the triangular graph into a gray level image by using a Markov graph method;

step 2: reconstructing a sandstone triangle, acquiring bottom edge data according to the triangle, and calculating the edge value of each triangle graph;

and step 3: analyzing the relationship between each sandstone entity and the sandstone entity in the sedimentology, removing the name of the synonymous sandstone entity, and constructing a sandstone knowledge graph in the field of the sedimentology;

and 4, step 4: demarcating internal components of the sandstone, calculating critical values among sandstone entities, and determining content range values of the components in the sandstone;

and 5: and constructing a link relation between the triangular graph and the knowledge graph to form the sandstone graph triangular graph, and acquiring each attribute value of the corresponding triangular graph and generating the corresponding sandstone entity knowledge graph when any point in the triangular graph is clicked each time.

Further, in step one, the Markov graph method converts each page of the sedimentology PDFA file containing the triangular graph into a document in picture format, and the state transition matrix P of the Markov chain is expressed as { Pi,jI is more than or equal to |0 and less than or equal to 255, j is more than or equal to 0 and less than or equal to 255, wherein P isi,jIs the conversion probability from byte value i to byte value j in the PDFA byte stream, and the calculation method is shown as the following formula:

in the formula, Wi,jIs the number of transitions from byte value I to byte value j in the PDFA byte stream, the state transition matrix P is scaled to I:

I=255/max(p)P;

in the formula, the image sizes of the markov images of all PDFA files are the same, and the pixel of the image is 256 × 256, and max (p) represents the maximum probability of the transition from byte value i to byte value j in the PDFA byte stream.

Further, in step 2, the specific content of the reconstructed sandstone triangle is as follows:

in the PDFA file, the triangular graph is presented as an equilateral triangle, which appears at random positions of the file, and in the computer, the abscissa of the PDFA file is defined as X, the ordinate is defined as Y, wherein X ═ 0 represents the leftmost side of the file, Y ═ 0 represents the uppermost side of the file, and the lower left corner point of the triangular graph is defined as (X is the lower corner point of the triangular graph)0,y0) Wherein x is0Represents the abscissa, y, of the lower left corner of the triangular map0Representing the left lower corner vertical of the triangular pictureCoordinate (x)2,y2) Represents the coordinates of the lower right corner point of the triangular map, where x2Represents the abscissa, y, of the lower right corner of the triangular map2Representing the vertical coordinate of the right lower corner point of the triangular picture, and calculating the vertex coordinate (x) of the triangular picture1,y1) Comprises the following steps:

x1=(x2-x0)/2;

in the formula x2-x0Representing the length of the base of the triangular graph.

Further, in step 3, the knowledge graph comprises an ontology dictionary list and an entity relation dictionary list,

integrating texts of all textbooks in the sedimentology sandstone field, acquiring an ontology dictionary list of all sandstone entities, attributes and frames in the textbook, simultaneously integrating the relationship among the sandstone entities, the attributes and the frames, and acquiring an entity relationship dictionary list; the ontology dictionary list dataset SST ═ SST1,sst2,...,sstNIn which sst1An ontology list, sst, representing a first category2An ontology list, sst, representing a second categoryNRepresenting an ontology dictionary list of the Nth category, and traversing all ontology names to remove the same ontology name at the same time to ensure the uniqueness of the ontology; SSTR ═ { SSTR ═ SSTR1,2,,sstr1,3,...,sstrM,NWherein sstr1,2Representation sst1And sst2Existence of an ontological relationship, sstr1,3Representation sst1And sst3Existence of an ontological relationship, sstrM,NRepresentation sstMAnd sstNAn ontology relationship exists;

the category of the entity relation dictionary list is recorded as a multi-attribute tuple, the category in the SSTR is expressed as sr ═ (Garzanti, Dott, Gilbert, Pettijohn, Crook, Dapples, Folk, mcbrid, Van _ Andel, Wackes, Arenite, Firstproperties, Secondproperties, thirtproperties, Forthproperties, datapropertiy), wherein Garzanti represents the definition of the Garzanti for the sandstone category in the ontology relation, Dott represents the definition of the dokt for the sandstone category in the ontology relation, Gilbert represents the definition of the Gilbert for the sandstone category in the ontology relation, Pettijohn represents the definition of the Pettijohn for the sandstone category in the ontology relation, Crook represents the definition of the Crook for the sandstone in the ontology relation, and valkikyphos represents the definition of the sandstone in the ontology relation, and valkikypbork represents the content of the pigeon for the pigeon in the ontology relation, valkiken represents the definition of the pigeon for the pigeon in the ontology relation, and valken for the pigeon in the ontology relation, and valken in the pigeon for the pigeon in the pigeonhole in the ontology relation, and the pigeonhole in the pigeon in the pigeonhole in the ontology relation, the pigeonhole in the pigeon type in the pigeonhole in the ontology relation, the pigeonhole in the ontology relation, the pigeonhole in the pigeonhole classification in the pigeonhole classification in the pigeonhole, arenite represents the classification definition of the content of sandstone types in the ontology relationship, FirstProperties, SecondProperties, ThirdProperties and ForthProperties represent the definition of the hierarchical properties in the ontology relationship, and Dataproperty represents the definition of the quantity properties of each part in the ontology relationship.

Further, in step 5, the specific steps of constructing the link relationship between the triangular graph and the knowledge graph are as follows:

step 5.1: defining each side of an equilateral triangle of the triangular diagram as a 0% to 100% graduated scale, defining the content of feldspar F from the left lower corner point to the right lower corner point of the triangular diagram as the range of 0% to 100%, defining the content of quartz Q from the vertex to the left lower corner point as the range of 0% to 100%, and defining the content of rock debris L from the vertex to the right lower corner point as the range of 0% to 100%; step 5.2: calculating the proportion P of any point in the triangle and the corresponding value V;

let the vertex be P1The lower left corner point is P0And the lower right corner is P2Corresponding to a numerical value of V1,V0,V2

Calculating a quartz edge value V'1:V′1=(1-T2)*V0+T2*V1

Rock debris side value V'2:V′2=(1-T1)*V2+T1*V0

Feldspar limit value V'3:V′3=1-V′1-V′2

Further, in step 5, the quartz edge value calculation method specifically includes the following steps:

first, a parallel line parallel to the right triangle side is made, and passes through a point in the triangle graph, the intersection of the left triangle side is a point, and the coordinate is defined as P'1The corresponding value is V'1Intersecting the bottom side triangle side as a point, and the coordinates are defined as P'2The corresponding value is V'2Setting line segment P'1To P in the bus segment P1To P2Ratio T of1As the formula:

T1=P′1-P/P1-P2

of formula (II) to (III)'1-P is point P'1Vector to P, P1-P2Is P1To P2The vector of (a);

line segment P 'is additionally set'1To P0Occupies bus segment P1To P0Ratio T of2As the formula:

T2=P′1-P0/P1-P0

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (A), P1-P0Is P1To P0The vector of (a);

similarly, P 'due to the proportional relationship of corresponding sides of similar triangles'2To P0Has a proportionality coefficient of T2Similarly, vector P'2To P'1Relative and vector P2To P1Has a proportionality coefficient of T2

According to the vector theorem, the following results are obtained:

P′1-P0=(P′1-P0)+(P′1-P)

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (1), P'1-P0Is P'1To P0Vector of (1), P'1-P is P'1To PThe vector, head-to-tail two vectors and a third vector which is connected end to end can be converted into:

T2*(P1-P0)=(P-P0)+T1*(P2-P1)

vertex is P1The lower left corner point is P0And the lower right corner is P2According to claim 3, the coordinate points (x) are respectively corresponded to1,y1),(x0,y0),(x2,y2) The formula can be further refined as:

in the formula, x1-x0Represents P1Corresponding point (x)1,y1) In x1Minus P0Corresponding point (x)0,y0) Is a subtraction of values, not x1To x0Vector of (2), like x2-x1Represents P2Corresponding point (x)2,y2) In x2Minus P1Corresponding point (x)1,y1) Is a subtraction of values, not x2To x1Can utilize (x)1,y1),(x0,y0),(x2,y2) Find the corresponding T1,T2A value;

therefore, the quartz edge value V 'can be finally calculated'1

V′1=(1-T2)*V0+T2*V1

Advantageous effects

1. According to the invention, by designing a text mining method based on sandstone classification types and knowledge maps, complete sandstone knowledge map classification is constructed in the sedimentology sandstone field, and dynamic extraction of text triangle map data is realized;

2. the trigonometric graph is analyzed and positioned in the sedimentology text, so that accurate numerical values of feldspar, quartz and rock debris corresponding to each point in the trigonometric graph can be analyzed;

3. linking two field characteristics of the triangular map and the knowledge graph, analyzing corresponding sandstone through the triangular map, analyzing and finding out corresponding knowledge elements in the knowledge graph, and developing corresponding related characteristics;

4. the method and the system can complete real-time correspondence of system tools, can analyze the triangular graph in the text in real time, reduce the time consumption for corresponding search of experts in the field of sedimentology, and improve the accuracy of identifying key information.

Drawings

FIG. 1 is a flow chart of a method of fusion of a trigonometric graph and a knowledge graph of the present invention;

fig. 2 is a display view of the sandstone triangle of fig. 1.

Detailed Description

The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.

It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.

The invention provides a method for fusing a triangular graph and a knowledge graph in the literature of the sedimentology sandstone field, which comprises the following steps of:

step 1: the sedimentology PDFA file containing the triangular map is converted into a grayscale image using image visualization techniques.

The image visualization technology adopts a Markov graph method to convert all each page of the sedimentology PDFA file containing the triangular graph into a document in a picture format. The state space of its markov chain is a set of possible values of one byte, represented as: s ═ 0, 1,. ·, 255. Downloading a sedimentology PDFA file containing a triangular graph, wherein the PDFA file represents a standard file in a PAF file, is not encrypted and is not presented in an overall picture form, and is used as a byte stream file, and the byte stream of the PDFA file is represented as 256 byte streamsA state transition matrix of a Markov chain of states. The Markov chain's state transition matrix P is denoted as { Pi,jI is more than or equal to |0 and less than or equal to 255, j is more than or equal to 0 and less than or equal to 255, wherein P isi,jIs the conversion probability from byte value i to byte value j in the PDFA byte stream, and the calculation method is shown as the following formula:

in the formula, Wi,jIs the number of transitions from byte value i to byte value j in the PDFA byte stream. For display as a grayscale bitmap image, the state transition matrix P is scaled to I:

I=255/max(p)P;

in the formula, the image sizes of the markov images of all the PDFA files are the same, and the pixels of the images are 256 × 256. max (p) is expressed as the maximum probability of a transition from byte value i to byte value j in the PDFA byte stream.

Step 2: reconstructing each triangular graph, obtaining bottom edge data according to the triangular graphs, and calculating the edge value of each triangular graph.

The triangular graph is a visual representation of researching the content of each part of sandstone in the field of sedimentology sandstone, and is shown in figure 2. In the PDFA file, the triangle graph appears as an equilateral triangle, which appears at random locations of the file. In the computer, the abscissa of the PDFA file is defined as X, the ordinate is defined as Y, X ═ 0 indicates the leftmost side of the file, Y ═ 0 indicates the uppermost side of the file, and the lower left corner of the triangular graph is marked with a dot (X) to define (X)0,y0) Wherein x is0Represents the abscissa, y, of the lower left corner of the triangular map0Representing the ordinate of the lower left corner of the triangular picture. (x)2,y2) Represents the coordinates of the lower right corner point of the triangular chart, wherein x2Represents the abscissa, y, of the lower right corner of the triangular map2Represents the ordinate of the lower right corner point of the triangular picture. Calculating the vertex coordinates (x) of the triangular graph1,y1) Comprises the following steps:

x1=(x2-x0)/2;

in the formula x2-x0Representing the length of the base of the triangular graph.

And step 3: and analyzing the relationship between each sandstone entity and the sandstone entity in the sedimentology, removing the name of the synonymous sandstone entity, and constructing a sandstone knowledge graph in the field of the sedimentology.

And integrating texts of all textbooks in the sedimentology sandstone field, and acquiring an ontology dictionary list of all sandstone entities, attributes and frames in the textbooks. And simultaneously integrating the relationship among the sandstone entities, the attributes and the framework, and integrating the relationship into an entity relationship dictionary list. Ontology dictionary list dataset SST ═ { SST ═ SST1,sst2,...,sstNIn which sst1An ontology list, sst, representing a first category2An ontology list, sst, representing a second categoryNRepresenting an ontology dictionary list of the Nth category, and traversing all ontology names to remove the same ontology name at the same time to ensure the uniqueness of the ontology; SSTR ═ { SSTR ═ SSTR1,2,,sstr1,3,...,sstrM,NWherein sstr1,2Representation sst1And sst2Existence of an ontological relationship, sstr1,3Representation sst1And sst3Existence of an ontological relationship, sstrM,NRepresentation sstMAnd sstNAn ontology relationship exists;

the category record of the entity relation dictionary list is a multi-attribute tuple, the category in the SSTR is represented by sr ═ (Garzanti, Dott, Gilbert, Pettijohn, Crook, Dapples, Folk, mcbrid, Van _ Andel, Wackes, Arenite, Firstproperties, Secondproperties, thirtproperties, Forthproperties, datapropertiy), wherein Garzanti represents the definition of Garzanti on the sandstone category in the ontology relation, Dott represents the definition of Dott on the sandstone category in the ontology relation, Gilbert represents the definition of giltt on the sandstone category in the ontology relation, Pettijohn represents the definition of Pettijohn on the sandstone category in the ontology relation, Crook represents the definition of Crook on the sandstone in the ontology relation, dapplelbhn represents the definition of the sandstone in the ontology relation, and valkiken represents the definition of the pigeon in the sandstone in the ontology relation, and valken represents the definition of the pigeon on the sandstone in the ontology relation, arenite represents the classification definition of the content of sandstone types in the ontology relationship, FirstProperties, SecondProperties, ThirdProperties and ForthProperties represent the definition of the hierarchical properties in the ontology relationship, and Dataproperty represents the definition of the quantity properties of each part in the ontology relationship.

And 4, delimiting internal components of the sandstone, calculating critical values among sandstone entities, and determining content range values of the components in the sandstone.

And (3) calculating critical values among the sandstone entities, and determining content range values of all the components in the sandstone, wherein F represents feldspar content of sandstone content, quartz content of Q-table sandstone content, and rock debris content of L-table sandstone content. This patent made detailed statistics to distinguish FQL proportions in various sedimentary sandstones, such as the Garzanti, Pettijohn and Folk classifications for 77 stones in sandstones

Quartzose sandstone=F<10%and L<10%;

Wherein F < 10% represents that the feldspar content is less than 10% of the whole, the whole content is 100%, and represents that the feldspar and the sand exist side by side, when the condition that F < 10% is achieved, the conditions that L < 10% and the rock debris content is less than 10% of the whole need to be achieved:

Feldspathic sandstone=Q<10%and L<10%

wherein Q < 10% means that the quartz content is less than 10% of the whole, and the whole content is 100%, and means that they exist in parallel, and when Q < 10% is achieved, it is necessary to achieve the conditions that L < 10% and the rock debris content is less than 10% of the whole:

Lithic sandstone=Q<10%and F<10%

wherein Q < 10% represents that the quartz content is less than 10% of the whole, the whole content is 100%, and represents that they exist in parallel, and when Q < 10% is achieved, the conditions that F < 10% and feldspar content is less than 10% of the whole are also required, and the sandstone is classified as follows:

Feldspatho-quartzo-lithic sandstone=L>Q>F>10%

Litho-quartzose sandstone=F<10%and Q>L>10%

Quartzo-lithic-feldspatho sandstone=F>L>Q>10%

Lithic-quartzo-feldspatho sandstone=F>Q>L>10%

Quartzo-feldspathic sandstone=L<10%and F>Q>10%

Feldspatho-quartzose sandstone=L<10%and Q>F>10%

Lithic-feldspatho-quartzo sandstone=Q>F>L>10%

Quartzo-feldspatho-lithic sandstone=L>F>Q>10%

Feldspatho-lithic-quartzo sandstone=Q>L>F>10%

Feldspatho-lithic sandstone=Q<10%and L>F>10%

Quartzo-lithic sandstone=F<10and L>Q>10

Quartzose sandstone=Q>95%

Feldspathic sandstone=F>25%and F>3*L

Lithic sandstone=L>25%and L>3*F

Subarkose=5%<F<25%and F>L

Sublitharenite=5%<L<25%and L>F

Litho-feldspathic sandstone=Q<75%and 1%<F/L<3%

Feldspatho-lithic sandstone=Q<75%and 1/3<F/L<1

Quartz arenite=L<5%and F<5%

Lithic sandstone=F<L and L>25%

Subarkose=5%<F<25%and F>L

Sublitharenite=5%<L<25%and F<L

Feldspathic sandstone=F>25%and F>L

Feldspathic wackes=Q<95%and F>L

Lithic wackes=Q<95%and F<L

Quartz wackes=Q>95%

and 5: and constructing a link relation between the triangular graph and the knowledge graph to form the sandstone graph triangular graph, and acquiring each attribute value of the corresponding triangular graph and generating the corresponding sandstone entity knowledge graph when any point in the triangular graph is clicked each time.

Constructing a link relation by utilizing the steps 2 and 4, acquiring each attribute value of the corresponding triangular graph when any point in the triangular graph is clicked each time, generating a corresponding sandstone entity knowledge graph, defining each edge of an equilateral triangle of the triangular graph as a 0-100% graduated scale, defining the content of feldspar F from the lower left corner point to the lower right corner point of the triangular graph in the range of 0-100%, defining the content of quartz Q from the vertex to the lower left corner point in the range of 0-100%, defining the content of rock debris L from the vertex to the lower right corner point in the range of 0-100%, calculating the proportion of any point P in the triangle, wherein the value corresponding to P is V, and therefore the vertex is set as P1The lower left corner point is P0And the lower right corner is P2Corresponding to a numerical value of V1,V0,V2For example, to calculate the quartz edge value (from the vertex to the lower left corner), first, a parallel line parallel to the right triangle side is drawn, the parallel line passes through a point in the triangular diagram, the point is a point intersected with the left triangle side, and the coordinate is defined as P'1The corresponding value is V'1Intersecting the bottom side triangle side as a point, and the coordinates are defined as P'2The corresponding value is V'2Setting line segment P'1To P in the bus segment P1To P2Ratio T of1As the formula:

T1=P′′-P/P1-P2

of formula (II) to (III)'1-P is point P'1Vector to P, P1-P2Is P1To P2The vector of (2).

Line segment P 'is additionally set'1To P0Occupies bus segment P1To P0Ratio T of2As the formula:

T2=P′1-P0/P1-P0

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (A), P1-P0Is P1To P0The vector of (2).

Similarly, P 'due to the proportional relationship of corresponding sides of similar triangles'2To P0Has a proportionality coefficient of T2Similarly, vector P'2To P'1Relative and vector P2To P1Has a proportionality coefficient of T2

According to the vector theorem, the following results are obtained:

P′1-P0=(P′1-P0)+(P′1-P)

of formula (II) to (III)'1-P0Is of point P'1To P0Vector of (1), P'1-P0Is P'1To P0Vector of (1), P'1-P is P'1The vector from P, the head vector and the tail vector and the third vector which is connected from head to tail can be converted into:

T2*(P1-P0)=(P-P0)+T1*(P2-P1)

vertex is P1The lower left corner point is P0And the lower right corner is P2Respectively correspond to the coordinate points (x)1,y1),(x0,y0),(x2,y2) The formula can be further refined as:

in the formula, x1-x0Represents P1Corresponding point (x)1,y1) In x1Minus P0Corresponding point (x)0,y0) Is a subtraction of values, not x1To x0Vector of (2), like x2-x1Represents P2Corresponding point (x)2,y2) In x2Minus P1Corresponding point (x)1,y1) Is a subtraction of values, not x2To x1The vector of (2). Can utilize (x)1,y1),(x0,y0),(x2,y2) Find the corresponding T1,T2The value is obtained.

Therefore, the quartz edge value, V'1Corresponding to the quartz edge value:

V′1=(1-T2)*V0+T2*V1

in the same way, the edge value of a point in the triangular map, the corresponding rock debris and feldspar can be obtained,

rock debris side value V'2:V′2=(1-T1)*V2+T1*V0

Feldspar limit value V'3:V′3=1-V′1-V′2

And finally, displaying the sandstone map triangular chart.

Example, this example selects sedimentology literature sandstone data as the input data set for the experiment, and selects Python as the simulation platform.

The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiments of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:问答推荐方法及其装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!