KnowledgeSourceGraphOntology interface

An inline ontology for graph extraction. The only supported source is a constrained JSON-LD document supplied directly in the request.

Properties

kind

The source kind. Only "inline" is supported.

name

An optional customer-supplied name for the ontology, echoed back on graphStatistics.ontologyName.

value

A constrained JSON-LD 1.1 ontology document (flat classes and object/datatype properties), supplied as a JSON-encoded string.

Property Details

kind

The source kind. Only "inline" is supported.

kind: string

Property Value

string

name

An optional customer-supplied name for the ontology, echoed back on graphStatistics.ontologyName.

name?: string

Property Value

string

value

A constrained JSON-LD 1.1 ontology document (flat classes and object/datatype properties), supplied as a JSON-encoded string.

value: string

Property Value

string