| Package | Description |
|---|---|
| org.topbraid.shacl.util | |
| org.topbraid.spin.constraints |
Support for constraint checking using spin:constraint.
|
| Modifier and Type | Method and Description |
|---|---|
static ConstraintViolation |
SHACL2SPINBridge.createConstraintViolation(org.apache.jena.rdf.model.Resource shResult) |
| Modifier and Type | Method and Description |
|---|---|
static List<ConstraintViolation> |
SHACL2SPINBridge.createConstraintViolations(org.apache.jena.rdf.model.Model resultsModel) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Resource |
SHACL2SPINBridge.createValidationResult(ConstraintViolation cv,
org.apache.jena.rdf.model.Model results) |
| Modifier and Type | Method and Description |
|---|---|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Model model,
ProgressMonitor monitor)
Checks all instances in a given Model against all spin:constraints and
returns a List of constraint violations.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Property predicate,
List<SPINStatistics> stats,
Predicate<org.apache.jena.rdf.model.Resource> filter,
ProgressMonitor monitor)
Checks all instances in a given Model against all spin:constraints and
returns a List of constraint violations.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Property predicate,
List<SPINStatistics> stats,
ProgressMonitor monitor) |
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Property predicate,
ProgressMonitor monitor)
Checks all instances in a given Model against all spin:constraints and
returns a List of constraint violations.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Resource resource,
ProgressMonitor monitor)
Checks all spin:constraints for a given Resource.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Resource resource,
org.apache.jena.rdf.model.Property spinPredicate,
List<SPINStatistics> stats,
ProgressMonitor monitor)
Checks all spin:constraints for a given Resource.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Resource resource,
org.apache.jena.rdf.model.Property spinPredicate,
ProgressMonitor monitor)
Checks all spin:constraints for a given Resource.
|
static List<ConstraintViolation> |
SPINConstraints.check(org.apache.jena.rdf.model.Resource resource,
org.apache.jena.rdf.model.Property spinPredicate,
org.apache.jena.rdf.model.Property onProperty,
List<SPINStatistics> stats,
ProgressMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
static void |
SPINConstraints.addConstraintViolations(List<ConstraintViolation> results,
SPINInstance instance,
org.apache.jena.rdf.model.Property spinPredicate,
boolean matchValue,
org.apache.jena.rdf.model.Property onProperty,
List<SPINStatistics> stats,
ProgressMonitor monitor) |
static void |
SPINConstraints.addConstraintViolationsRDF(List<ConstraintViolation> cvs,
org.apache.jena.rdf.model.Model result,
boolean createSource)
Creates an RDF representation (instances of spin:ConstraintViolation) from a
collection of ConstraintViolation Java objects.
|
static void |
SPINConstraints.addQueryResults(List<ConstraintViolation> results,
QueryOrTemplateCall qot,
org.apache.jena.rdf.model.Resource resource,
boolean matchValue,
List<SPINStatistics> stats,
ProgressMonitor monitor) |
static void |
SPINConstraints.addTemplateCallResults(List<ConstraintViolation> results,
QueryOrTemplateCall qot,
org.apache.jena.rdf.model.Resource resource,
boolean matchValue,
ProgressMonitor monitor) |
Copyright © 2017 TopQuadrant, Inc.. All rights reserved.