Movatterモバイル変換


[0]ホーム

URL:


CN110941723A - Method, system and storage medium for constructing knowledge graph - Google Patents

Method, system and storage medium for constructing knowledge graph
Download PDF

Info

Publication number
CN110941723A
CN110941723ACN201911132972.5ACN201911132972ACN110941723ACN 110941723 ACN110941723 ACN 110941723ACN 201911132972 ACN201911132972 ACN 201911132972ACN 110941723 ACN110941723 ACN 110941723A
Authority
CN
China
Prior art keywords
knowledge
learning
data
user
relation
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
CN201911132972.5A
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.)
Guangdong Yi Xue Tong Education Technology Co Ltd
Original Assignee
Guangdong Yi Xue Tong Education 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 Guangdong Yi Xue Tong Education Technology Co LtdfiledCriticalGuangdong Yi Xue Tong Education Technology Co Ltd
Priority to CN201911132972.5ApriorityCriticalpatent/CN110941723A/en
Publication of CN110941723ApublicationCriticalpatent/CN110941723A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a method, a system and a storage medium for constructing a knowledge graph, wherein the method comprises the following steps: acquiring initial learning data, storing the initial learning data into a learning resource database, and extracting and labeling ontology terms of the initial learning data according to a subject teaching outline and teaching materials; inputting the relation and sequence between each element knowledge point, constructing a directed disciplinary knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form; updating the learning process state data of the input user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user; and mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map. According to the method, DKT is tracked based on deep learning, so that the multi-knowledge-point modeling scene is effectively solved, the latest knowledge mastering state of a learner is accurately detected, the construction of a knowledge map is completed, and the intrinsic relation of knowledge points is obtained.

Description

