openie_triples
Extract subject-predicate-object triples from text with source character spans for knowledge graph construction. Supports English (CoreNLP or spaCy) and Chinese.
Instructions
Open Information Extraction: (subject, predicate, object) triples.
Engine priority for English (engine may force one):
corenlp- the canonical Stanford CoreNLP OpenIE via a local CoreNLP server (env CORENLP_URL, default localhost:9000) when it is up;spacy- dependency-parse rules (confidence 0.6).
Chinese: naive (noun, verb, noun) pattern mining over jieba POS (confidence 0.35 - draft quality by design). CoreNLP's OpenIE is English-focused. Every triple carries the source character span and is a candidate for downstream KG normalization - not a fact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | auto | |
| text | Yes | ||
| engine | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||