org.apache.jena.shacl.vocabulary.SHACL Maven / Gradle / Ivy
Show all versions of jena-shacl Show documentation
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.jena.shacl.vocabulary;
import java.util.Set;
import org.apache.jena.graph.Node;
import org.apache.jena.graph.NodeFactory;
// Vocabulary for http://www.w3.org/ns/shacl#
// schemagen then converted to Node level.
// then add SHACL-AF
public class SHACL {
private static Node createResource(String uri) { return NodeFactory.createURI(uri); }
private static Node createProperty(String uri) { return NodeFactory.createURI(uri); }
/** The namespace of the vocabulary as a string
*/
public static final String NS = "http://www.w3.org/ns/shacl#";
/** The namespace of the vocabulary as a string
* @return namespace as String
* @see #NS */
public static String getURI() {return NS;}
/** The namespace of the vocabulary as a Node
*/
public static final Node NAMESPACE = createResource( NS );
/** The (single) value of this property must be a list of path elements, representing
* the elements of alternative paths.
*/
public static final Node alternativePath = createProperty( "http://www.w3.org/ns/shacl#alternativePath" );
/** RDF list of shapes to validate the value nodes against.
*/
public static final Node and = createProperty( "http://www.w3.org/ns/shacl#and" );
/** The annotation property that shall be set.
*/
public static final Node annotationProperty = createProperty( "http://www.w3.org/ns/shacl#annotationProperty" );
/** The (default) values of the annotation property.
*/
public static final Node annotationValue = createProperty( "http://www.w3.org/ns/shacl#annotationValue" );
/** The name of the SPARQL variable from the SELECT clause that shall be used
* for the values.
*/
public static final Node annotationVarName = createProperty( "http://www.w3.org/ns/shacl#annotationVarName" );
/** The SPARQL ASK query to execute.
*/
public static final Node ask = createProperty( "http://www.w3.org/ns/shacl#ask" );
/** The type that all value nodes must have.
*/
public static final Node class_ = createProperty( "http://www.w3.org/ns/shacl#class" );
/** If set to true then the shape is closed.
*/
public static final Node closed = createProperty( "http://www.w3.org/ns/shacl#closed" );
/** The shapes that the focus nodes need to conform to before a rule is executed
* on them.
*/
public static final Node condition = createProperty( "http://www.w3.org/ns/shacl#condition" );
/** True if the validation did not produce any validation results, and false otherwise.
*/
public static final Node conforms = createProperty( "http://www.w3.org/ns/shacl#conforms" );
/** The SPARQL CONSTRUCT query to execute.
*/
public static final Node construct = createProperty( "http://www.w3.org/ns/shacl#construct" );
/** Specifies an RDF datatype that all value nodes must have.
*/
public static final Node datatype = createProperty( "http://www.w3.org/ns/shacl#datatype" );
/** If set to true then all nodes conform to this.
*/
public static final Node deactivated = createProperty( "http://www.w3.org/ns/shacl#deactivated" );
/** Links a resource with its namespace prefix declarations.
*/
public static final Node declare = createProperty( "http://www.w3.org/ns/shacl#declare" );
/** A default value for a property, for example for user interface tools to pre-populate
* input fields.
*/
public static final Node defaultValue = createProperty( "http://www.w3.org/ns/shacl#defaultValue" );
/** Human-readable descriptions for the property in the context of the surrounding
* shape.
*/
public static final Node description = createProperty( "http://www.w3.org/ns/shacl#description" );
/** Links a result with other results that provide more details, for example to
* describe violations against nested shapes.
*/
public static final Node detail = createProperty( "http://www.w3.org/ns/shacl#detail" );
/** Specifies a property where the set of values must be disjoint with the value
* nodes.
*/
public static final Node disjoint = createProperty( "http://www.w3.org/ns/shacl#disjoint" );
/** An entailment regime that indicates what kind of inferencing is required by
* a shapes graph.
*/
public static final Node entailment = createProperty( "http://www.w3.org/ns/shacl#entailment" );
/** Specifies a property that must have the same values as the value nodes.
*/
public static final Node equals = createProperty( "http://www.w3.org/ns/shacl#equals" );
/** The node expression that must return true for the value nodes.
*/
public static final Node expression = createProperty( "http://www.w3.org/ns/shacl#expression" );
/** The shape that all input nodes of the expression need to conform to.
*/
public static final Node filterShape = createProperty( "http://www.w3.org/ns/shacl#filterShape" );
/** An optional flag to be used with regular expression pattern matching.
*/
public static final Node flags = createProperty( "http://www.w3.org/ns/shacl#flags" );
/** The focus node that was validated when the result was produced.
*/
public static final Node focusNode = createProperty( "http://www.w3.org/ns/shacl#focusNode" );
/** Can be used to link to a property group to indicate that a property shape
* belongs to a group of related property shapes.
*/
public static final Node group = createProperty( "http://www.w3.org/ns/shacl#group" );
/** Specifies a value that must be among the value nodes.
*/
public static final Node hasValue = createProperty( "http://www.w3.org/ns/shacl#hasValue" );
/** An optional RDF list of properties that are also permitted in addition to
* those explicitly enumerated via sh:property/sh:path.
*/
public static final Node ignoredProperties = createProperty( "http://www.w3.org/ns/shacl#ignoredProperties" );
/** Specifies a list of allowed values so that each value node must be among the
* members of the given list.
*/
public static final Node in = createProperty( "http://www.w3.org/ns/shacl#in" );
/** A list of node expressions that shall be intersected.
*/
public static final Node intersection = createProperty( "http://www.w3.org/ns/shacl#intersection" );
/** The (single) value of this property represents an inverse path (object to
* subject).
*/
public static final Node inversePath = createProperty( "http://www.w3.org/ns/shacl#inversePath" );
/** Constraints expressed in JavaScript.
*/
public static final Node js = createProperty( "http://www.w3.org/ns/shacl#js" );
/** The name of the JavaScript function to execute.
*/
public static final Node jsFunctionName = createProperty( "http://www.w3.org/ns/shacl#jsFunctionName" );
/** Declares which JavaScript libraries are needed to execute this.
*/
public static final Node jsLibrary = createProperty( "http://www.w3.org/ns/shacl#jsLibrary" );
/** Declares the URLs of a JavaScript library. This should be the absolute URL
* of a JavaScript file. Implementations may redirect those to local files.
*/
public static final Node jsLibraryURL = createProperty( "http://www.w3.org/ns/shacl#jsLibraryURL" );
/** Outlines how human-readable labels of instances of the associated Parameterizable
* shall be produced. The values can contain {?paramName} as placeholders for
* the actual values of the given parameter.
*/
public static final Node labelTemplate = createProperty( "http://www.w3.org/ns/shacl#labelTemplate" );
/** Specifies a list of language tags that all value nodes must have.
*/
public static final Node languageIn = createProperty( "http://www.w3.org/ns/shacl#languageIn" );
/** Specifies a property that must have smaller values than the value nodes.
*/
public static final Node lessThan = createProperty( "http://www.w3.org/ns/shacl#lessThan" );
/** Specifies a property that must have smaller or equal values than the value
* nodes.
*/
public static final Node lessThanOrEquals = createProperty( "http://www.w3.org/ns/shacl#lessThanOrEquals" );
/** Specifies the maximum number of values in the set of value nodes.
*/
public static final Node maxCount = createProperty( "http://www.w3.org/ns/shacl#maxCount" );
/** Specifies the maximum exclusive value of each value node.
*/
public static final Node maxExclusive = createProperty( "http://www.w3.org/ns/shacl#maxExclusive" );
/** Specifies the maximum inclusive value of each value node.
*/
public static final Node maxInclusive = createProperty( "http://www.w3.org/ns/shacl#maxInclusive" );
/** Specifies the maximum string length of each value node.
*/
public static final Node maxLength = createProperty( "http://www.w3.org/ns/shacl#maxLength" );
/** A human-readable message (possibly with placeholders for variables) explaining
* the cause of the result.
*/
public static final Node message = createProperty( "http://www.w3.org/ns/shacl#message" );
/** Specifies the minimum number of values in the set of value nodes.
*/
public static final Node minCount = createProperty( "http://www.w3.org/ns/shacl#minCount" );
/** Specifies the minimum exclusive value of each value node.
*/
public static final Node minExclusive = createProperty( "http://www.w3.org/ns/shacl#minExclusive" );
/** Specifies the minimum inclusive value of each value node.
*/
public static final Node minInclusive = createProperty( "http://www.w3.org/ns/shacl#minInclusive" );
/** Specifies the minimum string length of each value node.
*/
public static final Node minLength = createProperty( "http://www.w3.org/ns/shacl#minLength" );
/** Human-readable labels for the property in the context of the surrounding shape.
*/
public static final Node name = createProperty( "http://www.w3.org/ns/shacl#name" );
/** The namespace associated with a prefix in a prefix declaration.
*/
public static final Node namespace = createProperty( "http://www.w3.org/ns/shacl#namespace" );
/** Specifies the node shape that all value nodes must conform to.
*/
public static final Node node = createProperty( "http://www.w3.org/ns/shacl#node" );
/** Specifies the node kind (e.g. IRI or literal) each value node.
*/
public static final Node nodeKind = createProperty( "http://www.w3.org/ns/shacl#nodeKind" );
/** The validator(s) used to evaluate a constraint in the context of a node shape.
*/
public static final Node nodeValidator = createProperty( "http://www.w3.org/ns/shacl#nodeValidator" );
/** The node expression producing the input nodes of a filter shape expression.
*/
public static final Node nodes = createProperty( "http://www.w3.org/ns/shacl#nodes" );
/** Specifies a shape that the value nodes must not conform to.
*/
public static final Node not = createProperty( "http://www.w3.org/ns/shacl#not" );
/** An expression producing the nodes that shall be inferred as objects.
*/
public static final Node object = createProperty( "http://www.w3.org/ns/shacl#object" );
/** The (single) value of this property represents a path that is matched one
* or more times.
*/
public static final Node oneOrMorePath = createProperty( "http://www.w3.org/ns/shacl#oneOrMorePath" );
/** Indicates whether a parameter is optional.
*/
public static final Node optional = createProperty( "http://www.w3.org/ns/shacl#optional" );
/** Specifies a list of shapes so that the value nodes must conform to at least
* one of the shapes.
*/
public static final Node or = createProperty( "http://www.w3.org/ns/shacl#or" );
/** Specifies the relative order of this compared to its siblings. For example
* use 0 for the first, 1 for the second.
*/
public static final Node order = createProperty( "http://www.w3.org/ns/shacl#order" );
/** The parameters of a function or constraint component.
*/
public static final Node parameter = createProperty( "http://www.w3.org/ns/shacl#parameter" );
/** Specifies the property path of a property shape.
*/
public static final Node path = createProperty( "http://www.w3.org/ns/shacl#path" );
/** Specifies a regular expression pattern that the string representations of
* the value nodes must match.
*/
public static final Node pattern = createProperty( "http://www.w3.org/ns/shacl#pattern" );
/** An expression producing the properties that shall be inferred as predicates.
*/
public static final Node predicate = createProperty( "http://www.w3.org/ns/shacl#predicate" );
/** The prefix of a prefix declaration.
*/
public static final Node prefix = createProperty( "http://www.w3.org/ns/shacl#prefix" );
/** The prefixes that shall be applied before parsing the associated SPARQL query.
*/
public static final Node prefixes = createProperty( "http://www.w3.org/ns/shacl#prefixes" );
/** Links a shape to its property shapes.
*/
public static final Node property = createProperty( "http://www.w3.org/ns/shacl#property" );
/** The validator(s) used to evaluate a constraint in the context of a property
* shape.
*/
public static final Node propertyValidator = createProperty( "http://www.w3.org/ns/shacl#propertyValidator" );
/** The maximum number of value nodes that can conform to the shape.
*/
public static final Node qualifiedMaxCount = createProperty( "http://www.w3.org/ns/shacl#qualifiedMaxCount" );
/** The minimum number of value nodes that must conform to the shape.
*/
public static final Node qualifiedMinCount = createProperty( "http://www.w3.org/ns/shacl#qualifiedMinCount" );
/** The shape that a specified number of values must conform to.
*/
public static final Node qualifiedValueShape = createProperty( "http://www.w3.org/ns/shacl#qualifiedValueShape" );
/** Can be used to mark the qualified value shape to be disjoint with its sibling
* shapes.
*/
public static final Node qualifiedValueShapesDisjoint = createProperty( "http://www.w3.org/ns/shacl#qualifiedValueShapesDisjoint" );
/** The validation results contained in a validation report.
*/
public static final Node result = createProperty( "http://www.w3.org/ns/shacl#result" );
/** Links a SPARQL validator with zero or more sh:ResultAnnotation instances,
* defining how to derive additional result properties based on the variables
* of the SELECT query.
*/
public static final Node resultAnnotation = createProperty( "http://www.w3.org/ns/shacl#resultAnnotation" );
/** Human-readable messages explaining the cause of the result.
*/
public static final Node resultMessage = createProperty( "http://www.w3.org/ns/shacl#resultMessage" );
/** The path of a validation result, based on the path of the validated property
* shape.
*/
public static final Node resultPath = createProperty( "http://www.w3.org/ns/shacl#resultPath" );
/** The severity of the result, e.g. warning.
*/
public static final Node resultSeverity = createProperty( "http://www.w3.org/ns/shacl#resultSeverity" );
/** The expected type of values returned by the associated function.
*/
public static final Node returnType = createProperty( "http://www.w3.org/ns/shacl#returnType" );
/** The rules linked to a shape.
*/
public static final Node rule = createProperty( "http://www.w3.org/ns/shacl#rule" );
/** The SPARQL SELECT query to execute.
*/
public static final Node select = createProperty( "http://www.w3.org/ns/shacl#select" );
/** Defines the severity that validation results produced by a shape must have.
* Defaults to sh:Violation.
*/
public static final Node severity = createProperty( "http://www.w3.org/ns/shacl#severity" );
/** Shapes graphs that should be used when validating this data graph.
*/
public static final Node shapesGraph = createProperty( "http://www.w3.org/ns/shacl#shapesGraph" );
/** If true then the validation engine was certain that the shapes graph has passed
* all SHACL syntax requirements during the validation process.
*/
public static final Node shapesGraphWellFormed = createProperty( "http://www.w3.org/ns/shacl#shapesGraphWellFormed" );
/** The constraint that was validated when the result was produced.
*/
public static final Node sourceConstraint = createProperty( "http://www.w3.org/ns/shacl#sourceConstraint" );
/** The constraint component that is the source of the result.
*/
public static final Node sourceConstraintComponent = createProperty( "http://www.w3.org/ns/shacl#sourceConstraintComponent" );
/** The shape that is was validated when the result was produced.
*/
public static final Node sourceShape = createProperty( "http://www.w3.org/ns/shacl#sourceShape" );
/** Links a shape with SPARQL constraints.
*/
public static final Node sparql = createProperty( "http://www.w3.org/ns/shacl#sparql" );
/** An expression producing the resources that shall be inferred as subjects.
*/
public static final Node subject = createProperty( "http://www.w3.org/ns/shacl#subject" );
/** Suggested shapes graphs for this ontology. The values of this property may
* be used in the absence of specific sh:shapesGraph statements.
*/
public static final Node suggestedShapesGraph = createProperty( "http://www.w3.org/ns/shacl#suggestedShapesGraph" );
/** Links a shape to a target specified by an extension language, for example
* instances of sh:SPARQLTarget.
*/
public static final Node target = createProperty( "http://www.w3.org/ns/shacl#target" );
/** Links a shape to a class, indicating that all instances of the class must
* conform to the shape.
*/
public static final Node targetClass = createProperty( "http://www.w3.org/ns/shacl#targetClass" );
/** Links a shape to individual nodes, indicating that these nodes must conform
* to the shape.
*/
public static final Node targetNode = createProperty( "http://www.w3.org/ns/shacl#targetNode" );
/** Links a shape to a property, indicating that all all objects of triples that
* have the given property as their predicate must conform to the shape.
*/
public static final Node targetObjectsOf = createProperty( "http://www.w3.org/ns/shacl#targetObjectsOf" );
/** Links a shape to a property, indicating that all subjects of triples that
* have the given property as their predicate must conform to the shape.
*/
public static final Node targetSubjectsOf = createProperty( "http://www.w3.org/ns/shacl#targetSubjectsOf" );
/** A list of node expressions that shall be used together.
*/
public static final Node union = createProperty( "http://www.w3.org/ns/shacl#union" );
/** Specifies whether all node values must have a unique (or no) language tag.
*/
public static final Node uniqueLang = createProperty( "http://www.w3.org/ns/shacl#uniqueLang" );
/** The SPARQL UPDATE to execute.
*/
public static final Node update = createProperty( "http://www.w3.org/ns/shacl#update" );
/** The validator(s) used to evaluate constraints of either node or property shapes.
*/
public static final Node validator = createProperty( "http://www.w3.org/ns/shacl#validator" );
/** An RDF node that has caused the result.
*/
public static final Node value = createProperty( "http://www.w3.org/ns/shacl#value" );
/** Specifies a list of shapes so that the value nodes must conform to exactly
* one of the shapes.
*/
public static final Node xone = createProperty( "http://www.w3.org/ns/shacl#xone" );
/** The (single) value of this property represents a path that is matched zero
* or more times.
*/
public static final Node zeroOrMorePath = createProperty( "http://www.w3.org/ns/shacl#zeroOrMorePath" );
/** The (single) value of this property represents a path that is matched zero
* or one times.
*/
public static final Node zeroOrOnePath = createProperty( "http://www.w3.org/ns/shacl#zeroOrOnePath" );
/** The base class of validation results, typically not instantiated directly.
*/
public static final Node AbstractResult = createResource( "http://www.w3.org/ns/shacl#AbstractResult" );
/** A constraint component that can be used to test whether a value node conforms
* to all members of a provided list of shapes.
*/
public static final Node AndConstraintComponent = createResource( "http://www.w3.org/ns/shacl#AndConstraintComponent" );
public static final Node AndConstraintComponent_and = createResource( "http://www.w3.org/ns/shacl#AndConstraintComponent-and" );
/** The node kind of all blank nodes.
*/
public static final Node BlankNode = createResource( "http://www.w3.org/ns/shacl#BlankNode" );
/** The node kind of all blank nodes or IRIs.
*/
public static final Node BlankNodeOrIRI = createResource( "http://www.w3.org/ns/shacl#BlankNodeOrIRI" );
/** The node kind of all blank nodes or literals.
*/
public static final Node BlankNodeOrLiteral = createResource( "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" );
/** A constraint component that can be used to verify that each value node is
* an instance of a given type.
*/
public static final Node ClassConstraintComponent = createResource( "http://www.w3.org/ns/shacl#ClassConstraintComponent" );
public static final Node ClassConstraintComponent_class = createResource( "http://www.w3.org/ns/shacl#ClassConstraintComponent-class" );
/** A constraint component that can be used to indicate that focus nodes must
* only have values for those properties that have been explicitly enumerated
* via sh:property/sh:path.
*/
public static final Node ClosedConstraintComponent = createResource( "http://www.w3.org/ns/shacl#ClosedConstraintComponent" );
public static final Node ClosedConstraintComponent_closed = createResource( "http://www.w3.org/ns/shacl#ClosedConstraintComponent-closed" );
public static final Node ClosedConstraintComponent_ignoredProperties = createResource( "http://www.w3.org/ns/shacl#ClosedConstraintComponent-ignoredProperties" );
/** The class of constraint components.
*/
public static final Node ConstraintComponent = createResource( "http://www.w3.org/ns/shacl#ConstraintComponent" );
/** A constraint component that can be used to restrict the datatype of all value
* nodes.
*/
public static final Node DatatypeConstraintComponent = createResource( "http://www.w3.org/ns/shacl#DatatypeConstraintComponent" );
public static final Node DatatypeConstraintComponent_datatype = createResource( "http://www.w3.org/ns/shacl#DatatypeConstraintComponent-datatype" );
/** A constraint component that can be used to verify that the set of value nodes
* is disjoint with the the set of nodes that have the focus node as subject
* and the value of a given property as predicate.
*/
public static final Node DisjointConstraintComponent = createResource( "http://www.w3.org/ns/shacl#DisjointConstraintComponent" );
public static final Node DisjointConstraintComponent_disjoint = createResource( "http://www.w3.org/ns/shacl#DisjointConstraintComponent-disjoint" );
/** A constraint component that can be used to verify that the set of value nodes
* is equal to the set of nodes that have the focus node as subject and the value
* of a given property as predicate.
*/
public static final Node EqualsConstraintComponent = createResource( "http://www.w3.org/ns/shacl#EqualsConstraintComponent" );
public static final Node EqualsConstraintComponent_equals = createResource( "http://www.w3.org/ns/shacl#EqualsConstraintComponent-equals" );
/** A constraint component that can be used to verify that a given node expression
* produces true for all value nodes.
*/
public static final Node ExpressionConstraintComponent = createResource( "http://www.w3.org/ns/shacl#ExpressionConstraintComponent" );
public static final Node ExpressionConstraintComponent_expression = createResource( "http://www.w3.org/ns/shacl#ExpressionConstraintComponent-expression" );
/** The class of SHACL functions.
*/
public static final Node Function = createResource( "http://www.w3.org/ns/shacl#Function" );
/** A constraint component that can be used to verify that one of the value nodes
* is a given RDF node.
*/
public static final Node HasValueConstraintComponent = createResource( "http://www.w3.org/ns/shacl#HasValueConstraintComponent" );
public static final Node HasValueConstraintComponent_hasValue = createResource( "http://www.w3.org/ns/shacl#HasValueConstraintComponent-hasValue" );
/** The node kind of all IRIs.
*/
public static final Node IRI = createResource( "http://www.w3.org/ns/shacl#IRI" );
/** The node kind of all IRIs or literals.
*/
public static final Node IRIOrLiteral = createResource( "http://www.w3.org/ns/shacl#IRIOrLiteral" );
/** A constraint component that can be used to exclusively enumerate the permitted
* value nodes.
*/
public static final Node InConstraintComponent = createResource( "http://www.w3.org/ns/shacl#InConstraintComponent" );
public static final Node InConstraintComponent_in = createResource( "http://www.w3.org/ns/shacl#InConstraintComponent-in" );
/** The severity for an informational validation result.
*/
public static final Node Info = createResource( "http://www.w3.org/ns/shacl#Info" );
/** The class of constraints backed by a JavaScript function.
*/
public static final Node JSConstraint = createResource( "http://www.w3.org/ns/shacl#JSConstraint" );
public static final Node JSConstraint_js = createResource( "http://www.w3.org/ns/shacl#JSConstraint-js" );
/** A constraint component with the parameter sh:js linking to a sh:JSConstraint
* containing a sh:script.
*/
public static final Node JSConstraintComponent = createResource( "http://www.w3.org/ns/shacl#JSConstraintComponent" );
/** Abstract base class of resources that declare an executable JavaScript.
*/
public static final Node JSExecutable = createResource( "http://www.w3.org/ns/shacl#JSExecutable" );
/** The class of SHACL functions that execute a JavaScript function when called.
*/
public static final Node JSFunction = createResource( "http://www.w3.org/ns/shacl#JSFunction" );
/** Represents a JavaScript library, typically identified by one or more URLs
* of files to include.
*/
public static final Node JSLibrary = createResource( "http://www.w3.org/ns/shacl#JSLibrary" );
/** The class of SHACL rules expressed using JavaScript.
*/
public static final Node JSRule = createResource( "http://www.w3.org/ns/shacl#JSRule" );
/** The class of targets that are based on JavaScript functions.
*/
public static final Node JSTarget = createResource( "http://www.w3.org/ns/shacl#JSTarget" );
/** The (meta) class for parameterizable targets that are based on JavaScript
* functions.
*/
public static final Node JSTargetType = createResource( "http://www.w3.org/ns/shacl#JSTargetType" );
/** A SHACL validator based on JavaScript. This can be used to declare SHACL constraint
* components that perform JavaScript-based validation when used.
*/
public static final Node JSValidator = createResource( "http://www.w3.org/ns/shacl#JSValidator" );
/** A constraint component that can be used to enumerate language tags that all
* value nodes must have.
*/
public static final Node LanguageInConstraintComponent = createResource( "http://www.w3.org/ns/shacl#LanguageInConstraintComponent" );
public static final Node LanguageInConstraintComponent_languageIn = createResource( "http://www.w3.org/ns/shacl#LanguageInConstraintComponent-languageIn" );
/** A constraint component that can be used to verify that each value node is
* smaller than all the nodes that have the focus node as subject and the value
* of a given property as predicate.
*/
public static final Node LessThanConstraintComponent = createResource( "http://www.w3.org/ns/shacl#LessThanConstraintComponent" );
public static final Node LessThanConstraintComponent_lessThan = createResource( "http://www.w3.org/ns/shacl#LessThanConstraintComponent-lessThan" );
/** A constraint component that can be used to verify that every value node is
* smaller than all the nodes that have the focus node as subject and the value
* of a given property as predicate.
*/
public static final Node LessThanOrEqualsConstraintComponent = createResource( "http://www.w3.org/ns/shacl#LessThanOrEqualsConstraintComponent" );
public static final Node LessThanOrEqualsConstraintComponent_lessThanOrEquals = createResource( "http://www.w3.org/ns/shacl#LessThanOrEqualsConstraintComponent-lessThanOrEquals" );
/** The node kind of all literals.
*/
public static final Node Literal = createResource( "http://www.w3.org/ns/shacl#Literal" );
/** A constraint component that can be used to restrict the maximum number of
* value nodes.
*/
public static final Node MaxCountConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MaxCountConstraintComponent" );
public static final Node MaxCountConstraintComponent_maxCount = createResource( "http://www.w3.org/ns/shacl#MaxCountConstraintComponent-maxCount" );
/** A constraint component that can be used to restrict the range of value nodes
* with a maximum exclusive value.
*/
public static final Node MaxExclusiveConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MaxExclusiveConstraintComponent" );
public static final Node MaxExclusiveConstraintComponent_maxExclusive = createResource( "http://www.w3.org/ns/shacl#MaxExclusiveConstraintComponent-maxExclusive" );
/** A constraint component that can be used to restrict the range of value nodes
* with a maximum inclusive value.
*/
public static final Node MaxInclusiveConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MaxInclusiveConstraintComponent" );
public static final Node MaxInclusiveConstraintComponent_maxInclusive = createResource( "http://www.w3.org/ns/shacl#MaxInclusiveConstraintComponent-maxInclusive" );
/** A constraint component that can be used to restrict the maximum string length
* of value nodes.
*/
public static final Node MaxLengthConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MaxLengthConstraintComponent" );
public static final Node MaxLengthConstraintComponent_maxLength = createResource( "http://www.w3.org/ns/shacl#MaxLengthConstraintComponent-maxLength" );
/** A constraint component that can be used to restrict the minimum number of
* value nodes.
*/
public static final Node MinCountConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MinCountConstraintComponent" );
public static final Node MinCountConstraintComponent_minCount = createResource( "http://www.w3.org/ns/shacl#MinCountConstraintComponent-minCount" );
/** A constraint component that can be used to restrict the range of value nodes
* with a minimum exclusive value.
*/
public static final Node MinExclusiveConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MinExclusiveConstraintComponent" );
public static final Node MinExclusiveConstraintComponent_minExclusive = createResource( "http://www.w3.org/ns/shacl#MinExclusiveConstraintComponent-minExclusive" );
/** A constraint component that can be used to restrict the range of value nodes
* with a minimum inclusive value.
*/
public static final Node MinInclusiveConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MinInclusiveConstraintComponent" );
public static final Node MinInclusiveConstraintComponent_minInclusive = createResource( "http://www.w3.org/ns/shacl#MinInclusiveConstraintComponent-minInclusive" );
/** A constraint component that can be used to restrict the minimum string length
* of value nodes.
*/
public static final Node MinLengthConstraintComponent = createResource( "http://www.w3.org/ns/shacl#MinLengthConstraintComponent" );
public static final Node MinLengthConstraintComponent_minLength = createResource( "http://www.w3.org/ns/shacl#MinLengthConstraintComponent-minLength" );
/** A constraint component that can be used to verify that all value nodes conform
* to the given node shape.
*/
public static final Node NodeConstraintComponent = createResource( "http://www.w3.org/ns/shacl#NodeConstraintComponent" );
public static final Node NodeConstraintComponent_node = createResource( "http://www.w3.org/ns/shacl#NodeConstraintComponent-node" );
/** The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or
* the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral.
*/
public static final Node NodeKind = createResource( "http://www.w3.org/ns/shacl#NodeKind" );
/** A constraint component that can be used to restrict the RDF node kind of each
* value node.
*/
public static final Node NodeKindConstraintComponent = createResource( "http://www.w3.org/ns/shacl#NodeKindConstraintComponent" );
public static final Node NodeKindConstraintComponent_nodeKind = createResource( "http://www.w3.org/ns/shacl#NodeKindConstraintComponent-nodeKind" );
/** A node shape is a shape that specifies constraint that need to be met with
* respect to focus nodes.
*/
public static final Node NodeShape = createResource( "http://www.w3.org/ns/shacl#NodeShape" );
/** A constraint component that can be used to verify that value nodes do not
* conform to a given shape.
*/
public static final Node NotConstraintComponent = createResource( "http://www.w3.org/ns/shacl#NotConstraintComponent" );
public static final Node NotConstraintComponent_not = createResource( "http://www.w3.org/ns/shacl#NotConstraintComponent-not" );
/** A constraint component that can be used to restrict the value nodes so that
* they conform to at least one out of several provided shapes.
*/
public static final Node OrConstraintComponent = createResource( "http://www.w3.org/ns/shacl#OrConstraintComponent" );
public static final Node OrConstraintComponent_or = createResource( "http://www.w3.org/ns/shacl#OrConstraintComponent-or" );
/** The class of parameter declarations, consisting of a path predicate and (possibly)
* information about allowed value type, cardinality and other characteristics.
*/
public static final Node Parameter = createResource( "http://www.w3.org/ns/shacl#Parameter" );
/** Superclass of components that can take parameters, especially functions and
* constraint components.
*/
public static final Node Parameterizable = createResource( "http://www.w3.org/ns/shacl#Parameterizable" );
/** A constraint component that can be used to verify that every value node matches
* a given regular expression.
*/
public static final Node PatternConstraintComponent = createResource( "http://www.w3.org/ns/shacl#PatternConstraintComponent" );
public static final Node PatternConstraintComponent_flags = createResource( "http://www.w3.org/ns/shacl#PatternConstraintComponent-flags" );
public static final Node PatternConstraintComponent_pattern = createResource( "http://www.w3.org/ns/shacl#PatternConstraintComponent-pattern" );
/** The class of prefix declarations, consisting of pairs of a prefix with a namespace.
*/
public static final Node PrefixDeclaration = createResource( "http://www.w3.org/ns/shacl#PrefixDeclaration" );
/** A constraint component that can be used to verify that all value nodes conform
* to the given property shape.
*/
public static final Node PropertyConstraintComponent = createResource( "http://www.w3.org/ns/shacl#PropertyConstraintComponent" );
public static final Node PropertyConstraintComponent_property = createResource( "http://www.w3.org/ns/shacl#PropertyConstraintComponent-property" );
/** Instances of this class represent groups of property shapes that belong together.
*/
public static final Node PropertyGroup = createResource( "http://www.w3.org/ns/shacl#PropertyGroup" );
/** A property shape is a shape that specifies constraints on the values of a
* focus node for a given property or path.
*/
public static final Node PropertyShape = createResource( "http://www.w3.org/ns/shacl#PropertyShape" );
/** A constraint component that can be used to verify that a specified maximum
* number of value nodes conforms to a given shape.
*/
public static final Node QualifiedMaxCountConstraintComponent = createResource( "http://www.w3.org/ns/shacl#QualifiedMaxCountConstraintComponent" );
public static final Node QualifiedMaxCountConstraintComponent_qualifiedMaxCount = createResource( "http://www.w3.org/ns/shacl#QualifiedMaxCountConstraintComponent-qualifiedMaxCount" );
public static final Node QualifiedMaxCountConstraintComponent_qualifiedValueShape = createResource( "http://www.w3.org/ns/shacl#QualifiedMaxCountConstraintComponent-qualifiedValueShape" );
public static final Node QualifiedMaxCountConstraintComponent_qualifiedValueShapesDisjoint = createResource( "http://www.w3.org/ns/shacl#QualifiedMaxCountConstraintComponent-qualifiedValueShapesDisjoint" );
/** A constraint component that can be used to verify that a specified minimum
* number of value nodes conforms to a given shape.
*/
public static final Node QualifiedMinCountConstraintComponent = createResource( "http://www.w3.org/ns/shacl#QualifiedMinCountConstraintComponent" );
public static final Node QualifiedMinCountConstraintComponent_qualifiedMinCount = createResource( "http://www.w3.org/ns/shacl#QualifiedMinCountConstraintComponent-qualifiedMinCount" );
public static final Node QualifiedMinCountConstraintComponent_qualifiedValueShape = createResource( "http://www.w3.org/ns/shacl#QualifiedMinCountConstraintComponent-qualifiedValueShape" );
public static final Node QualifiedMinCountConstraintComponent_qualifiedValueShapesDisjoint = createResource( "http://www.w3.org/ns/shacl#QualifiedMinCountConstraintComponent-qualifiedValueShapesDisjoint" );
/** A class of result annotations, which define the rules to derive the values
* of a given annotation property as extra values for a validation result.
*/
public static final Node ResultAnnotation = createResource( "http://www.w3.org/ns/shacl#ResultAnnotation" );
/** The class of SHACL rules. Never instantiated directly.
*/
public static final Node Rule = createResource( "http://www.w3.org/ns/shacl#Rule" );
/** The class of SPARQL executables that are based on an ASK query.
*/
public static final Node SPARQLAskExecutable = createResource( "http://www.w3.org/ns/shacl#SPARQLAskExecutable" );
/** The class of validators based on SPARQL ASK queries. The queries are evaluated
* for each value node and are supposed to return true if the given node conforms.
*/
public static final Node SPARQLAskValidator = createResource( "http://www.w3.org/ns/shacl#SPARQLAskValidator" );
/** The class of constraints based on SPARQL SELECT queries.
*/
public static final Node SPARQLConstraint = createResource( "http://www.w3.org/ns/shacl#SPARQLConstraint" );
/** A constraint component that can be used to define constraints based on SPARQL
* queries.
*/
public static final Node SPARQLConstraintComponent = createResource( "http://www.w3.org/ns/shacl#SPARQLConstraintComponent" );
public static final Node SPARQLConstraintComponent_sparql = createResource( "http://www.w3.org/ns/shacl#SPARQLConstraintComponent-sparql" );
/** The class of SPARQL executables that are based on a CONSTRUCT query.
*/
public static final Node SPARQLConstructExecutable = createResource( "http://www.w3.org/ns/shacl#SPARQLConstructExecutable" );
/** The class of resources that encapsulate a SPARQL query.
*/
public static final Node SPARQLExecutable = createResource( "http://www.w3.org/ns/shacl#SPARQLExecutable" );
/** A function backed by a SPARQL query - either ASK or SELECT.
*/
public static final Node SPARQLFunction = createResource( "http://www.w3.org/ns/shacl#SPARQLFunction" );
/** The class of SHACL rules based on SPARQL CONSTRUCT queries.
*/
public static final Node SPARQLRule = createResource( "http://www.w3.org/ns/shacl#SPARQLRule" );
/** The class of SPARQL executables based on a SELECT query.
*/
public static final Node SPARQLSelectExecutable = createResource( "http://www.w3.org/ns/shacl#SPARQLSelectExecutable" );
/** The class of validators based on SPARQL SELECT queries. The queries are evaluated
* for each focus node and are supposed to produce bindings for all focus nodes
* that do not conform.
*/
public static final Node SPARQLSelectValidator = createResource( "http://www.w3.org/ns/shacl#SPARQLSelectValidator" );
/** The class of targets that are based on SPARQL queries.
*/
public static final Node SPARQLTarget = createResource( "http://www.w3.org/ns/shacl#SPARQLTarget" );
/** The (meta) class for parameterizable targets that are based on SPARQL queries.
*/
public static final Node SPARQLTargetType = createResource( "http://www.w3.org/ns/shacl#SPARQLTargetType" );
/** The class of SPARQL executables based on a SPARQL UPDATE.
*/
public static final Node SPARQLUpdateExecutable = createResource( "http://www.w3.org/ns/shacl#SPARQLUpdateExecutable" );
/** The class of validation result severity levels, including violation and warning
* levels.
*/
public static final Node Severity = createResource( "http://www.w3.org/ns/shacl#Severity" );
/** A shape is a collection of constraints that may be targeted for certain nodes.
*/
public static final Node Shape = createResource( "http://www.w3.org/ns/shacl#Shape" );
/** The base class of targets such as those based on SPARQL queries.
*/
public static final Node Target = createResource( "http://www.w3.org/ns/shacl#Target" );
/** The (meta) class for parameterizable targets. Instances of this are instantiated
* as values of the sh:target property.
*/
public static final Node TargetType = createResource( "http://www.w3.org/ns/shacl#TargetType" );
public static final Node TripleRule = createResource( "http://www.w3.org/ns/shacl#TripleRule" );
/** A constraint component that can be used to specify that no pair of value nodes
* may use the same language tag.
*/
public static final Node UniqueLangConstraintComponent = createResource( "http://www.w3.org/ns/shacl#UniqueLangConstraintComponent" );
public static final Node UniqueLangConstraintComponent_uniqueLang = createResource( "http://www.w3.org/ns/shacl#UniqueLangConstraintComponent-uniqueLang" );
/** The class of SHACL validation reports.
*/
public static final Node ValidationReport = createResource( "http://www.w3.org/ns/shacl#ValidationReport" );
/** The class of validation results.
*/
public static final Node ValidationResult = createResource( "http://www.w3.org/ns/shacl#ValidationResult" );
/** The class of validators, which provide instructions on how to process a constraint
* definition. This class serves as base class for the SPARQL-based validators
* and other possible implementations.
*/
public static final Node Validator = createResource( "http://www.w3.org/ns/shacl#Validator" );
/** The severity for a violation validation result.
*/
public static final Node Violation = createResource( "http://www.w3.org/ns/shacl#Violation" );
/** The severity for a warning validation result.
*/
public static final Node Warning = createResource( "http://www.w3.org/ns/shacl#Warning" );
/** A constraint component that can be used to restrict the value nodes so that
* they conform to exactly one out of several provided shapes.
*/
public static final Node XoneConstraintComponent = createResource( "http://www.w3.org/ns/shacl#XoneConstraintComponent" );
public static final Node XoneConstraintComponent_xone = createResource( "http://www.w3.org/ns/shacl#XoneConstraintComponent-xone" );
/** Set of all the constraint components in SHACL 1.0 Core and SPARQL : 32 items */
public static final Set allStdConstraintComponents;
static {
// Not including ConstraintComponent which is the class of constraint components
Node arrayAllConstraintComponents[] = {
AndConstraintComponent, ClassConstraintComponent, ClosedConstraintComponent, DatatypeConstraintComponent,
DisjointConstraintComponent, EqualsConstraintComponent, ExpressionConstraintComponent, HasValueConstraintComponent,
InConstraintComponent, JSConstraintComponent, LanguageInConstraintComponent,
LessThanConstraintComponent, LessThanOrEqualsConstraintComponent,
MaxCountConstraintComponent, MaxExclusiveConstraintComponent,
MaxInclusiveConstraintComponent, MaxLengthConstraintComponent,
MinCountConstraintComponent, MinExclusiveConstraintComponent,
MinInclusiveConstraintComponent, MinLengthConstraintComponent,
NodeConstraintComponent, NodeKindConstraintComponent,
NotConstraintComponent, OrConstraintComponent, PatternConstraintComponent, PropertyConstraintComponent,
QualifiedMaxCountConstraintComponent, QualifiedMinCountConstraintComponent, SPARQLConstraintComponent,
UniqueLangConstraintComponent, XoneConstraintComponent
};
allStdConstraintComponents = Set.of(arrayAllConstraintComponents);
}
}