A method for storing ontology data

A data storage and ontology technology, applied in database models, relational databases, electronic digital data processing, etc., can solve the problems of multiple databases, complex queries, weak expressive ability of RDF or OWL, etc., and achieve the effect of strong expressive ability and simple design

A data storage and ontology technology, applied in database models, relational databases, electronic digital data processing, etc., can solve the problems of multiple databases, complex queries, weak expressive ability of RDF or OWL, etc., and achieve the effect of strong expressive ability and simple design

CN105760425BInactive Publication Date: 2018-12-04QUFU NORMAL UNIV

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for storing ontology data
  • A method for storing ontology data
  • A method for storing ontology data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The present invention provides a method for storing ontology data, such as figure 1 As shown, it is a schematic diagram of the ontology data structure of the present invention. In the figure, c1, c2, c3... are concepts or instances, and r1, r2, r3... are relations or attributes, wherein c1 has r1 and r2 attributes, and concept c2 has r3, r4 attributes....

[0061] The present invention proposes a kind of ontology storage method based on Nosql database for this ontology data structure, concrete steps are as follows:

[0062] 1) Establish the database structure for ontology data storage:

[0063] Create a data table group in the Nosql database, the data table group includes: concept term table (ConTerm), concept data table (ConData), relational term table (RelTerm), relational data table (RelData) and id pool table (IdPool) , ID numbers of concepts and ID numbers of relationships are set in the id pool table, such as figure 2 shown.

[0064] Concept Glossary (ConTerm...

Embodiment 2

[0086] This embodiment is to figure 1 An example of storing the ontology data in the ontology database:

[0087] 1) Establish the database structure for ontology data storage:

[0088] Create a data table group in the Nosql database, the data table group includes: concept term table (ConTerm), concept data table (ConData), relational term table (RelTerm), relational data table (RelData) and id pool table (IdPool) ; ID numbers of concepts and ID numbers of relationships are set in the id pool table.

[0089] 2), concept storage:

[0090] (1) Store the concept c1 in the ontology database, and write the term c1 as the key value of term in the ConTerm table;

[0091] (2) Take out the id number of a concept from the IdPool table, such as '001', and use it as the key value of cid in the ConTerm table;

[0092] (3) Write '001' as the key value of cid in the ConData table;

[0093] (4) Write the term 'c1' as the key value of 'syn' in the ConData table;

[0094] (5) Other concept...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an ontology data storage method and relates to the technical field of ontology data storage.The method is mainly used for effectively and reasonably storing concepts (or examples) and relations (or attributes) between the concepts.A data storage mode of a Nosql database is adopted to a database so that semantic information of data can be conveniently stored, processing of data between ontologies and calculation and reasoning between ontology data are facilitated, and the bottleneck problem about storing and obtaining the ontology data through RDF, OWL and a relation database is solved.The method meets the requirement for separated storage of symbolic languages and object IDs, effectively solves the problem that object terms and objects are always mixed, can be applicable to storage of ontology data in any field, can be compatible with existing ontologies in other formats, and can be used for storage of knowledge maps.

Description

technical field [0001] The present invention relates to the technical field of ontology data storage, in particular to a method for storing ontology data. Background technique [0002] With the development of information technology, the trend of intellectualization and intelligence of information technology makes the representation of information and data not only stay at the grammatical level, but also focus on the semantic and pragmatic levels. As a conceptual model that can describe information and data at the semantic level, ontology provides a good way to solve this kind of problem. [0003] Ontology originates from the concept of philosophy. From the perspective of philosophy, ontology is a systematic explanation and illustration of objective existence, and is concerned with the abstract nature of objective reality. In the field of artificial intelligence, an ontology is defined as: "the explicit specification of a conceptual model". Since ontology was proposed, it h...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
04 Dec 2018
Publication
CN105760425B
IPC
G06F17/30
CPC
G06F16/2219; G06F16/2282; G06F16/284
Inventors
周子力; 王艳娜