ShExValidator

abstract class ShExValidator
class Object
trait Matchable
class Any

Value members

Abstract methods

Get ShEx schema used to validate

Get ShEx schema used to validate

def validateNodeShape(rdf: RDFReader, node: RDFNode, shape: ShapeLabel, options: ValidationOptions): IO[ResultShapeMap]

Validate a node against a specific shape

Validate a node against a specific shape

Returns

resulting shape map

def validateNodeStart(rdf: RDFReader, node: RDFNode, options: ValidationOptions): IO[ResultShapeMap]

Validate node against Start shape in a Schema

Validate node against Start shape in a Schema

Value Params
node

node to validate

rdf

rdf data

Returns

resulting shape map

def validateShapeMap(rdf: RDFReader, shapeMap: ShapeMap, options: ValidationOptions): IO[ResultShapeMap]

Validate rdf agains a shape map

Validate rdf agains a shape map

Value Params
options

validation options

rdf

input rdf data

shapeMap

input shape map

Returns

resulting shape map