Knowledge Extraction: From Text to Triples

Knowledge Extraction (KE) is the multi-stage process of transforming unstructured text into structured, machine-readable facts, typically represented as triples: (Subject, Predicate, Object).

1. Named Entity Recognition (NER)

The first step is identifying the "entities" (nodes).

2. Relation Extraction (RE)

The second step is identifying the "relationship" (edges).

3. Event Extraction

Events are more complex than static relations; they include triggers and arguments.

4. LLM-Based Extraction

With Large Language Models, the multi-stage pipeline can be collapsed into a single prompt using JSON Schema enforcement.


See Also: