CN109857870A - Visual Ontology for knowledge mapping constructs system and method - Google Patents

Visual Ontology for knowledge mapping constructs system and method Download PDF

Info

Publication number
CN109857870A
CN109857870A CN201910005955.9A CN201910005955A CN109857870A CN 109857870 A CN109857870 A CN 109857870A CN 201910005955 A CN201910005955 A CN 201910005955A CN 109857870 A CN109857870 A CN 109857870A
Authority
CN
China
Prior art keywords
ontology model
data
module
ontology
entity
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
CN201910005955.9A
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.)
Chengdu Business Big Data Technology Co Ltd
Original Assignee
Chengdu Business Big Data Technology Co Ltd
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 Chengdu Business Big Data Technology Co Ltd filed Critical Chengdu Business Big Data Technology Co Ltd
Priority to CN201910005955.9A priority Critical patent/CN109857870A/en
Publication of CN109857870A publication Critical patent/CN109857870A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to field of information processing, in particular to ontology model figure are drawn in a manner of adding node and edge graph shape by the systems approach for the Visual Ontology building system and method for knowledge mapping;System is stored according to pre-set data conversion format generation ontology model data.The present invention creates ontology model by the way of display plotting, is more intuitively demonstrated by the logical construction of ontology model;User adds entity, event node and relationship line in a graphical form to create ontology model figure, it does not need the language description for carrying out complexity or configuration list is filled in, ontology model drawing process is simple and convenient, and ontology model logical construction is cheer and bright during creation;Reduce the threshold of ontology model creation;Strong tool and method are provided for the application of knowledge mapping.

Description

