This library provides the definitions and reference implementation for valoscript, the valospace ECMAScript dialect.

This document is part of the library workspace @valos/script (of domain @valos/kernel) which has the description: `ValOS Script API, schema`

Valoscript extends ECMAScript 5 object model transparently for manipulating valospace resources. The valoscript interpreter creates events The class of all chronicle event log entries from all valospace resource modification side-effects and groups all such side effects into transactions. Valoscript retains ECMAScript 5 syntax and semantics.

§ The VScript valospace namespace of the library ontology of @valos/script

'VScript' namespace specifies the vocabulary for Valoscript execution primitives.

§ @valos/script IRI prefixes

Prefix IRI
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs http://www.w3.org/2000/01/rdf-schema#
xsd http://www.w3.org/2001/XMLSchema#
owl http://www.w3.org/2002/07/owl#
dc http://purl.org/dc/elements/1.1/
VScript https://valospace.org/script/0#
VKernel https://valospace.org/kernel/0#
VModel https://valospace.org/raem/0#

§ VScript fabric classes The class of classes which are defined by the ValOS kernel domain ontologies.

rdfs:subClassOf description

§ VScript fabric properties The class of properties which are defined by the ValOS kernel domain ontologies.

rdfs:domain rdfs:range

§ VScript valospace resource types The class of all valospace types. The instances of valospace types are called valospace resources and are the main valos ecosystem building block.Only valospace resources can appear as a subject in valospace resource and event triple graphs.

VRevdoc:brief rdfs:subClassOf

§ VScript valospace fields The class of all valospace resource field identifiers.Only the instances of this class can appear as the predicate in valospace triple graphs. All valospace fields have VModel:Type or one of its sub-classes as their rdf:domain.

rdfs:domain rdfs:range rdf:type rdfs:subPropertyOf VModel:coupledField

§ VScript field resolvers The class of all resolver names. Resolvers are verbs which are used for resolving generated properties.

Comment rdf:type

#resolveTwinspace

VModel:Resolver The class of all resolver names. Resolvers are verbs which are used for resolving generated properties.
description resolve the twinspace of the ScopeProperty

#resolveTwinSubject

VModel:Resolver The class of all resolver names. Resolvers are verbs which are used for resolving generated properties.
description resolve the reified twin subject of the ScopeProperty

#resolveTwinObject

VModel:Resolver The class of all resolver names. Resolvers are verbs which are used for resolving generated properties.
description resolve the reified twin object of the ScopeProperty

§ VScript remaining vocabulary

rdf:type rdfs:subClassOf

§ VScript JSON-LD context term definitions

Term Definition @id @type @container
restriction
@base https://valospace.org/script/0#