2026-01-15 11:04:37 +00:00
|
|
|
type: object
|
|
|
|
|
description: |
|
2026-03-17 20:36:31 +00:00
|
|
|
RDF triple representing a subject-predicate-object statement in the knowledge graph,
|
|
|
|
|
optionally scoped to a named graph.
|
2026-01-15 11:04:37 +00:00
|
|
|
|
|
|
|
|
Example: (Person1) -[has name]-> ("John Doe")
|
|
|
|
|
properties:
|
|
|
|
|
s:
|
|
|
|
|
$ref: './RdfValue.yaml'
|
|
|
|
|
description: Subject - the entity the statement is about
|
|
|
|
|
p:
|
|
|
|
|
$ref: './RdfValue.yaml'
|
|
|
|
|
description: Predicate - the property or relationship
|
|
|
|
|
o:
|
|
|
|
|
$ref: './RdfValue.yaml'
|
|
|
|
|
description: Object - the value or target entity
|
2026-03-17 20:36:31 +00:00
|
|
|
g:
|
|
|
|
|
type: string
|
|
|
|
|
description: |
|
|
|
|
|
Named graph URI (optional). When absent, the triple is in the default graph.
|
|
|
|
|
Well-known graphs:
|
|
|
|
|
- (empty/absent): Core knowledge facts
|
|
|
|
|
- urn:graph:source: Extraction provenance
|
|
|
|
|
- urn:graph:retrieval: Query-time explainability
|
|
|
|
|
example: urn:graph:source
|
2026-01-15 11:04:37 +00:00
|
|
|
required:
|
|
|
|
|
- s
|
|
|
|
|
- p
|
|
|
|
|
- o
|
|
|
|
|
example:
|
|
|
|
|
s:
|
2026-03-17 20:36:31 +00:00
|
|
|
t: i
|
|
|
|
|
i: http://example.com/Person1
|
2026-01-15 11:04:37 +00:00
|
|
|
p:
|
2026-03-17 20:36:31 +00:00
|
|
|
t: i
|
|
|
|
|
i: http://schema.org/name
|
2026-01-15 11:04:37 +00:00
|
|
|
o:
|
2026-03-17 20:36:31 +00:00
|
|
|
t: l
|
2026-01-15 11:04:37 +00:00
|
|
|
v: John Doe
|