Method, system and storage medium for constructing knowledge graph
Technical Field
The invention relates to the technical field of education informatization, in particular to a method and a system for constructing a knowledge graph and a storage medium.
Background
With the advent of the internet and the big data era, the traditional education mode is more and more difficult to meet the increasing individual learning requirements of students. The adaptive online learning is gradually widely used due to the characteristics of the teaching according to the material, the convenient use and the like. The important components of adaptive learning are student ability assessment and learning resource recommendation, which need to be based on a structured educational domain knowledge system. Therefore, constructing an educational knowledge graph to support adaptive learning becomes a problem that is currently urgently needed to be solved.
During the research and practice process of the prior art, the inventor of the invention finds that the construction of the knowledge graph structure in the prior art generally adopts a static model, and utilizes an IRT or BKT knowledge point tracking method to evaluate the knowledge state. However, the relevance and dynamic development characteristics between knowledge points cannot be expressed by adopting a static model to construct a knowledge graph, and the IRT and BKT technologies assume that a user cannot forget once mastering a certain knowledge point and do not consider the forgetting performance of the user on the knowledge point, so that the user often performs well when later doing a topic belonging to the knowledge point, but the situation of forgetting the knowledge point occurs in reality, and the defect of low prediction accuracy is caused.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method, a system and a storage medium for constructing a knowledge graph, which can acquire the relation between knowledge points by constructing the knowledge graph, and accurately master the knowledge state of a learner.
In order to solve the above problem, an embodiment of the present invention provides a method for constructing a knowledge graph, which at least includes the following steps:
acquiring initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
inputting the relation and sequence between each element knowledge point, constructing a directed disciplinary knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form;
updating the learning process state data of the input user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user;
and mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map.
Further, the method for constructing the knowledge graph further comprises the following steps:
and carrying out knowledge reasoning on the discipline knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof, and further perfecting the discipline knowledge graph.
Further, the initial learning data comprises learner personal information, subject learning content information, subject exercise test data and learning resource data.
Further, the labeling comprises automatic labeling and manual labeling, wherein,
the automatic labeling specifically comprises the following steps: in the process of constructing a directed discipline knowledge graph by an ontology editor, a Jena framework is used for realizing the hierarchical relation of ontology terms;
the manual labeling specifically comprises the following steps: and sorting the attribute relation and the correlation relation of the extracted ontology terms, and importing the ontology terms into an ontology editor through a Jena frame.
Further, the learning process state data comprises knowledge state records and knowledge level test records, wherein,
the knowledge state records comprise statistical information of mastered knowledge points and statistical information of mastered knowledge points, and the knowledge level test records comprise questions, answer results, answer times and answer time.
Further, the learning process state data of the user is updated and input in real time, multi-knowledge point modeling is performed on the learning process state data of the user through a DKT algorithm, and the learning mastery state of the user is obtained, specifically:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
Further, the mining of the relation between the knowledge points according to the learning and mastering state of the user and the dynamic updating of the subject knowledge graph specifically comprise:
acquiring the answer correct probability of each knowledge point of all learners at present through a DKT model;
adopting a probability association rule mining technology to identify implicit relations between relation acquisition knowledge points;
and judging the mastering state of the knowledge points by the user according to the implicit relationship among the knowledge points, and dynamically updating the disciplinary knowledge map in real time.
An embodiment of the present invention further provides a system for constructing a knowledge graph, including:
the data module is used for collecting initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
the map building module is used for inputting the relation and the sequence between each element knowledge point, building a directed discipline knowledge map through the body editor, generating an OWL file and storing the OWL file into the learning system in a triple form;
the DKT module is used for updating and inputting the learning process state data of the user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user;
the knowledge point mining module is used for mining the relation among the knowledge points according to the learning and mastering state of the user and dynamically updating the disciplinary knowledge map;
and the knowledge inference module is used for carrying out knowledge inference on the subject knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof and further perfecting the subject knowledge graph.
Further, the DKT module specifically includes:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
Another embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the method for constructing a knowledge graph as described above.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method, a system and a storage medium for constructing a knowledge graph, wherein the method comprises the following steps: acquiring initial learning data, storing the initial learning data into a learning resource database, and extracting and labeling ontology terms of the initial learning data according to a subject teaching outline and teaching materials; inputting the relation and sequence between each element knowledge point, constructing a directed disciplinary knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form; updating the learning process state data of the input user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user; and mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map. According to the knowledge graph modeling method based on deep learning, DKT is tracked based on deep learning, the scene of multi-knowledge-point modeling is effectively solved, the latest knowledge state of a learner is accurately mastered, the construction of a knowledge graph is completed, the internal relation of knowledge points is obtained, knowledge reasoning is carried out on the knowledge graph, and the knowledge graph is dynamically updated.
Drawings
FIG. 1 is a schematic flow chart of a method for constructing a knowledge graph according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a DKT model provided in an embodiment of the invention;
fig. 3 is a schematic flowchart of a process for constructing a DKT model according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating mining of relationships between knowledge points according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a system for constructing a knowledge graph according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, application scenarios that can be provided by the present invention, such as constructing a knowledge graph, are introduced.
The first embodiment of the present invention:
please refer to fig. 1-4.
As shown in fig. 1, the method for constructing a knowledge graph provided in this embodiment at least includes the following steps:
s101, collecting initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
specifically, for step S101, initial learning data including course education targets, learning resources, course structures, teaching strategies, exercise test question banks, and the like in each field are collected, subject experts extract subject terms from subject teaching schemas and teaching materials in advance, and labeling the subject terms is divided into two modes, namely, automatic labeling and manual labeling, so that a more efficient labeling mode can be switched for different situations, and flexibility and work efficiency are improved.
S102, inputting the relation and sequence between each element knowledge point, constructing a directed discipline knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form;
specifically, for step S102, after the association and sequence between each meta knowledge point are entered according to the initial learning data collected in step S101, a directed disciplinary knowledge graph is constructed by using an ontology editor Prot g according to the extracted and labeled ontology terms and the association and sequence between the meta knowledge points, and after the construction is completed, an OWL file is generated and stored in the learning system in the form of a triplet.
S103, updating and recording the learning process state data of the user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user;
specifically, in step S103, the learner logs in the learning system to perform learning and testing, and in the learning process, according to the learning and testing data of the learner, the model of the learner is built at multiple knowledge points through the DKT algorithm, so as to obtain the current learning and mastering state of the learner, such as the mastering state, answering time, answering accuracy and other data of each knowledge point.
And S104, mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map.
Specifically, in step S104, the answer pair probabilities of all knowledge points of the current learner are obtained through DKT to obtain the corresponding learning mastery state, the implicit relationship between the knowledge points is obtained by identifying the relationship through the probability association rule mining technology, and the disciplinary knowledge graph is dynamically updated.
In a preferred embodiment, the method for constructing a knowledge-graph further includes:
and carrying out knowledge reasoning on the discipline knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof, and further perfecting the discipline knowledge graph.
Specifically, translation is performed on an OWL file in a triple form stored in a learning system, wherein the OWL file includes a subject, a relationship and an object, and the subject and the object are collectively referred to as an entity. When a directed knowledge graph is constructed, the three are linked to form a graph, wherein each node is an entity, each edge is a relation, a subject points to an object, the visual meaning of TransE is distributed vector representation based on the entity and the relation, the relation in each triple is regarded as translation from the subject to the object, and the vector value of the subject plus the vector value of the relation is enabled to be as far as possible with the vector value of the object by continuously adjusting the subject, the relation and the object, so that the relation deduction between the subject and the object is completed, new element knowledge points and the relation thereof are increased and decreased, the subject knowledge graph is further perfected, and the prediction accuracy and the effectiveness of the knowledge graph are improved.
The training process of the TransE algorithm comprises the following steps: firstly, determining a training set, a hyper-parameter gamma and a learning rate lambda; initializing a relation vector and an entity vector, randomly taking a value in a preset value range for each dimension of each vector, and normalizing all vectors after initializing; entering a loop, adopting minipatch, accelerating the training speed of a batch of training, carrying out negative sampling on each batch of data (randomly replacing a certain entity of a triplet in a training set), and initially setting T _ batch as an empty list, and then adding a list consisting of tuple pairs (original triplets, broken triplets) to the empty list: t _ batch [ ([ h, r, T ], [ h ', r, T' ]), ([ ], [ ]), ·. ·; and taking the T _ batch, training, and adjusting parameters by adopting gradient descent.
In a preferred embodiment, the initial learning data includes learner personal information, subject learning content information, subject exercise test data, and learning resource data.
Specifically, learning resource data and subject learning content information are collected by an education institution in advance and are subjected to system entry, a learner logs in a system to register personal information, and subject exercise test data corresponding to the learner is obtained after the learner tests the subject knowledge.
In a preferred embodiment, the labeling includes automatic labeling and manual labeling, wherein,
the automatic labeling specifically comprises the following steps: in the process of constructing a directed discipline knowledge graph by an ontology editor, a Jena framework is used for realizing the hierarchical relation of ontology terms;
the manual labeling specifically comprises the following steps: and sorting the attribute relation and the correlation relation of the extracted ontology terms, and importing the ontology terms into an ontology editor through a Jena frame.
Specifically, the method for labeling the ontology terms further comprises two modes, namely system automatic labeling and manual labeling, and a Jena framework is used for realizing the hierarchical relationship of the ontology in the process of constructing the ontology by using the Protege; the attribute relation and the related relation are sorted by subject experts and then are imported into the Prot g e through a Jena framework, a more efficient labeling mode is switched according to different scenes, and flexibility and working efficiency are improved.
In a preferred embodiment, the learning process state data comprises knowledge state records and knowledge level test records, wherein,
the knowledge state records comprise statistical information of mastered knowledge points and statistical information of mastered knowledge points, and the knowledge level test records comprise questions, answer results, answer times and answer time.
Specifically, in the learning process of the learner, learning process state data including knowledge state records and knowledge level test records, the mastering state of the learner on each knowledge point and the knowledge point test records are collected and updated in real time.
In a preferred embodiment, as shown in fig. 3, the learning process state data recorded in the form of the real-time update is subjected to multi-knowledge point modeling by using a DKT algorithm to obtain the learning and mastering state of the user, and specifically includes:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
Specifically, the DKT model shown in fig. 2 is developed in time sequence, and the sequence x1, x2, x3. corresponds to t1, t2, t3..1,x′2,x′3… corresponds to the external characteristics (answer times and answer time) of the input sequences x1, x2 and x3, hidden layer states h0, h1 and h2 … correspond to knowledge point mastering conditions of students at all times, the output sequences y1, y2 and y3 … of the model correspond to the probability that all exercises in an answer question library of the students at all times answer correct answers, when a learner answers the questions, the system carries out real-time online calling of the model through tensoflow serving, the knowledge point mastering state of the students is returned from the hidden layer, the output layer returns the correct probability of the next answer of the knowledge point, the learning and mastering state of the user is accurately obtained, and the subject knowledge map is dynamically updated.
In a preferred embodiment, as shown in fig. 4, the mining of the relation between the knowledge points according to the learning and grasping state of the user and the dynamic update of the discipline knowledge graph specifically include:
acquiring the answer correct probability of each knowledge point of all learners at present through a DKT model;
adopting a probability association rule mining technology to identify implicit relations between relation acquisition knowledge points;
and judging the mastering state of the knowledge points by the user according to the implicit relationship among the knowledge points, and dynamically updating the disciplinary knowledge map in real time.
Specifically, the excavating method comprises the following specific steps: acquiring all knowledge point answer pair probabilities of all learners at present through DKT; and identifying the implicit relation between the relation acquisition knowledge points by a probability association rule mining technology. From the perspective of the prerequisite relationship, if the concept Si is a prerequisite of the concept Sj, then a learner who does not know Si is likely not to know Sj, and a learner who knows Sj is likely to know Si, resulting in
Figure BDA0002277969040000071
Calculating two key indexes of the support degree suppp and the confidence degree conf, defining two key parameters minsupp and minconf, and substituting the two key parameters minsupp and minconf into the formula to obtain:
Figure BDA0002277969040000072
in the same way, the method can obtain,
Figure BDA0002277969040000073
the method for constructing the knowledge graph provided by the embodiment comprises the following steps: acquiring initial learning data, storing the initial learning data into a learning resource database, and extracting and labeling ontology terms of the initial learning data according to a subject teaching outline and teaching materials; inputting the relation and sequence between each element knowledge point, constructing a directed disciplinary knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form; updating the learning process state data of the input user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user; and mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map. According to the knowledge graph modeling method based on deep learning, DKT is tracked based on deep learning, the problem of multi-knowledge-point modeling scenes is effectively solved, the latest knowledge state of a learner is accurately mastered, the construction of the knowledge graph is completed, the internal relation of knowledge points is obtained, knowledge reasoning is carried out on the knowledge graph, and the knowledge graph is dynamically updated.
Second embodiment of the invention
Please refer to fig. 2-5.
As shown in fig. 5, an embodiment of the present invention further provides a system for constructing a knowledge graph, including:
thedata module 100 is used for collecting initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
specifically, for thedata module 100, initial learning data is collected, including course education targets, learning resources, course structures, teaching strategies, exercise test question libraries and the like in each field, subject experts extract subject terms from subject teaching outlines and teaching materials in advance, and the process of labeling the subject terms is divided into two modes of automatic labeling and manual labeling of the system, so that a more efficient labeling mode can be switched according to different scenes, and flexibility and work efficiency are improved.
Themap building module 200 is used for inputting the relation and sequence between each element knowledge point, building a directed discipline knowledge map through the ontology editor, generating an OWL file and storing the OWL file into the learning system in a triple form;
specifically, for theatlas construction module 200, after the association and sequence between each meta-knowledge point are entered according to the initial learning data acquired by thedata module 100, a directed disciplinary knowledge atlas is constructed by using the ontology editor Prot g e according to the extracted and labeled ontology terms and the association and sequence between the meta-knowledge points, and after the construction is completed, an OWL file is generated and stored in the learning system in the form of a triplet.
TheDKT module 300 is configured to update the learning process state data entered into the user in real time, and perform multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain a learning mastery state of the user;
specifically, for theDKT module 300, a learner logs in the learning system to learn and test, and during the learning process, according to the learning and testing data of the learner, the model of the learner with multiple knowledge points is realized through the DKT algorithm, so as to obtain the current learning and mastering state of the learner, such as the mastering state, answering time, answering accuracy and other data of each knowledge point.
A knowledgepoint mining module 400, configured to mine the relation between the knowledge points according to the learning and mastering state of the user, and dynamically update the discipline knowledge graph;
specifically, for the knowledgepoint mining module 400, as shown in fig. 4, the answer correct probability of each knowledge point of all learners is obtained through the DKT model; adopting a probability association rule mining technology to identify implicit relations between relation acquisition knowledge points; and judging the mastering state of the knowledge points by the user according to the implicit relationship among the knowledge points, and dynamically updating the disciplinary knowledge map in real time.
The excavating method comprises the following specific steps: acquiring all knowledge point answer pair probabilities of all learners at present through DKT; and identifying the implicit relation between the relation acquisition knowledge points by a probability association rule mining technology. From the perspective of the prerequisite relationship, if the concept Si is a prerequisite of the concept Sj, then a learner who does not know Si is likely not to know Sj, and a learner who knows Sj is likely to know Si, resulting in
Figure BDA0002277969040000081
Calculating two key indexes of the support degree suppp and the confidence degree conf, defining two key parameters minsupp and minconf, and substituting the two key parameters minsupp and minconf into the formula to obtain:
Figure BDA0002277969040000082
in the same way, the method can obtain,
Figure BDA0002277969040000083
and theknowledge inference module 500 is used for performing knowledge inference on the subject knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof, and further improving the subject knowledge graph.
Specifically, for theknowledge inference module 500, the OWL files in the form of triples stored in the learning system are translated, including subjects, relationships and objects, and the subjects and the objects are collectively referred to as entities. When a directed knowledge graph is constructed, the three are linked to form a graph, wherein each node is an entity, each edge is a relation, a subject points to an object, the visual meaning of TransE is distributed vector representation based on the entity and the relation, the relation in each triple is regarded as translation from the subject to the object, and the vector value of the subject plus the vector value of the relation is enabled to be as far as possible with the vector value of the object by continuously adjusting the subject, the relation and the object, so that the relation deduction between the subject and the object is completed, new element knowledge points and the relation thereof are increased and decreased, the subject knowledge graph is further perfected, and the prediction accuracy and the effectiveness of the knowledge graph are improved.
The training process of the TransR algorithm comprises the following steps: firstly, determining a training set, a hyper-parameter gamma and a learning rate lambda; initializing a relation vector and an entity vector, randomly taking a value in a preset value range for each dimension of each vector, and normalizing all vectors after initializing; entering a loop, adopting minipatch, accelerating the training speed of a batch of training, carrying out negative sampling on each batch of data (randomly replacing a certain entity of a triplet in a training set), and initially setting T _ batch as an empty list, and then adding a list consisting of tuple pairs (original triplets, broken triplets) to the empty list: t _ batch [ ([ h, r, T ], [ h ', r, T' ]), ([ ], [ ]), ·. ·; and taking the T _ batch, training, and adjusting parameters by adopting gradient descent.
In a preferred embodiment, as shown in fig. 3, theDKT module 300 is specifically constructed by the following steps:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
Specifically, the DKT model structure shown in fig. 2 is developed in time sequence, and the sequence x1, x2, x3. corresponds to t1, t2, t3..1,x′2,x3… corresponds to the external characteristics (answer times and answer time) of the input sequences x1, x2 and x3, hidden layer states h0, h1 and h2 … correspond to knowledge point mastering conditions of students at all times, the output sequences y1, y2 and y3 … of the model correspond to the probability that all exercises in an answer question library of the students at all times answer correct answers, when a learner answers the questions, the system carries out real-time online calling of the model through tensoflow serving, the knowledge point mastering state of the students is returned from the hidden layer, the output layer returns the correct probability of the next answer of the knowledge point, the learning and mastering state of the user is accurately obtained, and the subject knowledge map is dynamically updated.
In a preferred embodiment, the labeling includes automatic labeling and manual labeling, wherein,
the automatic labeling specifically comprises the following steps: in the process of constructing a directed discipline knowledge graph by an ontology editor, a Jena framework is used for realizing the hierarchical relation of ontology terms;
the manual labeling specifically comprises the following steps: and sorting the attribute relation and the correlation relation of the extracted ontology terms, and importing the ontology terms into an ontology editor through a Jena frame.
Specifically, the method for labeling the ontology terms further comprises two modes, namely system automatic labeling and manual labeling, and a Jena framework is used for realizing the hierarchical relationship of the ontology in the process of constructing the ontology by using the Protege; the attribute relation and the related relation are sorted by subject experts and then are imported into the Prot g e through a Jena framework, a more efficient labeling mode is switched according to different scenes, and flexibility and working efficiency are improved.
The system for constructing a knowledge graph provided by the embodiment comprises: the data module is used for collecting initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms; the map building module is used for inputting the relation and the sequence between each element knowledge point, building a directed discipline knowledge map through the body editor, generating an OWL file and storing the OWL file into the learning system in a triple form; the DKT module is used for updating and inputting the learning process state data of the user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user; the knowledge point mining module is used for mining the relation among the knowledge points according to the learning and mastering state of the user and dynamically updating the disciplinary knowledge map; and the knowledge inference module is used for carrying out knowledge inference on the subject knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof and further perfecting the subject knowledge graph. According to the knowledge graph modeling method based on deep learning, DKT is tracked based on deep learning, the problem of multi-knowledge-point modeling scenes is effectively solved, the latest knowledge state of a learner is accurately mastered, the construction of the knowledge graph is completed, the internal relation of knowledge points is obtained, knowledge reasoning is carried out on the knowledge graph, and the knowledge graph is dynamically updated.
Another embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the method for constructing a knowledge graph as described above.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules may be a logical division, and in actual implementation, there may be another division, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The foregoing is directed to the preferred embodiment of the present invention, and it is understood that various changes and modifications may be made by one skilled in the art without departing from the spirit of the invention, and it is intended that such changes and modifications be considered as within the scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.

Claims (10)

1. A construction method of a knowledge graph is characterized by at least comprising the following steps:
acquiring initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
inputting the relation and sequence between each element knowledge point, constructing a directed disciplinary knowledge map through a body editor, generating an OWL file and storing the OWL file into a learning system in a triple form;
updating the learning process state data of the input user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user;
and mining the relation among the knowledge points according to the learning and mastering state of the user, and dynamically updating the subject knowledge map.
2. The method of constructing a knowledge-graph of claim 1, further comprising:
and carrying out knowledge reasoning on the discipline knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof, and further perfecting the discipline knowledge graph.
3. The method of constructing a knowledge-graph of claim 1 wherein said initial learning data includes learner personal information, subject learning content information, subject exercise test data and learning resource data.
4. The method of constructing a knowledge-graph of claim 1 wherein said labeling comprises automatic labeling and manual labeling, wherein,
the automatic labeling specifically comprises the following steps: in the process of constructing a directed discipline knowledge graph by an ontology editor, a Jena framework is used for realizing the hierarchical relation of ontology terms;
the manual labeling specifically comprises the following steps: and sorting the attribute relation and the correlation relation of the extracted ontology terms, and importing the ontology terms into an ontology editor through a Jena frame.
5. The method of constructing a knowledge graph according to claim 1, wherein the learning process state data comprises a knowledge state record and a knowledge level test record, wherein,
the knowledge state records comprise statistical information of mastered knowledge points and statistical information of mastered knowledge points, and the knowledge level test records comprise questions, answer results, answer times and answer time.
6. The method for constructing the knowledge graph according to claim 1, wherein the learning process state data of the user is updated and recorded in real time, and the learning process state data of the user is subjected to multi-knowledge-point modeling through a DKT algorithm to obtain the learning mastery state of the user, and specifically comprises the following steps:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
7. The method for constructing a knowledge graph according to claim 1, wherein the relation between knowledge points is mined according to the learning and mastering states of the user, and the subject knowledge graph is dynamically updated, specifically:
acquiring the answer correct probability of each knowledge point of all learners at present through a DKT model;
adopting a probability association rule mining technology to identify implicit relations between relation acquisition knowledge points;
and judging the mastering state of the knowledge points by the user according to the implicit relationship among the knowledge points, and dynamically updating the disciplinary knowledge map in real time.
8. A system for constructing a knowledge graph, comprising:
the data module is used for collecting initial learning data, storing the initial learning data into a learning resource database, extracting body terms of the initial learning data according to a subject teaching outline and teaching materials, and labeling the extracted body terms;
the map building module is used for inputting the relation and the sequence between each element knowledge point, building a directed discipline knowledge map through the body editor, generating an OWL file and storing the OWL file into the learning system in a triple form;
the DKT module is used for updating and inputting the learning process state data of the user in real time, and performing multi-knowledge point modeling on the learning process state data of the user through a DKT algorithm to obtain the learning mastery state of the user;
the knowledge point mining module is used for mining the relation among the knowledge points according to the learning and mastering state of the user and dynamically updating the disciplinary knowledge map;
and the knowledge inference module is used for carrying out knowledge inference on the subject knowledge graph by adopting a TransE algorithm, adding new element knowledge points and hierarchical relations thereof and further perfecting the subject knowledge graph.
9. The system for constructing a knowledge graph according to claim 8, wherein the DKT module is specifically:
acquiring learning test data of a learner in all time sequences in the system as training samples of the DKT model;
implementing an LSTM training by adopting a tensorflow method;
inputting the learning data of each learner as a batch and then performing model training;
after the model training is finished, a DKT model is led out and is deployed into tensoflow serving;
and calling the DKT model on line in real time through tensoflow serving, and feeding back the knowledge point mastering state of students and the right answer probability of the knowledge points at the next time.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of constructing a knowledge-graph according to any one of claims 1 to 7.
CN201911132972.5A2019-11-182019-11-18Method, system and storage medium for constructing knowledge graphPendingCN110941723A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911132972.5ACN110941723A (en)2019-11-182019-11-18Method, system and storage medium for constructing knowledge graph

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911132972.5ACN110941723A (en)2019-11-182019-11-18Method, system and storage medium for constructing knowledge graph

Publications (1)

Publication NumberPublication Date
CN110941723Atrue CN110941723A (en)2020-03-31

Family

ID=69906861

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911132972.5APendingCN110941723A (en)2019-11-182019-11-18Method, system and storage medium for constructing knowledge graph

Country Status (1)

CountryLink
CN (1)CN110941723A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111563156A (en)*2020-04-302020-08-21广东小天才科技有限公司 A method, device, electronic device and storage medium for intelligent diagnosis of knowledge points
CN111651614A (en)*2020-07-162020-09-11宁波方太厨具有限公司Method and system for constructing medicated diet knowledge graph, electronic equipment and storage medium
CN111930960A (en)*2020-07-302020-11-13国家电网有限公司Knowledge graph technology-based optical transport network knowledge testing method
CN111932174A (en)*2020-07-282020-11-13中华人民共和国深圳海关Freight monitoring abnormal information acquisition method, device, server and storage medium
CN112015907A (en)*2020-08-182020-12-01大连东软教育科技集团有限公司Method and device for quickly constructing discipline knowledge graph and storage medium
CN112085090A (en)*2020-09-072020-12-15百度在线网络技术(北京)有限公司Translation method and device and electronic equipment
CN112115274A (en)*2020-09-162020-12-22上海松鼠课堂人工智能科技有限公司Knowledge graph generation system considering time influence and block chain naming system
CN112116092A (en)*2020-08-112020-12-22浙江师范大学Interpretable knowledge level tracking method, system and storage medium
CN112446558A (en)*2021-01-292021-03-05北京世纪好未来教育科技有限公司Model training method, learning result acquisition method, device, equipment and medium
CN112733035A (en)*2021-01-212021-04-30唐亮Knowledge point recommendation method and device based on knowledge graph, storage medium and electronic device
CN112966092A (en)*2020-11-252021-06-15安徽教育网络出版有限公司Knowledge graph personalized semantic recommendation method based on basic education
CN113254668A (en)*2021-06-112021-08-13云南大学Knowledge graph construction method and system based on scene latitude
CN113434701A (en)*2021-07-162021-09-24山东大学Method and system for constructing and updating knowledge graph of Internet of vehicles
CN113486196A (en)*2021-09-082021-10-08江西风向标教育科技有限公司Intelligent physical knowledge point identification method and device based on teaching thinking
CN113722611A (en)*2021-08-232021-11-30讯飞智元信息科技有限公司Method, device and equipment for recommending government affair service and computer readable storage medium
CN113987348A (en)*2021-10-272022-01-28万达信息股份有限公司Hidden semantic model-based multi-dimensional dynamic self-adaptive exercise recommendation method
CN114036315A (en)*2021-11-162022-02-11华东师范大学 A method and system for constructing knowledge network based on Gaussian distribution precision matrix
CN114255012A (en)*2021-12-232022-03-29北京思明启创科技有限公司 Online learning plan generation method, device, electronic device and storage medium
CN114490918A (en)*2021-12-312022-05-13成都合源美智教育科技有限公司Dynamic knowledge graph building system and method based on dynamic learning model and application
CN117252047A (en)*2023-11-202023-12-19深圳市联特微电脑信息技术开发有限公司Teaching information processing method and system based on digital twinning
CN117672027A (en)*2024-02-012024-03-08青岛培诺教育科技股份有限公司VR teaching method, device, equipment and medium
CN117874251A (en)*2024-01-092024-04-12北京华乐思教育科技有限公司Knowledge structure automatic generation system and method
CN118674025A (en)*2024-05-232024-09-20北京无尽本源科技有限公司Knowledge correlation graph construction method, knowledge correlation graph and application thereof
CN118760773A (en)*2024-06-132024-10-11国信蓝桥教育科技股份有限公司 Smart education system and method based on knowledge graph
CN118798586A (en)*2024-09-112024-10-18山东顺势教育科技集团有限公司 A learning path automatic navigation method and system based on knowledge point association graph

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20190122111A1 (en)*2017-10-242019-04-25Nec Laboratories America, Inc.Adaptive Convolutional Neural Knowledge Graph Learning System Leveraging Entity Descriptions
CN109902298A (en)*2019-02-132019-06-18东北师范大学 A method for domain knowledge modeling and knowledge level estimation in adaptive learning system
CN110009956A (en)*2019-04-222019-07-12上海乂学教育科技有限公司English Grammar adaptive learning method and learning device
CN110222125A (en)*2019-05-132019-09-10厦门无常师教育科技有限公司Education individualization method for pushing and system on a kind of line of knowledge based map

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20190122111A1 (en)*2017-10-242019-04-25Nec Laboratories America, Inc.Adaptive Convolutional Neural Knowledge Graph Learning System Leveraging Entity Descriptions
CN109902298A (en)*2019-02-132019-06-18东北师范大学 A method for domain knowledge modeling and knowledge level estimation in adaptive learning system
CN110009956A (en)*2019-04-222019-07-12上海乂学教育科技有限公司English Grammar adaptive learning method and learning device
CN110222125A (en)*2019-05-132019-09-10厦门无常师教育科技有限公司Education individualization method for pushing and system on a kind of line of knowledge based map

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
杨洋等: "基于关联规则的网管告警数据库知识发现", 《微电子学与计算机》*
王飞等: "基于TransE模型的西藏领域知识发现研究", 《信息工程大学学报》*
郭佳盛: ""基于深度学习的自适应学习的学生模型研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》*

Cited By (34)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111563156B (en)*2020-04-302023-10-13广东小天才科技有限公司Knowledge point intelligent diagnosis method and device, electronic equipment and storage medium
CN111563156A (en)*2020-04-302020-08-21广东小天才科技有限公司 A method, device, electronic device and storage medium for intelligent diagnosis of knowledge points
CN111651614A (en)*2020-07-162020-09-11宁波方太厨具有限公司Method and system for constructing medicated diet knowledge graph, electronic equipment and storage medium
CN111932174A (en)*2020-07-282020-11-13中华人民共和国深圳海关Freight monitoring abnormal information acquisition method, device, server and storage medium
CN111932174B (en)*2020-07-282024-05-28中华人民共和国深圳海关Freight supervision abnormal information acquisition method, device, server and storage medium
CN111930960A (en)*2020-07-302020-11-13国家电网有限公司Knowledge graph technology-based optical transport network knowledge testing method
CN112116092A (en)*2020-08-112020-12-22浙江师范大学Interpretable knowledge level tracking method, system and storage medium
CN112015907A (en)*2020-08-182020-12-01大连东软教育科技集团有限公司Method and device for quickly constructing discipline knowledge graph and storage medium
CN112085090A (en)*2020-09-072020-12-15百度在线网络技术(北京)有限公司Translation method and device and electronic equipment
CN112115274A (en)*2020-09-162020-12-22上海松鼠课堂人工智能科技有限公司Knowledge graph generation system considering time influence and block chain naming system
CN112966092A (en)*2020-11-252021-06-15安徽教育网络出版有限公司Knowledge graph personalized semantic recommendation method based on basic education
CN112733035A (en)*2021-01-212021-04-30唐亮Knowledge point recommendation method and device based on knowledge graph, storage medium and electronic device
CN112446558A (en)*2021-01-292021-03-05北京世纪好未来教育科技有限公司Model training method, learning result acquisition method, device, equipment and medium
CN113254668A (en)*2021-06-112021-08-13云南大学Knowledge graph construction method and system based on scene latitude
CN113254668B (en)*2021-06-112022-02-18云南大学Knowledge graph construction method and system based on scene latitude
CN113434701A (en)*2021-07-162021-09-24山东大学Method and system for constructing and updating knowledge graph of Internet of vehicles
CN113722611A (en)*2021-08-232021-11-30讯飞智元信息科技有限公司Method, device and equipment for recommending government affair service and computer readable storage medium
CN113722611B (en)*2021-08-232024-03-08讯飞智元信息科技有限公司Recommendation method, device and equipment for government affair service and computer readable storage medium
CN113486196A (en)*2021-09-082021-10-08江西风向标教育科技有限公司Intelligent physical knowledge point identification method and device based on teaching thinking
CN113987348A (en)*2021-10-272022-01-28万达信息股份有限公司Hidden semantic model-based multi-dimensional dynamic self-adaptive exercise recommendation method
CN114036315A (en)*2021-11-162022-02-11华东师范大学 A method and system for constructing knowledge network based on Gaussian distribution precision matrix
CN114036315B (en)*2021-11-162025-06-13华东师范大学 A knowledge network construction method and system based on Gaussian distribution precision matrix
CN114255012A (en)*2021-12-232022-03-29北京思明启创科技有限公司 Online learning plan generation method, device, electronic device and storage medium
CN114490918A (en)*2021-12-312022-05-13成都合源美智教育科技有限公司Dynamic knowledge graph building system and method based on dynamic learning model and application
CN114490918B (en)*2021-12-312024-08-23成都合源美智教育科技有限公司Dynamic knowledge graph construction system, method and application based on dynamic learning model
CN117252047B (en)*2023-11-202024-03-19深圳市联特微电脑信息技术开发有限公司Teaching information processing method and system based on digital twinning
CN117252047A (en)*2023-11-202023-12-19深圳市联特微电脑信息技术开发有限公司Teaching information processing method and system based on digital twinning
CN117874251A (en)*2024-01-092024-04-12北京华乐思教育科技有限公司Knowledge structure automatic generation system and method
CN117874251B (en)*2024-01-092024-07-09北京华乐思教育科技有限公司Knowledge structure automatic generation system and method
CN117672027B (en)*2024-02-012024-04-30青岛培诺教育科技股份有限公司VR teaching method, device, equipment and medium
CN117672027A (en)*2024-02-012024-03-08青岛培诺教育科技股份有限公司VR teaching method, device, equipment and medium
CN118674025A (en)*2024-05-232024-09-20北京无尽本源科技有限公司Knowledge correlation graph construction method, knowledge correlation graph and application thereof
CN118760773A (en)*2024-06-132024-10-11国信蓝桥教育科技股份有限公司 Smart education system and method based on knowledge graph
CN118798586A (en)*2024-09-112024-10-18山东顺势教育科技集团有限公司 A learning path automatic navigation method and system based on knowledge point association graph

Similar Documents

PublicationPublication DateTitle
CN110941723A (en)Method, system and storage medium for constructing knowledge graph
CN110991645A (en)Self-adaptive learning method, system and storage medium based on knowledge model
US11631338B2 (en)Deep knowledge tracing with transformers
CN113127731B (en)Personalized test question recommendation method based on knowledge graph
CN112395403B (en)Knowledge graph-based question and answer method, system, electronic equipment and medium
CN112508334B (en)Personalized paper grouping method and system integrating cognition characteristics and test question text information
Huang et al.XKT: toward explainable knowledge tracing model with cognitive learning theories for questions of multiple knowledge concepts
CN114254208A (en) Identification method of weak knowledge points, learning path planning method and device
CN109191345B (en) A Cognitive Diagnosis Method for Students' Cognitive Process
CN116541538B (en)Intelligent learning knowledge point mining method and system based on big data
CN117252047B (en)Teaching information processing method and system based on digital twinning
CN114398556B (en)Recommendation method, device, equipment and storage medium of learning content
CN110807509A (en)Depth knowledge tracking method based on Bayesian neural network
CN117114104B (en) Personalized knowledge graph generation method based on knowledge feature division and multi-dimensional evaluation
CN114429212A (en) Intelligent learning knowledge ability tracking method, electronic device and storage medium
CN115510286A (en) A Multi-relational Cognitive Diagnosis Method Based on Graph Convolutional Network
CN111932415A (en)Method and device for language self-adaptive hierarchical learning
CN112818100B (en)Knowledge tracking method and system for integrating question difficulty
CN111898803B (en)Problem prediction method, system, equipment and storage medium
BhusalPredicting Student's Performance Through Data Mining
CN112988844B (en) A Learning Method of Knowledge Concept Representation Based on Students' Practice Sequence
CN112860983B (en)Method, system, equipment and readable storage medium for pushing learning content
CN109800880B (en)Self-adaptive learning feature extraction system based on dynamic learning style information and application
Valero-Leal et al.A shap-inspired method for computing interaction contribution in deep knowledge tracing
KR102635769B1 (en) Learning effect estimation device, learning effect estimation method, program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200331

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp