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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com