Main Entry Points

These global objects serve as main entry point into the API. See https://archive.topquadrant.com/doc/latest/scripting/index.html for background and more details on ADS.

Main Entry Points
Static Members
graph
dataset

Graph Nodes API

These classes are instantiated by the graph API to represent RDF nodes. The root class GraphNode has the two subclasses NamedNode (for URIs and blank nodes) and LiteralNode (for literal values such as xsd:date nodes). Note that the most common literal types (xsd:string, xsd:boolean and numeric types) are typically represented by simple JavaScript values (strings, booleans and numbers).

Graph Nodes API
Static Members
new GraphNode(obj)
new LiteralNode()
new NamedNode(obj)
Triple
new GraphNodeArray()

System-level API

System-level API
Static Members
new GraphType(uri)

Utilities

Utilities
Static Members
GraphNodeUtil
new ResultSet(object)
sparql(strings, values)

Uploaded Files and I/O API

Uploaded Files and I/O API
Static Members
IO
new UploadedFile(fileId)
new UploadedSpreadsheet(__spreadsheet)
new SpreadsheetIterator(__iterator)
new XMLNode(zzzNode)
SQL
HttpResponse

Advanced

These are part of the API that you may rarely need directly.

Advanced
Static Members
DataViewers
new GraphChanges()
JSONTableViewerProps
ValidationParameters
ValidationResult

The base type for the properties of all NamedNodes, declaring the uri property.

Properties
uri (!string) : the URI serving as unique identifier of the resource in the graph

GraphViewerProps

The parameters for a GraphViewer.

GraphViewerProps

Type: Object

Parameters
height (number?) an optional height in pixels, defaults to 400
label (string) the display label of the viewer (required)
layout (string?) the name of a layout, one of: 'Circular', 'Hierarchical', 'Organic' (default)
nodes (Array<(Object | string)>) the URI nodes to render, either as URI strings or objects with a uri field
properties (Array<(NamedNode | string)>?) the properties to use for edges, defaults to any