Interface SpinqueResultObject

Output format of Spinque's OBJ type, using the result description formatter

interface SpinqueResultObject {
    attributes?: Record<string, unknown>;
    class: string[];
    id: string;
}

Properties

Properties

attributes?: Record<string, unknown>

Object with attribute names and values. Values can be any valid JSON type.

class: string[]

Array of classes assigned to this object.

If a value is in this list, then there is a https://www.w3.org/2000/01/rdf-schema#Class relation between that value and id.

id: string

The unique identifier of the object. Will always be a valid URI.