#include <Validator.h>
|
static cres_qresult< Validator > | create (const QString &_validator_def, const QString &_format=knowCore::FileFormat::Turtle) |
|
static cres_qresult< Validator > | create (const QUrl &_validator_url, const QString &_format=knowCore::FileFormat::Turtle) |
|
static cres_qresult< Validator > | create (const knowCore::Uri &_validator_url, const QString &_format=knowCore::FileFormat::Turtle) |
|
static cres_qresult< Validator > | create (const knowRDF::Graph &_graph) |
|
Validator for SHACL as defined in https://www.w3.org/TR/shacl/ plus support for some extensions.
◆ create() [1/4]
cres_qresult< Validator > Validator::create |
( |
const knowCore::Uri & | _validator_url, |
|
|
const QString & | _format = knowCore::FileFormat::Turtle ) |
|
static |
Create a Validator according to the definition loaded from _validator_url.
◆ create() [2/4]
Create a validator from a RDF graph
◆ create() [3/4]
static cres_qresult< Validator > knowSHACL::Validator::create |
( |
const QString & | _validator_def, |
|
|
const QString & | _format = knowCore::FileFormat::Turtle ) |
|
static |
Create a Validator according to the definition given in _validator_def.
◆ create() [4/4]
cres_qresult< Validator > Validator::create |
( |
const QUrl & | _validator_url, |
|
|
const QString & | _format = knowCore::FileFormat::Turtle ) |
|
static |
Create a Validator according to the definition loaded from _validator_url.
◆ definition()
Definition knowSHACL::Validator::definition |
( |
| ) |
const |
◆ validate() [1/4]
- Returns
- the result of validating
_graph
◆ validate() [2/4]
- Returns
- the result of validating
_graph
◆ validate() [3/4]
cres_qresult< ValidationResults > Validator::validate |
( |
const QUrl & | _graph_uri, |
|
|
const QString & | _format = knowCore::FileFormat::Turtle ) |
- Returns
- the result of validating
_graph
◆ validate() [4/4]
cres_qresult< ValidationResults > Validator::validate |
( |
QIODevice * | _graph_data, |
|
|
const knowCore::Uri & | _base, |
|
|
const QString & | _format = knowCore::FileFormat::Turtle ) |
- Returns
- the result of validating
_graph
The documentation for this class was generated from the following files:
- knowl/src/knowSHACL/Validator.h
- knowl/src/knowSHACL/Validator.cpp