Legal knowledge graph construction method and device, equipment and storage medium
The invention discloses a legal knowledge graph construction method and device, equipment and a storage medium, and the method comprises the steps: obtaining a target legal text, calling a large language model through a first prompt instruction, so as to indicate the large language model to construc...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a legal knowledge graph construction method and device, equipment and a storage medium, and the method comprises the steps: obtaining a target legal text, calling a large language model through a first prompt instruction, so as to indicate the large language model to construct an ontology contained in the target legal text, and enabling the ontology to serve as an ontology of a knowledge graph; the ontology comprises a concept name and a relationship name between different concepts; calling a large language model through a second prompt instruction to indicate the large language model to extract entities under concepts from each law article contained in the target law text according to the concepts contained in the ontology; for any two entities extracted by the large language model, endowing an entity relationship according to a relationship between concepts to which the two entities belong; and forming the knowledge graph of the target legal text according to the extracted entities, |
---|