Visual Ontology for knowledge mapping constructs system and method
Technical field
The present invention relates to field of information processing, in particular to are used for the Visual Ontology creation method of knowledge mapping and are System.
Background technique
The concept of ontology originates from philosophy field earliest, refers to the explanation and illustration to objective reality system.Substantially It is exactly the Formal Representation to certain set concept and its mutual relationship among specific area.The purpose of ontological construction is exactly to one The knowledge term in a field is classified, while providing the attribute of the relationship and their own between each classification.
Ontology model can manually be constructed by ontology editing software, can also be with the automation side of data-driven Formula building.Automation building includes 3 stages: entity coordination similarity calculation, physically the next Relation extraction, ontology It generates.In the Practical Project of domain body model construction, entity type involved in domain body is very limited, and major part is adopted The mode edited by hand constructs.
Ontology model is one of the basis of knowledge mapping creation, on the basis of ontology model, carries out data mapping, generates The knowledge mapping of counterlogic structure.Have at present for the difficult point of the ontological construction of knowledge mapping: most knowledge mappings construct work Tool carries out ontology editing by the way of configuration of filling up a form.This method is difficult to whether meet in phase authentication ontology as early as possible Business need often just finds the mistake of entity and relationship after generating map.It was found that needing to remodify table after mistake Configuration carries out data mapping, generates map, and the cost of iteration error correction is very high.
Specifically, traditional ontology editing and management tool are for example: Prot é g é tool is when establishing ontology model;It needs Ontology class is defined, relationship and rule between class and class, setting and definition procedure complexity are cumbersome, and in the process of configuration ontology In, ontology model structure be it is implicit, it is sightless;It only just can be carried out model structure after the completion of model configuration to check.Such as The definition and configuration of fruit some part in definition procedure are wrong, cannot show immediately;Process is complex, have compared with The personnel of high profession mastery can construct ontology model.And others ontology construction tool use is more complicated, generally requires Write complicated Ontology specification languages;Creation process is invisible, is not easy to carry out logic checking, creates low efficiency, and interaction sense is poor.No Only in this way, general domain body model creation, service logic are only defined in corresponding field, reusability is poor, it is difficult to promote.This A little factors exist so that Ontology and the professional threshold of knowledge mapping application are higher, limit the range that knowledge mapping uses.
With the rise of big data era, knowledge mapping is obtained as most important researching tool in more and more fields Using ontology model is being continuously increased as frame and logic main line the creation demand of knowledge mapping;Traditional complicated ontology The needs that model creation and edit tool and method are no longer satisfied technology development and promote.
Summary of the invention
It is an object of the invention to overcome the above-mentioned deficiency in the presence of the prior art, provide for the visual of knowledge mapping Change ontological construction system and ontology model figure is drawn in a manner of adding node and edge graph shape by the system;The system root Ontology model data are generated according to the ontology model figure completed with pre-set data conversion mapping format to be stored.
Present system creates ontology model by the way of display plotting, is more intuitively demonstrated by ontology model Logical construction;User adds entity, event node and relationship line in a graphical form to create ontology model figure, do not need into The complicated language description of row or configuration list are filled in, and ontology model drawing process is simple and convenient, ontology model during creation Logical construction is cheer and bright;After the completion of ontology model building, whether just ontology model can be verified based on business demand immediately Really.It avoids traditional ontological construction mode and needs to fill in complicated configuration list, can not also verify mould after the completion of configuration at once The defect of type logical relation correctness reduces the threshold of ontology model creation.
Specifically, the system includes virtual interactive interface module, data conversion module and data memory module, it is described visual Change interactive module, data conversion module, the data memory module to be respectively connected with;
The virtual interactive interface module provides the operation interface and painting canvas for drawing ontology model figure, and user is described visual Change in interactive module, ontology model figure is drawn in a manner of adding node figure and edge graph shape;
Entity or event in the node graphical representation ontology model;Pass in the side graphical representation ontology model System;
The ontology model figure completed is converted to by the data conversion module with pre-set data transformation rule Ontology model data are stored in the data memory module.
Further, the virtual interactive interface module further includes trigger module, and user completes after ontology model figure, point It hits the trigger module and triggers the data conversion module to the progress data conversion of ontology model figure.
Further, the virtual interactive interface module further includes attributes edit module;It can by the attributes edit module Creation and modification ontology model figure in entity, event and or relationship attribute information.
Preferably, the virtual interactive interface module interfaces also include the pre- adding module of model element and canvas module;
When drawing ontology model, the element needed in ontology model is added to the model element as needed by user In pre- adding module, the element list after addition is shown;
The canvas module provides the interface and space for drawing ontology model;
When user creates ontology model, corresponding element is chosen from the pre- adding module of the model element, is dragged to the picture Cloth module is shown with patterned form.
Further, the data memory module includes temporary storage module and persistent storage module;It is described temporarily to deposit Store up the intermediate data during module storage user's drafting ontology model;The persistent storage module, storage ontology model are drawn Ontology model data and ontology model figure after the completion of system.
Further, the data conversion module, it is regular according to pre-set data pick-up, such as data mapping tables, After User-ontology illustraton of model is completed, each entity, event, the relation data that will be stored in temporary storage module,It extracts It is combined into after ontology model data to be transferred in the persistent storage module and be stored.
It provides, visualizes knowledge mapping ontology model construction method, the method includes following implemented step:
(1) ontology model figure is drawn in virtual interactive interface mould;
(2) by the ontology model figure drawn by data format switching technology, according to pre-set regular from turn It is melted into ontology model data;
(3) the ontology model data are stored in data memory module, for subsequent calls.
Further, in the step (1), the figure for drawing the entity in ontology model, event and relationship is shown into rule Then it is pre-set in system with data storage rule;
When carrying out the drafting of ontology model figure, every creation one entity, event or the relationship of user draws one in interface Corresponding node figure or edge graph shape, and the entity, the relevant information of event or side are stored in temporary storage module.
Further, in the step (1), entity, event node figure are drawn in virtual interactive interface module interfaces Mode includes
(A) it pulls, (B) is clicked and or (C) copy modification;
The mode of addition relationship includes
(a) relationship is drawn from start node figure and is wired to end node figure, after relationship line is drawn, by playing frame The title of addition relationship;
(b) choosing needs two node to be added, right-click, selects or input relation name to be added, type.
Further, different entities, event node figure and relationship are distinguished in the step (1) using word tag to connect Line.
Further, in the step (2), after ontology model figure is completed, the operation of trigger data persistence;It will storage Entity, event, relation information in temporary storage module;According to pre-set format combination at being sent out after ontology model data It is stored in being sent in the persistent storage module of data memory module.
Preferably, the format of ontology model data is JSON in the step (2).
Further, also include step in step (3): converting the second ontology for the parsing of ontology model Data Data format Model data.
The format of the second ontology model data is tables of data;The tables of data includes: ontology Basic Information Table, entity Event relation Basic Information Table, attribute information table
It include ontology title, creation user information in the Basic Information Table;
In the entity occurrence relationship Basic Information Table comprising entity, event, relation name information, unique identification information, Style information;
It include entity, event, the title of attribute of a relation, data type information in the attribute information table, relationship starts reality Body or event, relationship terminate entity or event information.
Preferably, virtual interactive interface module uses WEBGL or SVG technology in the step (1).
Further, the persistent storage module of data memory module uses relevant database in the step (3).
The present invention provides, a kind of Visual Ontology model creation service providing method;It is characterized in that, being used for by above-mentioned The Visual Ontology building system of knowledge mapping provides ontology model creation for user and provides service.
Further, by network interface, software service platform and or application software for user provide service.
A kind of computer readable storage medium including computer-readable instruction, the computer-readable instruction are being performed When so that processor is executed the operation in above-mentioned visualization knowledge mapping ontology model construction method.
A kind of electronic equipment, which is characterized in that the equipment includes:
Memory stores program instruction;Processor is connected with the memory, executes the program instruction in memory, Realize the step in above-mentioned visualization knowledge mapping ontology model construction method.
Compared with prior art, beneficial effects of the present invention:
The present invention creates ontology model by the way of display plotting, is more intuitively demonstrated by the logic of ontology model Structure;User adds entity, event node and relationship line in a graphical form to create ontology model figure, does not need to be answered Miscellaneous language description or configuration list is filled in, and ontology model drawing process is simple and convenient, ontology model logic during creation Structure is cheer and bright;, can whether correct based on business demand verifying ontology model immediately after the completion of ontology model building.It keeps away Exempt from traditional ontological construction mode and needed to fill in complicated configuration list, can not also verify model logic after the completion of configuration at once The defect of relationship correctness reduces the threshold of ontology model creation.
Detailed description of the invention:
Fig. 1 is invention system Module Links schematic diagram;
Fig. 2 is that visualization knowledge mapping ontology model construction method realizes step schematic diagram;
Fig. 3 is Visual Intelligent Interface Model partial structure diagram in embodiment 1;
Fig. 4 is 1 ontology model figure drawing process schematic diagram 1 of embodiment;
Fig. 5 is 1 ontology model figure drawing process schematic diagram 2 of embodiment;
Fig. 6 is 1 ontology model figure drawing process schematic diagram 3 of embodiment;
Fig. 7 is 1 ontology model figure drawing process schematic diagram 4 of embodiment;
Fig. 8 is 1 ontology model figure drawing process schematic diagram 5 of embodiment;
Fig. 9 is that embodiment 1 can draw complicated ontology model pattern illustration intention.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component for the embodiment of the present invention for describing and showing in attached drawing herein can be arranged and be designed with a variety of different configurations.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It provides and constructs system for the Visual Ontology of knowledge mapping, by the system, to add node and edge graph shape Mode draw ontology model figure;The system, which is converted according to the ontology model figure completed with pre-set data, to be mapped Format generates ontology model data and is stored.Ontology model figure is substantially a kind of architecture logic figure, is included by analysis Element is segmented into two major classes, i.e. node (presentation-entity, event etc.) and side (indicating relationship);Present system, by ontology mould Type creation analysis decomposes basic component: the creation of node and side;It has pre-defined user and has added data behind node and side Storage format;The existing drawing technique for meeting W3C (webpage interaction) specification can be used in internal system, according to the every wound of user A node and side are built, corresponding figure is generated on interface, and corresponding node and the relevant information on side are temporarily stored automatically Get up (temporary storage module, such as memory);After ontology model figure is completed, system will according to previously positioned rule The information of the scattered each node temporarily stored, side reconfigures to form ontology model data, then carries out persistent storage.With Being felt as directly drawing ontology model structure chart to complete the creation of ontology model for family end, it is very easy to use.
The ontology model creation that the present invention realizes is different from existing technology, and present system is using display plotting Mode carrys out creation of knowledge ontology model, during constructing ontology model, intuitively adds entity, event in a graphical form And relationship, it not needing the program language description for carrying out complexity or configuration list is filled in, ontology model creation process is simple and convenient, Logical construction between ontology model element (entity, event and relationship) is cheer and bright.After the completion of the building of ontology model figure, this The overall logic structure of body Model is very clear, and system automatically saves ontology model data for subsequent use;It is institute seen in model , can whether correct based on business demand verifying ontology model immediately;The ontology for greatly simplifying knowledge mapping configured Journey reduces the difficulty of ontological construction, improves the efficiency effect of ontological construction;Ontology model is constructed into personnel from complicated base Plinth language description or heavy configuration list are filled in work and are freed, and knowledge mapping bottom ontology model is greatly reduced Create technical threshold;New tool is opened for the large-scale promotion of knowledge mapping tool and development.Also, the present invention realizes this Body Model creation limits without scene and business entity, event, relationship, and specific model logic and service definition are by user Self-defining;The strong applicability of present system method, it is easy to spread.
Specifically, as shown in Figure 1, the system includes that virtual interactive interface module, data conversion module and data store mould Block, the virtual interactive interface module it is defeated be connected with data conversion module, the data conversion module, data memory module difference It is connected;The virtual interactive interface module provides the user visualized operation interface (including painting canvas) for drawing ontology model figure, uses Ontology model figure is drawn in the painting canvas of the virtual interactive interface module in family.The data conversion module will draw ontology model figure Interim sporadic data;It extracts corresponding information and conventionally reads and carry out the format group again of knowledge mapping data mapping It closes, forms ontology model data.This replaces user automatic by the identification and conversion process of diagram data to model data by system It completes;It solves technical problem of the graph data to model data, breaches barrier between different types of data.It should be understood that It is not intended to limit the specific format of ontology model data in the present invention, is imported according to database purchase convenience and subsequent instance data Easy degree, can further to ontology model data carry out format conversion, be converted to the second ontology model describe data into Row persistent storage.
It should be understood that in present system to the division of all modules according to function come what is carried out, do not represent entity structure Division, one or more number can be neatly distributed in a manner of software function module or software and hardware combining in practical application According in processing equipment;When being distributed in different data processing equipment, pass through communication connection between module.
Further, the virtual interactive interface module further includes trigger module, the trigger module output end and the number It is connected according to conversion module, user completes after ontology model figure, clicks the trigger module and triggers the data conversion module Storage is converted to the data of ontology model figure.The trigger module can be integrated in virtual interactive interface in the form of key or button In module, and shown in interface.The conversion of ontology model data is carried out in the present invention after ontology model figure is completed And storage, therefore the judgement signal that system needs ontology model to complete, trigger module is for receiving user instructions, and output The judgement information.Trigger module is showed in the form of key, icon in Visual Intelligent Interface Model;It is user-friendly.
Further, the virtual interactive interface module further includes attributes edit module;It can by the attributes edit module Creation and modification ontology model figure in entity, event and or relationship attribute information.Ontology mould may be implemented in attributes edit module The attribute definition of type interior joint and relationship, and multiple attributes can be increased according to business needs to enrich entity, event, pass The information content of system is the reasoning reserved data premise of knowledge mapping.
Preferably, the virtual interactive interface module interfaces also include the pre- adding module of model element (element refers to: entity, Event, relationship) and canvas module;When drawing ontology model, user as needed adds the element needed in ontology model Into the pre- adding module of the model element, the element list after addition is shown;When user creates ontology model, from described The pre- adding module of model element chooses corresponding element, is dragged to the canvas module and is shown with patterned form.Model element Element pre- adding module interaction as one preferred is arranged, inessential module.The pre- adding module of model element has prepared ontology Required element material in illustraton of model, when carrying out ontology model drafting, it is only necessary to which simple dragging achieves that corresponding real The graphic plotting of body, event, relationship, clear logic, smoothness easy to operate.
Further, the data memory module includes temporary storage module and persistent storage module;It is described temporarily to deposit Store up the intermediate data during module storage user's drafting ontology model;The persistent storage module, storage ontology model are drawn Ontology model data and ontology model figure after the completion of system.The temporary storage module can be memory;The persistence module It can be database.Ontology model figure and ontology model data are stored in database profession, and are facilitated and are exported, the operation such as calling.
Further, the data conversion module, according to pre-set data pick-up rule such as data mapping tables, with After family ontology model figure is completed, each entity stored in temporary storage module, event, relation data extraction are combined into After ontology model data, it is transferred in the persistent storage module and is stored.Existing drawing tool (processon, Draw.io, lucidchart etc.) when carrying out graphic plotting, one graphics part of every drafting (can be deposited temporarily in memory Storage module) corresponding information is automatically stored;But existing drawing tool only graphing itself itself, believe without semanteme Breath;The main purpose of ontology model figure of the present invention be identify and show ontology model figure element between logical construction, this with Common drawing is different;After completion of drawing, need the sporadic data of each graphics part stored in memory again group It closes, forms the data that can more show ontology model logical construction.This data pick-up and combined rule, such as data mapping tables Form be set in advance in systems;Itself does not have the data of semantic information, after setting rule carries out tissue, just has The semantic information of ontology model structure can be showed.The data mapping step of subsequent knowledge mapping can call directly ontology data It is operated.
It provides, visualizes knowledge mapping ontology model construction method, the method includes that following implemented as shown in Figure 2 walks It is rapid:
(1) ontology model figure is drawn in virtual interactive interface mould;
(2) by the ontology model figure drawn by data format switching technology, according to pre-set regular from turn It is melted into ontology model data;
(3) the ontology model data are stored in data memory module, for subsequent calls.
Further, in the step (1), using the existing drawing tool for meeting W3C specification, ontology model is being carried out When figure is drawn, every creation one entity, event or the relationship of user draws a corresponding node figure or edge graph shape in interface, And the entity, the relevant information of event or side are stored in temporary storage module.
Further, in the step (1), entity, event node figure are drawn in virtual interactive interface module interfaces Mode includes that (A) chooses dragging, (B) to click addition and or (C) copy modification;Below to the drafting of above-mentioned entity, event node Interactive mode carries out referential explanation, and the drafting addition manner of above-mentioned figure is easier to realize in virtual interactive interface system, Bottom layer realization mode repeats no more;Only interactive mode is illustrated.Specifically interaction can be with for the pulling mode are as follows: deposits at interface In the ontology model element added in advance, when drawing ontology model, corresponding element is chosen in click, is dragged in painting canvas and shows Corresponding figure.The concrete mode for clicking addition are as follows: system presets the drawing rule for clicking addition graphical nodes, is drawing When ontology model figure processed, in the blank space right mouse button of painting canvas, pop-up selection plays frame, the graphics part type for choosing needs to create (entity, event, relationship) is created.The mode of the copy modification refers to: there are in the case where graphical nodes in painting canvas, Graphical nodes are chosen, duplication is added in painting canvas, after according to circumstances modifying to newly added graphical nodes information, is formed new Graphical nodes.
The mode of addition relationship includes: that (a) extraction relationship from start node figure is wired to end node figure, relationship After line is drawn, the title of relationship is added by playing frame;(b) choosing needs two node to be added, right-click, selection or defeated Enter relation name to be added, type.It should be understood that drawing the specific interactive mode of ontology model, the method for the present invention is not influenced Realization.
Further, different entities, event node figure and relationship are distinguished in the step (1) using word tag to connect Line.Further, be the display effect for improving ontology model figure, can in different shapes, color, size, linear etc. come to not Entity, event, relationship of same type etc. distinguish.It can be distinguished by label between different entities, event or relationship; Ontology model figure is drawn and shown in a manner of figure+line with word tag, and structure is simple, and it is convenient to draw.And it can Different types of node is further discriminated between with using different colours, shape, size etc., model structure is more intuitive, User-interaction experience is more preferable.
Further, in the step (2), after ontology model figure is completed, the operation of trigger data persistence;It will storage Entity, event, relation information in temporary storage module are according to pre-set format combination at sending out after ontology model data It is sent in the persistent storage module of data memory module and is stored.After carrying out format conversion and persistent storage, ontology mould Type figure and ontology model data are not influenced by powering off, and can be imported, be exported at any time, data mapping.
Further, the format of ontology model data is JSON in the step (2).JSON language format, which facilitates, carries out it The data of his format convert, and conveniently carry out data transmission.
Further, also include step in step (3): converting the second ontology for the parsing of ontology model Data Data format Model data;The format of the second ontology model data is tables of data;Data tableau format is more convenient to carry out subsequent reality Number of cases is according to importing, and data tableau format is format most-often used in current Sybase.The tables of data includes: this Body Basic Information Table, entity occurrence relationship Basic Information Table, attribute information table
It include ontology title, creation user information in the Basic Information Table;
In the entity occurrence relationship Basic Information Table comprising entity, event, relation name information, unique identification information, Style information;
It include entity, event, the title of attribute of a relation, data type information in the attribute information table, relationship starts reality Body or event, relationship terminate entity or event information.
It should be understood that the specific table structure of ontology model tables of data, information etc. can according to need flexible setting.
Preferably, using the technology for meeting WEBGL or SVG specification in virtual interactive interface module in the step (1). The adoptable technology of ontology model drafting is extensive, and a variety of mapping softwares, tool can be achieved;Wherein meet WEBGL or SVG specification Technology, compare preferred embodiment, WEBGL is widely used, and nested can be facilitated in a browser and be provided clothes to user in a manner of web Business, and complicated 3D figure can be drawn by WEBGL technology, enhance the display effect of illustraton of model;SVG technology to drawing vector Figure, it may be convenient to scale, increase interactivity, imaging quality is higher.
Preferably, the persistent storage of data memory module uses relevant database in the step (3).Relationship type The data of database store structure, ontology model data are to be subsequently generated specific map to prepare, and relevant database is more Add and facilitates the mapping for carrying out data, imports and exports and visualization display.
The present invention provides, a kind of Visual Ontology model creation service providing method;It is characterized in that, being used for by above-mentioned The Visual Ontology building system of knowledge mapping provides ontology model creation for user and provides service.
Further, by network interface, software service platform and or application software for user provide service.
A kind of computer readable storage medium including computer-readable instruction, the computer-readable instruction are being performed When so that processor is executed the operation in above-mentioned visualization knowledge mapping ontology model construction method.
A kind of electronic equipment, which is characterized in that the equipment includes:
Memory stores program instruction;Processor is connected with the memory, executes the program instruction in memory, Realize the step in above-mentioned visualization knowledge mapping ontology model construction method.
Hereinafter, illustrating the specific implementation process of present system method, equipment etc. with embodiment.
Embodiment 1
As shown in figure 3, being supplied to User-ontology model construction system interface, user in this implementation in the form of WEB service Ontology model creation is carried out in interactive interface;Comprising the pre- adding module of model element, (the present embodiment is that entity relationship is standby in interface Select list), canvas module.User's drafting entity is pre-set in system and whether relationship (needs to be arranged in ontology model Event type node is determined according to the service logic of user, and in general service logic, entity, relationship can only be arranged) Figure shows rule and data storage rule.User may use in addition ontology model when carrying out ontology model building Entity is related in alternate list;When user creates entity, definition can be configured to the entity attributes simultaneously;When with When standby entity creation is completed at family, the title of the entity is shown in entity relationship alternate list, while the entity is related Attribute information etc. be stored in memory with the format of setting.Same reason creates standby;It, can in the relationship of creation It is defined and edits with the attribute information to relationship;When user, which creates, completes a standby, in entity, relation list Relevant information that is middle to show the title of the relationship, and the relationship will being stored in memory.And so on, user can be in reality Body relationship alternate list creates the entity that may be used in ontology model and relationship one by one.
For example, user wants to establish a simple ontology model, the entity for including in model is " people ", " company " entity it Between relationship be " investment ".When carrying out ontology model building, user can be in entity, relationship alternate list area, and addition is created one by one It is spare to build entity " people ", " company " and relationship " investment ";When creating entity " people ", some attribute informations can be defined to it, Such as " weight ", " age " etc., and such as int type is configured to the data type format of " weight ", " age ";It is real in creation It can be with defined attribute " title " etc., data format string type when body " company ";When creating relationship " investment ", category can be defined Property " amount of money " etc. simultaneously defines data type float;After standby entity, relationship are added in advance, user can carry out ontology model Visualization is drawn.
When drawing ontology model, as the interactive mode of close friend a kind of, process is as shown in Fig. 3,4,5,6,7,8, mouse point It hits and chooses standby entity name " people ", pulled, judge that mouse position is using isPointInPath method in pulling regulation It is no in entity elements;When above mouse drag to painting canvas, event handler (Event Handlers) a little is buried in triggering in advance, Painting canvas response events handles function graphically shows the entity " people ";It is closed when figure to be dragged in painting canvas When suitable position, when user's mouse-up, by mouse moving event and lifts event and empty;It represents " people " and is graphically displayed at painting canvas In, and the relevant information of entity " people " is stored in memory;The storing process of this information by system drawing tool from It is dynamic to execute;Likewise, the suitable position that user chooses " company " to be dragged to painting canvas from the pre- adding module of model element is shown Show, " company " relevant information is automatically stored in memory in system after the completion of operation.When entity " people " and " company " figure are being drawn After existing in cloth, user clicks the edge of entity " people " figure in painting canvas, and handles function a little is buried in triggering in advance, from entity " people " One is drawn in figure to be wired in entity " company " figure;It is added to line by playing frame selection " investment " after line addition On, and the relevant data of " investment " relationship automatically to be stored in memory.The addition of the addition of relationship and entity or event is handed over Slightly different for mutual mode, and relationship is added to two in the form of line, and (certain relationship can also basis between entity or event Service logic needs to be added to entity or event itself (such as node 1- relationship-node 1)).One simple investment relation Ontology model figure is completed as shown in Figure 8.
After user draws the ontology model figure;The essential information of " people ", " company ", " investment " figure in illustraton of model, Attribute information together with graphic style information by drawing tool automatically save in memory, at this time relevant information be it is scattered can't Model structure is indicated well;" preservation " button (trigger module interface icon) in interface is clicked at this time;System will be after drafting Ontology model figure saves, and according to the rule of setting, and " people " that is stored in memory, " company " is related to " investment " Information comes out according to the rule extraction of setting, is reassembled into the ontology model data for the JSON format for being easy to parse and transmit, It is specific as follows:
It is contained in the ontology model data of this JSON format: the name of the title of ontology, uuid in systems, founder Title, uuid, creation time, renewal time, " people ", " company ", " investment " English name (English name facilitates database purchase), Chinese (convenient for showing and identifying in map), attribute information, data type and " people ", " company ", " investment " are in painting canvas Style information (style) of middle figure etc..The ontology model data of JSON format can very easily carry out data transmission, solve The various operations such as analysis, display;System sends ontology model data in database and stores;Subsequent data for convenience Storage and data import, and body Model data can be further converted into the form of tables of data to store.Tables of data includes: Ontology Basic Information Table, entity relationship Basic Information Table, attribute information table.Tables of data it is as follows:
Ontology Basic Information Table
Entity relationship Basic Information Table
Attribute information table
So far, it realizes and completes from the process for drawing ontology model figure to storage ontology model data;For the wound of knowledge mapping It builds and gets out model basis.Through the invention;Realization step in similar embodiment 1, user can according to need, creation packet Ontology model containing various entities, relationship;Such as the ontology model figure and corresponding ontology model of complexity shown in Fig. 9.
Those of ordinary skill in the art may be aware that in conjunction with disclosed in this invention embodiment describe it is each exemplary Module and method and step, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (21)

1. the Visual Ontology for knowledge mapping constructs system, which is characterized in that by the system, to add node and side The mode of figure draws ontology model figure;The system converts format according to the ontology model figure being drawn in pre-set data Ontology model data are generated to be stored.
2. the system as claimed in claim 1, which is characterized in that the system includes virtual interactive interface module, data conversion mould Block and data memory module, the virtual interactive interface module, data conversion module, the data memory module are respectively connected with;
The virtual interactive interface module provides the operation interface and painting canvas for drawing ontology model figure, and user is in the virtual interactive interface In module, ontology model figure is drawn in a manner of adding node figure and edge graph shape;
Entity or event in the node graphical representation ontology model;Relationship in the edge graph shape presentation-entity or event;
The ontology model figure completed is converted to ontology with pre-set data transformation rule by the data conversion module Model data is stored in the data memory module.
3. system as claimed in claim 2, which is characterized in that the virtual interactive interface module further includes trigger module, user It completes after ontology model figure, clicks the trigger module and trigger the data conversion module to ontology model figure progress data Conversion.
4. system as claimed in claim 3, which is characterized in that the virtual interactive interface module further includes attributes edit module; By the attributes edit module can create and modify entity in ontology model figure, event and or relationship attribute information.
5. the system as described in one of Claims 1-4, which is characterized in that the virtual interactive interface module interfaces also include mould The pre- adding module of type element;
When drawing ontology model, the element needed in ontology model is added to the model element as needed and added in advance by user Add in module, the element list after addition is shown;
User create ontology model when, choose corresponding element from the pre- adding module of the model element, be dragged to canvas module with Patterned form is shown.
6. system as claimed in claim 4, which is characterized in that the data memory module comprising temporary storage module and is held Longization memory module;The temporary storage module storage user draws the intermediate data of ontology model process;The persistence is deposited Module is stored up, the ontology model data after ontology model is completed and ontology model figure are stored.
7. system as claimed in claim 6, which is characterized in that the data conversion module is taken out according to pre-set data Rule is taken, after User-ontology illustraton of model is completed, by each entity stored in temporary storage module, event, relationship number According to,Extraction is combined into after ontology model data to be transferred in the persistent storage module and be stored.
8. visualizing knowledge mapping ontology model construction method, which is characterized in that include following implemented step:
(1) ontology model figure is drawn in virtual interactive interface module;
(2) the ontology model figure drawn is converted to ontology according to pre-set rule by data format switching technology Model data;
(3) the ontology model data are stored in data memory module, for subsequent calls.
9. method according to claim 8, which is characterized in that in the step (1), will draw ontology model in entity, The figure of event and relationship shows that rule and data storage rule are pre-set in system;Carrying out the drafting of ontology model figure When, every creation one entity, event or the relationship of user draws a corresponding node figure or edge graph shape in interface, and should Entity, the relevant information of event or side are stored in temporary storage module.
10. method as claimed in claim 9, which is characterized in that in the step (1), in virtual interactive interface module interfaces Draw entity, the mode of event node figure includes
(A) it pulls, (B) is clicked and or (C) copy modification;
The mode of addition relationship includes
(a) relationship is drawn from start node figure and is wired to end node figure, after relationship line is drawn, by playing frame addition The title of relationship;
(b) choosing needs two node to be added, right-click, selects or input relation name to be added, type.
11. method as claimed in claim 10, which is characterized in that distinguish difference using word tag in the step (1) Entity, event node figure and relationship line.
12. method as claimed in claim 11, which is characterized in that in the step (2), after ontology model figure is completed, The operation of trigger data persistence;Entity, event, the relation information that will be stored in temporary storage module;According to pre-set Format combination is stored at being sent in persistent storage module after ontology model data.
13. method as claimed in claim 12, which is characterized in that the format of ontology model data is in the step (2) JSON。
14. method as claimed in claim 13, which is characterized in that also include step in step (3): by ontology model data Data format is converted into the second ontology model data.
15. method as claimed in claim 14, which is characterized in that the format of the second ontology model data is tables of data; The tables of data includes: ontology Basic Information Table, entity occurrence relationship Basic Information Table, attribute information table
It include ontology title, creation user information in the Basic Information Table;
It include entity, event, relation name information, unique identification information, pattern in the entity occurrence relationship Basic Information Table Information;
In the attribute information table include entity, event, the title of attribute of a relation, data type information, relationship start entity or Event, relationship terminate entity or event information.
16. the method as described in one of claim 8 to 15, which is characterized in that in the step (1), virtual interactive interface module Use WEBGL or SVG technology.
17. the method as described in one of claim 8 to 15, which is characterized in that data memory module holds in the step (3) Longization memory module uses relevant database.
18. a kind of Visual Ontology model creation service providing method;It is characterized in that, by as described in claim 1-7 it One system provides ontology model creation for user and provides service.
19. method as claimed in claim 18, which is characterized in that by network interface, software service platform and, or application it is soft The form of part provides service for user.
20. a kind of computer readable storage medium including computer-readable instruction, which is characterized in that the computer-readable finger Enable the operation for requiring processor perform claim in any the method for 8-17.
21. a kind of electronic equipment, which is characterized in that the equipment includes:
Memory stores program instruction;Processor is connected with the memory, executes the program instruction in memory, realizes Step in any the method for claim 8-17.
CN201910005955.9A 2019-01-03 2019-01-03 Visual Ontology for knowledge mapping constructs system and method Pending CN109857870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910005955.9A CN109857870A (en) 2019-01-03 2019-01-03 Visual Ontology for knowledge mapping constructs system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910005955.9A CN109857870A (en) 2019-01-03 2019-01-03 Visual Ontology for knowledge mapping constructs system and method

Publications (1)

Publication Number Publication Date
CN109857870A true CN109857870A (en) 2019-06-07

Family

ID=66893862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910005955.9A Pending CN109857870A (en) 2019-01-03 2019-01-03 Visual Ontology for knowledge mapping constructs system and method

Country Status (1)

Country Link
CN (1) CN109857870A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531972A (en) * 2019-09-05 2019-12-03 无锡华云数据技术服务有限公司 The edit methods and device of resource layout Resource Properties
CN110688109A (en) * 2019-10-09 2020-01-14 凯德技术长沙股份有限公司 Model editing system and creation method thereof
CN110688108A (en) * 2019-10-09 2020-01-14 凯德技术长沙股份有限公司 Model generation method and device and storage medium
CN110795476A (en) * 2019-10-16 2020-02-14 北京百分点信息科技有限公司 Data writing method and device of ontology library
CN110807105A (en) * 2020-01-07 2020-02-18 成都数联铭品科技有限公司 Data storage method based on knowledge graph and construction method of knowledge graph
CN111008284A (en) * 2019-11-29 2020-04-14 北京数起科技有限公司 Method and device for executing atlas analysis and service system thereof
CN111767412A (en) * 2020-09-02 2020-10-13 成都数联铭品科技有限公司 Data mapping method and system for knowledge graph construction and electronic equipment
CN112182236A (en) * 2020-09-18 2021-01-05 成都数联铭品科技有限公司 Knowledge graph construction method and system and electronic equipment
CN112507036A (en) * 2020-11-30 2021-03-16 武汉烽火众智数字技术有限责任公司 Knowledge graph visualization analysis method
CN113284217A (en) * 2021-07-26 2021-08-20 北京优锘科技有限公司 Method, device, equipment and storage medium for realizing semi-automatic drawing
CN113468261A (en) * 2021-06-24 2021-10-01 苏州琅润达检测科技有限公司 Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN114547324A (en) * 2021-12-31 2022-05-27 华中农业大学 Method, system and medium for constructing body in national standard field of food safety
CN115618070A (en) * 2022-12-15 2023-01-17 杭州悦数科技有限公司 Graph database-based visual modeling method, system, device and medium
CN117035081A (en) * 2023-10-09 2023-11-10 之江实验室 Construction method and device of multi-element multi-mode knowledge graph

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531972A (en) * 2019-09-05 2019-12-03 无锡华云数据技术服务有限公司 The edit methods and device of resource layout Resource Properties
CN110531972B (en) * 2019-09-05 2024-02-06 无锡华云数据技术服务有限公司 Editing method and device for resource arrangement resource attribute
CN110688109A (en) * 2019-10-09 2020-01-14 凯德技术长沙股份有限公司 Model editing system and creation method thereof
CN110688108A (en) * 2019-10-09 2020-01-14 凯德技术长沙股份有限公司 Model generation method and device and storage medium
CN110795476B (en) * 2019-10-16 2022-03-08 北京百分点科技集团股份有限公司 Data writing method and device of ontology library
CN110795476A (en) * 2019-10-16 2020-02-14 北京百分点信息科技有限公司 Data writing method and device of ontology library
CN111008284A (en) * 2019-11-29 2020-04-14 北京数起科技有限公司 Method and device for executing atlas analysis and service system thereof
CN110807105A (en) * 2020-01-07 2020-02-18 成都数联铭品科技有限公司 Data storage method based on knowledge graph and construction method of knowledge graph
CN111767412B (en) * 2020-09-02 2020-12-08 成都数联铭品科技有限公司 Data mapping method and system for knowledge graph construction and electronic equipment
CN111767412A (en) * 2020-09-02 2020-10-13 成都数联铭品科技有限公司 Data mapping method and system for knowledge graph construction and electronic equipment
CN112182236A (en) * 2020-09-18 2021-01-05 成都数联铭品科技有限公司 Knowledge graph construction method and system and electronic equipment
CN112507036A (en) * 2020-11-30 2021-03-16 武汉烽火众智数字技术有限责任公司 Knowledge graph visualization analysis method
CN113468261A (en) * 2021-06-24 2021-10-01 苏州琅润达检测科技有限公司 Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN113468261B (en) * 2021-06-24 2022-04-01 苏州琅润达检测科技有限公司 Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN113284217A (en) * 2021-07-26 2021-08-20 北京优锘科技有限公司 Method, device, equipment and storage medium for realizing semi-automatic drawing
CN114547324A (en) * 2021-12-31 2022-05-27 华中农业大学 Method, system and medium for constructing body in national standard field of food safety
CN115618070A (en) * 2022-12-15 2023-01-17 杭州悦数科技有限公司 Graph database-based visual modeling method, system, device and medium
CN117035081A (en) * 2023-10-09 2023-11-10 之江实验室 Construction method and device of multi-element multi-mode knowledge graph
CN117035081B (en) * 2023-10-09 2024-01-26 之江实验室 Construction method and device of multi-element multi-mode knowledge graph

Similar Documents

Publication Publication Date Title
CN109857870A (en) Visual Ontology for knowledge mapping constructs system and method
CN108228183B (en) Front-end interface code generation method and device, electronic equipment and storage medium
CN103500249B (en) Visualization Relay Protection Setting Calculation System and method
CN105739983B (en) Shell script editing device and its implementation
US6205575B1 (en) Scenario presentation tool
CN102236645B (en) Based on the natural language man-machine conversation device of semantic logic
CN102508991B (en) Method of constructing virtual experiment teaching scene based on image material
US20120159427A1 (en) System and method for extracting uml models from legacy applications
US20070050180A1 (en) Modeling system
CN103679800B (en) A kind of video image virtual scene generation system and its framework building method
WO2015196784A1 (en) Visual software modeling method based on software meta-view for constructing software view
CN102945313A (en) Method for constructing and demonstrating teaching content of open type virtual experiment
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN109189519A (en) A kind of general user's desktop Behavior modeling system and method
CN105045583B (en) A kind of IETM failure classes data module composition apparatus and its creative method based on visible process
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN114385150A (en) Low code development method based on intelligent engine
CN104077669B (en) The universal method that a kind of autonomous customization of computer operation stream is performed with driving
CN110162731B (en) Method for displaying IFC model component space information on Web
Ermel Simulation and animation of visual languages based on typed algebraic graph transformation
CN111814438A (en) System and method for drawing network diagram
CN107992674A (en) A kind of earth station monitoring visualization construction method based on model
Pederiva et al. The beautification process in model-driven engineering of user interfaces
CN115840564A (en) Integrated model construction method, device and system based on multi-frame construction model language
CN106202768B (en) Attribute input method in house property area Calculation Plane figure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190607