Class: RDF::Vocab::SHACL
- Inherits:
-
StrictVocabulary
- Object
- StrictVocabulary
- RDF::Vocab::SHACL
- Defined in:
- lib/rdf/vocab/shacl.rb
Overview
Vocabulary for www.w3.org/ns/shacl#
W3C Shapes Constraint Language (SHACL) Vocabulary
This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language.
Instance Attribute Summary collapse
-
#AbstractResult ⇒ RDF::Vocabulary::Term
readonly
The base class of validation results, typically not instantiated directly.
-
#alternativePath ⇒ RDF::Vocabulary::Term
readonly
The (single) value of this property must be a list of path elements, representing the elements of alternative paths.
-
#and ⇒ RDF::Vocabulary::Term
readonly
RDF list of shapes to validate the value nodes against.
-
#AndConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to test whether a value node conforms to all members of a provided list of shapes.
-
#annotationProperty ⇒ RDF::Vocabulary::Term
readonly
The annotation property that shall be set.
-
#annotationValue ⇒ RDF::Vocabulary::Term
readonly
The (default) values of the annotation property.
-
#annotationVarName ⇒ RDF::Vocabulary::Term
readonly
The name of the SPARQL variable from the SELECT clause that shall be used for the values.
-
#ask ⇒ RDF::Vocabulary::Term
readonly
The SPARQL ASK query to execute.
-
#BlankNode ⇒ RDF::Vocabulary::Term
readonly
The node kind of all blank nodes.
-
#BlankNodeOrIRI ⇒ RDF::Vocabulary::Term
readonly
The node kind of all blank nodes or IRIs.
-
#BlankNodeOrLiteral ⇒ RDF::Vocabulary::Term
readonly
The node kind of all blank nodes or literals.
-
#class ⇒ RDF::Vocabulary::Term
readonly
The type that all value nodes must have.
-
#ClassConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that each value node is an instance of a given type.
-
#closed ⇒ RDF::Vocabulary::Term
readonly
If set to true then the shape is closed.
-
#ClosedConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#condition ⇒ RDF::Vocabulary::Term
readonly
The shapes that the focus nodes need to conform to before a rule is executed on them.
-
#conforms ⇒ RDF::Vocabulary::Term
readonly
True if the validation did not produce any validation results, and false otherwise.
-
#ConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
The class of constraint components.
-
#construct ⇒ RDF::Vocabulary::Term
readonly
The SPARQL CONSTRUCT query to execute.
-
#datatype ⇒ RDF::Vocabulary::Term
readonly
Specifies an RDF datatype that all value nodes must have.
-
#DatatypeConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the datatype of all value nodes.
-
#deactivated ⇒ RDF::Vocabulary::Term
readonly
If set to true then all nodes conform to this.
-
#declare ⇒ RDF::Vocabulary::Term
readonly
Links a resource with its namespace prefix declarations.
-
#defaultValue ⇒ RDF::Vocabulary::Term
readonly
A default value for a property, for example for user interface tools to pre-populate input fields.
-
#description ⇒ RDF::Vocabulary::Term
readonly
Human-readable descriptions for the property in the context of the surrounding shape.
-
#detail ⇒ RDF::Vocabulary::Term
readonly
Links a result with other results that provide more details, for example to describe violations against nested shapes.
-
#disjoint ⇒ RDF::Vocabulary::Term
readonly
Specifies a property where the set of values must be disjoint with the value nodes.
-
#DisjointConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#entailment ⇒ RDF::Vocabulary::Term
readonly
An entailment regime that indicates what kind of inferencing is required by a shapes graph.
-
#equals ⇒ RDF::Vocabulary::Term
readonly
Specifies a property that must have the same values as the value nodes.
-
#EqualsConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#expression ⇒ RDF::Vocabulary::Term
readonly
The node expression that must return true for the value nodes.
-
#ExpressionConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that a given node expression produces true for all value nodes.
-
#filterShape ⇒ RDF::Vocabulary::Term
readonly
The shape that all input nodes of the expression need to conform to.
-
#flags ⇒ RDF::Vocabulary::Term
readonly
An optional flag to be used with regular expression pattern matching.
-
#focusNode ⇒ RDF::Vocabulary::Term
readonly
The focus node that was validated when the result was produced.
-
#Function ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL functions.
-
#group ⇒ RDF::Vocabulary::Term
readonly
Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes.
-
#hasValue ⇒ RDF::Vocabulary::Term
readonly
Specifies a value that must be among the value nodes.
-
#HasValueConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that one of the value nodes is a given RDF node.
-
#ignoredProperties ⇒ RDF::Vocabulary::Term
readonly
An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path.
-
#in ⇒ RDF::Vocabulary::Term
readonly
Specifies a list of allowed values so that each value node must be among the members of the given list.
-
#InConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to exclusively enumerate the permitted value nodes.
-
#Info ⇒ RDF::Vocabulary::Term
readonly
The severity for an informational validation result.
-
#intersection ⇒ RDF::Vocabulary::Term
readonly
A list of node expressions that shall be intersected.
-
#inversePath ⇒ RDF::Vocabulary::Term
readonly
The (single) value of this property represents an inverse path (object to subject).
-
#IRI ⇒ RDF::Vocabulary::Term
readonly
The node kind of all IRIs.
-
#IRIOrLiteral ⇒ RDF::Vocabulary::Term
readonly
The node kind of all IRIs or literals.
-
#js ⇒ RDF::Vocabulary::Term
readonly
Constraints expressed in JavaScript.
-
#JSConstraint ⇒ RDF::Vocabulary::Term
readonly
The class of constraints backed by a JavaScript function.
-
#JSConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component with the parameter sh:js linking to a sh:JSConstraint containing a sh:script.
-
#JSExecutable ⇒ RDF::Vocabulary::Term
readonly
Abstract base class of resources that declare an executable JavaScript.
-
#JSFunction ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL functions that execute a JavaScript function when called.
-
#jsFunctionName ⇒ RDF::Vocabulary::Term
readonly
The name of the JavaScript function to execute.
-
#JSLibrary ⇒ RDF::Vocabulary::Term
readonly
Represents a JavaScript library, typically identified by one or more URLs of files to include.
-
#jsLibrary ⇒ RDF::Vocabulary::Term
readonly
Declares which JavaScript libraries are needed to execute this.
-
#jsLibraryURL ⇒ RDF::Vocabulary::Term
readonly
Declares the URLs of a JavaScript library.
-
#JSRule ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL rules expressed using JavaScript.
-
#JSTarget ⇒ RDF::Vocabulary::Term
readonly
The class of targets that are based on JavaScript functions.
-
#JSTargetType ⇒ RDF::Vocabulary::Term
readonly
The (meta) class for parameterizable targets that are based on JavaScript functions.
-
#JSValidator ⇒ RDF::Vocabulary::Term
readonly
A SHACL validator based on JavaScript.
-
#labelTemplate ⇒ RDF::Vocabulary::Term
readonly
Outlines how human-readable labels of instances of the associated Parameterizable shall be produced.
-
#languageIn ⇒ RDF::Vocabulary::Term
readonly
Specifies a list of language tags that all value nodes must have.
-
#LanguageInConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to enumerate language tags that all value nodes must have.
-
#lessThan ⇒ RDF::Vocabulary::Term
readonly
Specifies a property that must have smaller values than the value nodes.
-
#LessThanConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#lessThanOrEquals ⇒ RDF::Vocabulary::Term
readonly
Specifies a property that must have smaller or equal values than the value nodes.
-
#LessThanOrEqualsConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#Literal ⇒ RDF::Vocabulary::Term
readonly
The node kind of all literals.
-
#maxCount ⇒ RDF::Vocabulary::Term
readonly
Specifies the maximum number of values in the set of value nodes.
-
#MaxCountConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the maximum number of value nodes.
-
#maxExclusive ⇒ RDF::Vocabulary::Term
readonly
Specifies the maximum exclusive value of each value node.
-
#MaxExclusiveConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value.
-
#maxInclusive ⇒ RDF::Vocabulary::Term
readonly
Specifies the maximum inclusive value of each value node.
-
#MaxInclusiveConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value.
-
#maxLength ⇒ RDF::Vocabulary::Term
readonly
Specifies the maximum string length of each value node.
-
#MaxLengthConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the maximum string length of value nodes.
-
#message ⇒ RDF::Vocabulary::Term
readonly
A human-readable message (possibly with placeholders for variables) explaining the cause of the result.
-
#minCount ⇒ RDF::Vocabulary::Term
readonly
Specifies the minimum number of values in the set of value nodes.
-
#MinCountConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the minimum number of value nodes.
-
#minExclusive ⇒ RDF::Vocabulary::Term
readonly
Specifies the minimum exclusive value of each value node.
-
#MinExclusiveConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value.
-
#minInclusive ⇒ RDF::Vocabulary::Term
readonly
Specifies the minimum inclusive value of each value node.
-
#MinInclusiveConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value.
-
#minLength ⇒ RDF::Vocabulary::Term
readonly
Specifies the minimum string length of each value node.
-
#MinLengthConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the minimum string length of value nodes.
-
#name ⇒ RDF::Vocabulary::Term
readonly
Human-readable labels for the property in the context of the surrounding shape.
-
#namespace ⇒ RDF::Vocabulary::Term
readonly
The namespace associated with a prefix in a prefix declaration.
-
#node ⇒ RDF::Vocabulary::Term
readonly
Specifies the node shape that all value nodes must conform to.
-
#NodeConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that all value nodes conform to the given node shape.
-
#NodeKind ⇒ RDF::Vocabulary::Term
readonly
The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral.
-
#nodeKind ⇒ RDF::Vocabulary::Term
readonly
Specifies the node kind (e.g. IRI or literal) each value node.
-
#NodeKindConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the RDF node kind of each value node.
-
#nodes ⇒ RDF::Vocabulary::Term
readonly
The node expression producing the input nodes of a filter shape expression.
-
#NodeShape ⇒ RDF::Vocabulary::Term
readonly
A node shape is a shape that specifies constraint that need to be met with respect to focus nodes.
-
#nodeValidator ⇒ RDF::Vocabulary::Term
readonly
The validator(s) used to evaluate a constraint in the context of a node shape.
-
#not ⇒ RDF::Vocabulary::Term
readonly
Specifies a shape that the value nodes must not conform to.
-
#NotConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that value nodes do not conform to a given shape.
-
#object ⇒ RDF::Vocabulary::Term
readonly
An expression producing the nodes that shall be inferred as objects.
-
#oneOrMorePath ⇒ RDF::Vocabulary::Term
readonly
The (single) value of this property represents a path that is matched one or more times.
-
#optional ⇒ RDF::Vocabulary::Term
readonly
Indicates whether a parameter is optional.
-
#or ⇒ RDF::Vocabulary::Term
readonly
Specifies a list of shapes so that the value nodes must conform to at least one of the shapes.
-
#OrConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
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.
-
#order ⇒ RDF::Vocabulary::Term
readonly
Specifies the relative order of this compared to its siblings.
-
#Parameter ⇒ RDF::Vocabulary::Term
readonly
The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics.
-
#parameter ⇒ RDF::Vocabulary::Term
readonly
The parameters of a function or constraint component.
-
#Parameterizable ⇒ RDF::Vocabulary::Term
readonly
Superclass of components that can take parameters, especially functions and constraint components.
-
#path ⇒ RDF::Vocabulary::Term
readonly
Specifies the property path of a property shape.
-
#pattern ⇒ RDF::Vocabulary::Term
readonly
Specifies a regular expression pattern that the string representations of the value nodes must match.
-
#PatternConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that every value node matches a given regular expression.
-
#predicate ⇒ RDF::Vocabulary::Term
readonly
An expression producing the properties that shall be inferred as predicates.
-
#prefix ⇒ RDF::Vocabulary::Term
readonly
The prefix of a prefix declaration.
-
#PrefixDeclaration ⇒ RDF::Vocabulary::Term
readonly
The class of prefix declarations, consisting of pairs of a prefix with a namespace.
-
#prefixes ⇒ RDF::Vocabulary::Term
readonly
The prefixes that shall be applied before parsing the associated SPARQL query.
-
#property ⇒ RDF::Vocabulary::Term
readonly
Links a shape to its property shapes.
-
#PropertyConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that all value nodes conform to the given property shape.
-
#PropertyGroup ⇒ RDF::Vocabulary::Term
readonly
Instances of this class represent groups of property shapes that belong together.
-
#PropertyShape ⇒ RDF::Vocabulary::Term
readonly
A property shape is a shape that specifies constraints on the values of a focus node for a given property or path.
-
#propertyValidator ⇒ RDF::Vocabulary::Term
readonly
The validator(s) used to evaluate a constraint in the context of a property shape.
-
#qualifiedMaxCount ⇒ RDF::Vocabulary::Term
readonly
The maximum number of value nodes that can conform to the shape.
-
#QualifiedMaxCountConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that a specified maximum number of value nodes conforms to a given shape.
-
#qualifiedMinCount ⇒ RDF::Vocabulary::Term
readonly
The minimum number of value nodes that must conform to the shape.
-
#QualifiedMinCountConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to verify that a specified minimum number of value nodes conforms to a given shape.
-
#qualifiedValueShape ⇒ RDF::Vocabulary::Term
readonly
The shape that a specified number of values must conform to.
-
#qualifiedValueShapesDisjoint ⇒ RDF::Vocabulary::Term
readonly
Can be used to mark the qualified value shape to be disjoint with its sibling shapes.
-
#result ⇒ RDF::Vocabulary::Term
readonly
The validation results contained in a validation report.
-
#ResultAnnotation ⇒ RDF::Vocabulary::Term
readonly
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.
-
#resultAnnotation ⇒ RDF::Vocabulary::Term
readonly
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.
-
#resultMessage ⇒ RDF::Vocabulary::Term
readonly
Human-readable messages explaining the cause of the result.
-
#resultPath ⇒ RDF::Vocabulary::Term
readonly
The path of a validation result, based on the path of the validated property shape.
-
#resultSeverity ⇒ RDF::Vocabulary::Term
readonly
The severity of the result, e.g.
-
#returnType ⇒ RDF::Vocabulary::Term
readonly
The expected type of values returned by the associated function.
-
#Rule ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL rules.
-
#rule ⇒ RDF::Vocabulary::Term
readonly
The rules linked to a shape.
-
#select ⇒ RDF::Vocabulary::Term
readonly
The SPARQL SELECT query to execute.
-
#Severity ⇒ RDF::Vocabulary::Term
readonly
The class of validation result severity levels, including violation and warning levels.
-
#severity ⇒ RDF::Vocabulary::Term
readonly
Defines the severity that validation results produced by a shape must have.
-
#Shape ⇒ RDF::Vocabulary::Term
readonly
A shape is a collection of constraints that may be targeted for certain nodes.
-
#shapesGraph ⇒ RDF::Vocabulary::Term
readonly
Shapes graphs that should be used when validating this data graph.
-
#shapesGraphWellFormed ⇒ RDF::Vocabulary::Term
readonly
If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process.
-
#sourceConstraint ⇒ RDF::Vocabulary::Term
readonly
The constraint that was validated when the result was produced.
-
#sourceConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
The constraint component that is the source of the result.
-
#sourceShape ⇒ RDF::Vocabulary::Term
readonly
The shape that is was validated when the result was produced.
-
#sparql ⇒ RDF::Vocabulary::Term
readonly
Links a shape with SPARQL constraints.
-
#SPARQLAskExecutable ⇒ RDF::Vocabulary::Term
readonly
The class of SPARQL executables that are based on an ASK query.
-
#SPARQLAskValidator ⇒ RDF::Vocabulary::Term
readonly
The class of validators based on SPARQL ASK queries.
-
#SPARQLConstraint ⇒ RDF::Vocabulary::Term
readonly
The class of constraints based on SPARQL SELECT queries.
-
#SPARQLConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to define constraints based on SPARQL queries.
-
#SPARQLConstructExecutable ⇒ RDF::Vocabulary::Term
readonly
The class of SPARQL executables that are based on a CONSTRUCT query.
-
#SPARQLExecutable ⇒ RDF::Vocabulary::Term
readonly
The class of resources that encapsulate a SPARQL query.
-
#SPARQLFunction ⇒ RDF::Vocabulary::Term
readonly
A function backed by a SPARQL query - either ASK or SELECT.
-
#SPARQLRule ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL rules based on SPARQL CONSTRUCT queries.
-
#SPARQLSelectExecutable ⇒ RDF::Vocabulary::Term
readonly
The class of SPARQL executables based on a SELECT query.
-
#SPARQLSelectValidator ⇒ RDF::Vocabulary::Term
readonly
The class of validators based on SPARQL SELECT queries.
-
#SPARQLTarget ⇒ RDF::Vocabulary::Term
readonly
The class of targets that are based on SPARQL queries.
-
#SPARQLTargetType ⇒ RDF::Vocabulary::Term
readonly
The (meta) class for parameterizable targets that are based on SPARQL queries.
-
#SPARQLUpdateExecutable ⇒ RDF::Vocabulary::Term
readonly
The class of SPARQL executables based on a SPARQL UPDATE.
-
#subject ⇒ RDF::Vocabulary::Term
readonly
An expression producing the resources that shall be inferred as subjects.
-
#suggestedShapesGraph ⇒ RDF::Vocabulary::Term
readonly
Suggested shapes graphs for this ontology.
-
#Target ⇒ RDF::Vocabulary::Term
readonly
The base class of targets such as those based on SPARQL queries.
-
#target ⇒ RDF::Vocabulary::Term
readonly
Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget.
-
#targetClass ⇒ RDF::Vocabulary::Term
readonly
Links a shape to a class, indicating that all instances of the class must conform to the shape.
-
#targetNode ⇒ RDF::Vocabulary::Term
readonly
Links a shape to individual nodes, indicating that these nodes must conform to the shape.
-
#targetObjectsOf ⇒ RDF::Vocabulary::Term
readonly
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.
-
#targetSubjectsOf ⇒ RDF::Vocabulary::Term
readonly
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.
-
#TargetType ⇒ RDF::Vocabulary::Term
readonly
The (meta) class for parameterizable targets.
-
#this ⇒ RDF::Vocabulary::Term
readonly
A node expression that represents the current focus node.
- #TripleRule ⇒ RDF::Vocabulary::Term readonly
-
#union ⇒ RDF::Vocabulary::Term
readonly
A list of node expressions that shall be used together.
-
#uniqueLang ⇒ RDF::Vocabulary::Term
readonly
Specifies whether all node values must have a unique (or no) language tag.
-
#UniqueLangConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to specify that no pair of value nodes may use the same language tag.
-
#update ⇒ RDF::Vocabulary::Term
readonly
The SPARQL UPDATE to execute.
-
#ValidationReport ⇒ RDF::Vocabulary::Term
readonly
The class of SHACL validation reports.
-
#ValidationResult ⇒ RDF::Vocabulary::Term
readonly
The class of validation results.
-
#Validator ⇒ RDF::Vocabulary::Term
readonly
The class of validators, which provide instructions on how to process a constraint definition.
-
#validator ⇒ RDF::Vocabulary::Term
readonly
The validator(s) used to evaluate constraints of either node or property shapes.
-
#value ⇒ RDF::Vocabulary::Term
readonly
An RDF node that has caused the result.
-
#Violation ⇒ RDF::Vocabulary::Term
readonly
The severity for a violation validation result.
-
#Warning ⇒ RDF::Vocabulary::Term
readonly
The severity for a warning validation result.
-
#xone ⇒ RDF::Vocabulary::Term
readonly
Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes.
-
#XoneConstraintComponent ⇒ RDF::Vocabulary::Term
readonly
A constraint component that can be used to restrict the value nodes so that they conform to exactly one out of several provided shapes.
-
#zeroOrMorePath ⇒ RDF::Vocabulary::Term
readonly
The (single) value of this property represents a path that is matched zero or more times.
-
#zeroOrOnePath ⇒ RDF::Vocabulary::Term
readonly
The (single) value of this property represents a path that is matched zero or one times.
Instance Attribute Details
#AbstractResult ⇒ RDF::Vocabulary::Term (readonly)
The base class of validation results, typically not instantiated directly.
9 10 11 |
# File 'lib/rdf/vocab/shacl.rb', line 9 def AbstractResult @AbstractResult end |
#alternativePath ⇒ RDF::Vocabulary::Term (readonly)
The (single) value of this property must be a list of path elements, representing the elements of alternative paths.
168 169 170 |
# File 'lib/rdf/vocab/shacl.rb', line 168 def alternativePath @alternativePath end |
#and ⇒ RDF::Vocabulary::Term (readonly)
RDF list of shapes to validate the value nodes against.
172 173 174 |
# File 'lib/rdf/vocab/shacl.rb', line 172 def and @and end |
#AndConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to test whether a value node conforms to all members of a provided list of shapes.
572 573 574 |
# File 'lib/rdf/vocab/shacl.rb', line 572 def AndConstraintComponent @AndConstraintComponent end |
#annotationProperty ⇒ RDF::Vocabulary::Term (readonly)
The annotation property that shall be set.
176 177 178 |
# File 'lib/rdf/vocab/shacl.rb', line 176 def annotationProperty @annotationProperty end |
#annotationValue ⇒ RDF::Vocabulary::Term (readonly)
The (default) values of the annotation property.
180 181 182 |
# File 'lib/rdf/vocab/shacl.rb', line 180 def annotationValue @annotationValue end |
#annotationVarName ⇒ RDF::Vocabulary::Term (readonly)
The name of the SPARQL variable from the SELECT clause that shall be used for the values.
184 185 186 |
# File 'lib/rdf/vocab/shacl.rb', line 184 def annotationVarName @annotationVarName end |
#ask ⇒ RDF::Vocabulary::Term (readonly)
The SPARQL ASK query to execute.
188 189 190 |
# File 'lib/rdf/vocab/shacl.rb', line 188 def ask @ask end |
#BlankNode ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all blank nodes.
576 577 578 |
# File 'lib/rdf/vocab/shacl.rb', line 576 def BlankNode @BlankNode end |
#BlankNodeOrIRI ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all blank nodes or IRIs.
580 581 582 |
# File 'lib/rdf/vocab/shacl.rb', line 580 def BlankNodeOrIRI @BlankNodeOrIRI end |
#BlankNodeOrLiteral ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all blank nodes or literals.
584 585 586 |
# File 'lib/rdf/vocab/shacl.rb', line 584 def BlankNodeOrLiteral @BlankNodeOrLiteral end |
#class ⇒ RDF::Vocabulary::Term (readonly)
The type that all value nodes must have.
192 193 194 |
# File 'lib/rdf/vocab/shacl.rb', line 192 def class @class end |
#ClassConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that each value node is an instance of a given type.
588 589 590 |
# File 'lib/rdf/vocab/shacl.rb', line 588 def ClassConstraintComponent @ClassConstraintComponent end |
#closed ⇒ RDF::Vocabulary::Term (readonly)
If set to true then the shape is closed.
196 197 198 |
# File 'lib/rdf/vocab/shacl.rb', line 196 def closed @closed end |
#ClosedConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
592 593 594 |
# File 'lib/rdf/vocab/shacl.rb', line 592 def ClosedConstraintComponent @ClosedConstraintComponent end |
#condition ⇒ RDF::Vocabulary::Term (readonly)
The shapes that the focus nodes need to conform to before a rule is executed on them.
200 201 202 |
# File 'lib/rdf/vocab/shacl.rb', line 200 def condition @condition end |
#conforms ⇒ RDF::Vocabulary::Term (readonly)
True if the validation did not produce any validation results, and false otherwise.
204 205 206 |
# File 'lib/rdf/vocab/shacl.rb', line 204 def conforms @conforms end |
#ConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
The class of constraint components.
13 14 15 |
# File 'lib/rdf/vocab/shacl.rb', line 13 def ConstraintComponent @ConstraintComponent end |
#construct ⇒ RDF::Vocabulary::Term (readonly)
The SPARQL CONSTRUCT query to execute.
208 209 210 |
# File 'lib/rdf/vocab/shacl.rb', line 208 def construct @construct end |
#datatype ⇒ RDF::Vocabulary::Term (readonly)
Specifies an RDF datatype that all value nodes must have.
212 213 214 |
# File 'lib/rdf/vocab/shacl.rb', line 212 def datatype @datatype end |
#DatatypeConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the datatype of all value nodes.
596 597 598 |
# File 'lib/rdf/vocab/shacl.rb', line 596 def DatatypeConstraintComponent @DatatypeConstraintComponent end |
#deactivated ⇒ RDF::Vocabulary::Term (readonly)
If set to true then all nodes conform to this.
216 217 218 |
# File 'lib/rdf/vocab/shacl.rb', line 216 def deactivated @deactivated end |
#declare ⇒ RDF::Vocabulary::Term (readonly)
Links a resource with its namespace prefix declarations.
220 221 222 |
# File 'lib/rdf/vocab/shacl.rb', line 220 def declare @declare end |
#defaultValue ⇒ RDF::Vocabulary::Term (readonly)
A default value for a property, for example for user interface tools to pre-populate input fields.
224 225 226 |
# File 'lib/rdf/vocab/shacl.rb', line 224 def defaultValue @defaultValue end |
#description ⇒ RDF::Vocabulary::Term (readonly)
Human-readable descriptions for the property in the context of the surrounding shape.
228 229 230 |
# File 'lib/rdf/vocab/shacl.rb', line 228 def description @description end |
#detail ⇒ RDF::Vocabulary::Term (readonly)
Links a result with other results that provide more details, for example to describe violations against nested shapes.
232 233 234 |
# File 'lib/rdf/vocab/shacl.rb', line 232 def detail @detail end |
#disjoint ⇒ RDF::Vocabulary::Term (readonly)
Specifies a property where the set of values must be disjoint with the value nodes.
236 237 238 |
# File 'lib/rdf/vocab/shacl.rb', line 236 def disjoint @disjoint end |
#DisjointConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
600 601 602 |
# File 'lib/rdf/vocab/shacl.rb', line 600 def DisjointConstraintComponent @DisjointConstraintComponent end |
#entailment ⇒ RDF::Vocabulary::Term (readonly)
An entailment regime that indicates what kind of inferencing is required by a shapes graph.
240 241 242 |
# File 'lib/rdf/vocab/shacl.rb', line 240 def entailment @entailment end |
#equals ⇒ RDF::Vocabulary::Term (readonly)
Specifies a property that must have the same values as the value nodes.
244 245 246 |
# File 'lib/rdf/vocab/shacl.rb', line 244 def equals @equals end |
#EqualsConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
604 605 606 |
# File 'lib/rdf/vocab/shacl.rb', line 604 def EqualsConstraintComponent @EqualsConstraintComponent end |
#expression ⇒ RDF::Vocabulary::Term (readonly)
The node expression that must return true for the value nodes.
248 249 250 |
# File 'lib/rdf/vocab/shacl.rb', line 248 def expression @expression end |
#ExpressionConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that a given node expression produces true for all value nodes.
608 609 610 |
# File 'lib/rdf/vocab/shacl.rb', line 608 def ExpressionConstraintComponent @ExpressionConstraintComponent end |
#filterShape ⇒ RDF::Vocabulary::Term (readonly)
The shape that all input nodes of the expression need to conform to.
252 253 254 |
# File 'lib/rdf/vocab/shacl.rb', line 252 def filterShape @filterShape end |
#flags ⇒ RDF::Vocabulary::Term (readonly)
An optional flag to be used with regular expression pattern matching.
256 257 258 |
# File 'lib/rdf/vocab/shacl.rb', line 256 def flags @flags end |
#focusNode ⇒ RDF::Vocabulary::Term (readonly)
The focus node that was validated when the result was produced.
260 261 262 |
# File 'lib/rdf/vocab/shacl.rb', line 260 def focusNode @focusNode end |
#Function ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL functions.
17 18 19 |
# File 'lib/rdf/vocab/shacl.rb', line 17 def Function @Function end |
#group ⇒ RDF::Vocabulary::Term (readonly)
Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes.
264 265 266 |
# File 'lib/rdf/vocab/shacl.rb', line 264 def group @group end |
#hasValue ⇒ RDF::Vocabulary::Term (readonly)
Specifies a value that must be among the value nodes.
268 269 270 |
# File 'lib/rdf/vocab/shacl.rb', line 268 def hasValue @hasValue end |
#HasValueConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that one of the value nodes is a given RDF node.
612 613 614 |
# File 'lib/rdf/vocab/shacl.rb', line 612 def HasValueConstraintComponent @HasValueConstraintComponent end |
#ignoredProperties ⇒ RDF::Vocabulary::Term (readonly)
An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path.
272 273 274 |
# File 'lib/rdf/vocab/shacl.rb', line 272 def ignoredProperties @ignoredProperties end |
#in ⇒ RDF::Vocabulary::Term (readonly)
Specifies a list of allowed values so that each value node must be among the members of the given list.
276 277 278 |
# File 'lib/rdf/vocab/shacl.rb', line 276 def in @in end |
#InConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to exclusively enumerate the permitted value nodes.
624 625 626 |
# File 'lib/rdf/vocab/shacl.rb', line 624 def InConstraintComponent @InConstraintComponent end |
#Info ⇒ RDF::Vocabulary::Term (readonly)
The severity for an informational validation result.
628 629 630 |
# File 'lib/rdf/vocab/shacl.rb', line 628 def Info @Info end |
#intersection ⇒ RDF::Vocabulary::Term (readonly)
A list of node expressions that shall be intersected.
280 281 282 |
# File 'lib/rdf/vocab/shacl.rb', line 280 def intersection @intersection end |
#inversePath ⇒ RDF::Vocabulary::Term (readonly)
The (single) value of this property represents an inverse path (object to subject).
284 285 286 |
# File 'lib/rdf/vocab/shacl.rb', line 284 def inversePath @inversePath end |
#IRI ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all IRIs.
616 617 618 |
# File 'lib/rdf/vocab/shacl.rb', line 616 def IRI @IRI end |
#IRIOrLiteral ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all IRIs or literals.
620 621 622 |
# File 'lib/rdf/vocab/shacl.rb', line 620 def IRIOrLiteral @IRIOrLiteral end |
#js ⇒ RDF::Vocabulary::Term (readonly)
Constraints expressed in JavaScript.
288 289 290 |
# File 'lib/rdf/vocab/shacl.rb', line 288 def js @js end |
#JSConstraint ⇒ RDF::Vocabulary::Term (readonly)
The class of constraints backed by a JavaScript function.
21 22 23 |
# File 'lib/rdf/vocab/shacl.rb', line 21 def JSConstraint @JSConstraint end |
#JSConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component with the parameter sh:js linking to a sh:JSConstraint containing a sh:script.
632 633 634 |
# File 'lib/rdf/vocab/shacl.rb', line 632 def JSConstraintComponent @JSConstraintComponent end |
#JSExecutable ⇒ RDF::Vocabulary::Term (readonly)
Abstract base class of resources that declare an executable JavaScript.
25 26 27 |
# File 'lib/rdf/vocab/shacl.rb', line 25 def JSExecutable @JSExecutable end |
#JSFunction ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL functions that execute a JavaScript function when called.
29 30 31 |
# File 'lib/rdf/vocab/shacl.rb', line 29 def JSFunction @JSFunction end |
#jsFunctionName ⇒ RDF::Vocabulary::Term (readonly)
The name of the JavaScript function to execute.
292 293 294 |
# File 'lib/rdf/vocab/shacl.rb', line 292 def jsFunctionName @jsFunctionName end |
#JSLibrary ⇒ RDF::Vocabulary::Term (readonly)
Represents a JavaScript library, typically identified by one or more URLs of files to include.
33 34 35 |
# File 'lib/rdf/vocab/shacl.rb', line 33 def JSLibrary @JSLibrary end |
#jsLibrary ⇒ RDF::Vocabulary::Term (readonly)
Declares which JavaScript libraries are needed to execute this.
296 297 298 |
# File 'lib/rdf/vocab/shacl.rb', line 296 def jsLibrary @jsLibrary end |
#jsLibraryURL ⇒ RDF::Vocabulary::Term (readonly)
Declares the URLs of a JavaScript library. This should be the absolute URL of a JavaScript file. Implementations may redirect those to local files.
300 301 302 |
# File 'lib/rdf/vocab/shacl.rb', line 300 def jsLibraryURL @jsLibraryURL end |
#JSRule ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL rules expressed using JavaScript.
37 38 39 |
# File 'lib/rdf/vocab/shacl.rb', line 37 def JSRule @JSRule end |
#JSTarget ⇒ RDF::Vocabulary::Term (readonly)
The class of targets that are based on JavaScript functions.
41 42 43 |
# File 'lib/rdf/vocab/shacl.rb', line 41 def JSTarget @JSTarget end |
#JSTargetType ⇒ RDF::Vocabulary::Term (readonly)
The (meta) class for parameterizable targets that are based on JavaScript functions.
45 46 47 |
# File 'lib/rdf/vocab/shacl.rb', line 45 def JSTargetType @JSTargetType end |
#JSValidator ⇒ RDF::Vocabulary::Term (readonly)
A SHACL validator based on JavaScript. This can be used to declare SHACL constraint components that perform JavaScript-based validation when used.
49 50 51 |
# File 'lib/rdf/vocab/shacl.rb', line 49 def JSValidator @JSValidator end |
#labelTemplate ⇒ RDF::Vocabulary::Term (readonly)
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.
304 305 306 |
# File 'lib/rdf/vocab/shacl.rb', line 304 def labelTemplate @labelTemplate end |
#languageIn ⇒ RDF::Vocabulary::Term (readonly)
Specifies a list of language tags that all value nodes must have.
308 309 310 |
# File 'lib/rdf/vocab/shacl.rb', line 308 def languageIn @languageIn end |
#LanguageInConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to enumerate language tags that all value nodes must have.
636 637 638 |
# File 'lib/rdf/vocab/shacl.rb', line 636 def LanguageInConstraintComponent @LanguageInConstraintComponent end |
#lessThan ⇒ RDF::Vocabulary::Term (readonly)
Specifies a property that must have smaller values than the value nodes.
312 313 314 |
# File 'lib/rdf/vocab/shacl.rb', line 312 def lessThan @lessThan end |
#LessThanConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
640 641 642 |
# File 'lib/rdf/vocab/shacl.rb', line 640 def LessThanConstraintComponent @LessThanConstraintComponent end |
#lessThanOrEquals ⇒ RDF::Vocabulary::Term (readonly)
Specifies a property that must have smaller or equal values than the value nodes.
316 317 318 |
# File 'lib/rdf/vocab/shacl.rb', line 316 def lessThanOrEquals @lessThanOrEquals end |
#LessThanOrEqualsConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
644 645 646 |
# File 'lib/rdf/vocab/shacl.rb', line 644 def LessThanOrEqualsConstraintComponent @LessThanOrEqualsConstraintComponent end |
#Literal ⇒ RDF::Vocabulary::Term (readonly)
The node kind of all literals.
648 649 650 |
# File 'lib/rdf/vocab/shacl.rb', line 648 def Literal @Literal end |
#maxCount ⇒ RDF::Vocabulary::Term (readonly)
Specifies the maximum number of values in the set of value nodes.
320 321 322 |
# File 'lib/rdf/vocab/shacl.rb', line 320 def maxCount @maxCount end |
#MaxCountConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the maximum number of value nodes.
652 653 654 |
# File 'lib/rdf/vocab/shacl.rb', line 652 def MaxCountConstraintComponent @MaxCountConstraintComponent end |
#maxExclusive ⇒ RDF::Vocabulary::Term (readonly)
Specifies the maximum exclusive value of each value node.
324 325 326 |
# File 'lib/rdf/vocab/shacl.rb', line 324 def maxExclusive @maxExclusive end |
#MaxExclusiveConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the range of value nodes with a maximum exclusive value.
656 657 658 |
# File 'lib/rdf/vocab/shacl.rb', line 656 def MaxExclusiveConstraintComponent @MaxExclusiveConstraintComponent end |
#maxInclusive ⇒ RDF::Vocabulary::Term (readonly)
Specifies the maximum inclusive value of each value node.
328 329 330 |
# File 'lib/rdf/vocab/shacl.rb', line 328 def maxInclusive @maxInclusive end |
#MaxInclusiveConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the range of value nodes with a maximum inclusive value.
660 661 662 |
# File 'lib/rdf/vocab/shacl.rb', line 660 def MaxInclusiveConstraintComponent @MaxInclusiveConstraintComponent end |
#maxLength ⇒ RDF::Vocabulary::Term (readonly)
Specifies the maximum string length of each value node.
332 333 334 |
# File 'lib/rdf/vocab/shacl.rb', line 332 def maxLength @maxLength end |
#MaxLengthConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the maximum string length of value nodes.
664 665 666 |
# File 'lib/rdf/vocab/shacl.rb', line 664 def MaxLengthConstraintComponent @MaxLengthConstraintComponent end |
#message ⇒ RDF::Vocabulary::Term (readonly)
A human-readable message (possibly with placeholders for variables) explaining the cause of the result.
336 337 338 |
# File 'lib/rdf/vocab/shacl.rb', line 336 def @message end |
#minCount ⇒ RDF::Vocabulary::Term (readonly)
Specifies the minimum number of values in the set of value nodes.
340 341 342 |
# File 'lib/rdf/vocab/shacl.rb', line 340 def minCount @minCount end |
#MinCountConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the minimum number of value nodes.
668 669 670 |
# File 'lib/rdf/vocab/shacl.rb', line 668 def MinCountConstraintComponent @MinCountConstraintComponent end |
#minExclusive ⇒ RDF::Vocabulary::Term (readonly)
Specifies the minimum exclusive value of each value node.
344 345 346 |
# File 'lib/rdf/vocab/shacl.rb', line 344 def minExclusive @minExclusive end |
#MinExclusiveConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the range of value nodes with a minimum exclusive value.
672 673 674 |
# File 'lib/rdf/vocab/shacl.rb', line 672 def MinExclusiveConstraintComponent @MinExclusiveConstraintComponent end |
#minInclusive ⇒ RDF::Vocabulary::Term (readonly)
Specifies the minimum inclusive value of each value node.
348 349 350 |
# File 'lib/rdf/vocab/shacl.rb', line 348 def minInclusive @minInclusive end |
#MinInclusiveConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the range of value nodes with a minimum inclusive value.
676 677 678 |
# File 'lib/rdf/vocab/shacl.rb', line 676 def MinInclusiveConstraintComponent @MinInclusiveConstraintComponent end |
#minLength ⇒ RDF::Vocabulary::Term (readonly)
Specifies the minimum string length of each value node.
352 353 354 |
# File 'lib/rdf/vocab/shacl.rb', line 352 def minLength @minLength end |
#MinLengthConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the minimum string length of value nodes.
680 681 682 |
# File 'lib/rdf/vocab/shacl.rb', line 680 def MinLengthConstraintComponent @MinLengthConstraintComponent end |
#name ⇒ RDF::Vocabulary::Term (readonly)
Human-readable labels for the property in the context of the surrounding shape.
356 357 358 |
# File 'lib/rdf/vocab/shacl.rb', line 356 def name @name end |
#namespace ⇒ RDF::Vocabulary::Term (readonly)
The namespace associated with a prefix in a prefix declaration.
360 361 362 |
# File 'lib/rdf/vocab/shacl.rb', line 360 def namespace @namespace end |
#node ⇒ RDF::Vocabulary::Term (readonly)
Specifies the node shape that all value nodes must conform to.
364 365 366 |
# File 'lib/rdf/vocab/shacl.rb', line 364 def node @node end |
#NodeConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that all value nodes conform to the given node shape.
684 685 686 |
# File 'lib/rdf/vocab/shacl.rb', line 684 def NodeConstraintComponent @NodeConstraintComponent end |
#NodeKind ⇒ RDF::Vocabulary::Term (readonly)
The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral.
53 54 55 |
# File 'lib/rdf/vocab/shacl.rb', line 53 def NodeKind @NodeKind end |
#nodeKind ⇒ RDF::Vocabulary::Term (readonly)
Specifies the node kind (e.g. IRI or literal) each value node.
368 369 370 |
# File 'lib/rdf/vocab/shacl.rb', line 368 def nodeKind @nodeKind end |
#NodeKindConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the RDF node kind of each value node.
688 689 690 |
# File 'lib/rdf/vocab/shacl.rb', line 688 def NodeKindConstraintComponent @NodeKindConstraintComponent end |
#nodes ⇒ RDF::Vocabulary::Term (readonly)
The node expression producing the input nodes of a filter shape expression.
376 377 378 |
# File 'lib/rdf/vocab/shacl.rb', line 376 def nodes @nodes end |
#NodeShape ⇒ RDF::Vocabulary::Term (readonly)
A node shape is a shape that specifies constraint that need to be met with respect to focus nodes.
57 58 59 |
# File 'lib/rdf/vocab/shacl.rb', line 57 def NodeShape @NodeShape end |
#nodeValidator ⇒ RDF::Vocabulary::Term (readonly)
The validator(s) used to evaluate a constraint in the context of a node shape.
372 373 374 |
# File 'lib/rdf/vocab/shacl.rb', line 372 def nodeValidator @nodeValidator end |
#not ⇒ RDF::Vocabulary::Term (readonly)
Specifies a shape that the value nodes must not conform to.
380 381 382 |
# File 'lib/rdf/vocab/shacl.rb', line 380 def not @not end |
#NotConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that value nodes do not conform to a given shape.
692 693 694 |
# File 'lib/rdf/vocab/shacl.rb', line 692 def NotConstraintComponent @NotConstraintComponent end |
#object ⇒ RDF::Vocabulary::Term (readonly)
An expression producing the nodes that shall be inferred as objects.
384 385 386 |
# File 'lib/rdf/vocab/shacl.rb', line 384 def object @object end |
#oneOrMorePath ⇒ RDF::Vocabulary::Term (readonly)
The (single) value of this property represents a path that is matched one or more times.
388 389 390 |
# File 'lib/rdf/vocab/shacl.rb', line 388 def oneOrMorePath @oneOrMorePath end |
#optional ⇒ RDF::Vocabulary::Term (readonly)
Indicates whether a parameter is optional.
392 393 394 |
# File 'lib/rdf/vocab/shacl.rb', line 392 def optional @optional end |
#or ⇒ RDF::Vocabulary::Term (readonly)
Specifies a list of shapes so that the value nodes must conform to at least one of the shapes.
396 397 398 |
# File 'lib/rdf/vocab/shacl.rb', line 396 def or @or end |
#OrConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
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.
696 697 698 |
# File 'lib/rdf/vocab/shacl.rb', line 696 def OrConstraintComponent @OrConstraintComponent end |
#order ⇒ RDF::Vocabulary::Term (readonly)
Specifies the relative order of this compared to its siblings. For example use 0 for the first, 1 for the second.
400 401 402 |
# File 'lib/rdf/vocab/shacl.rb', line 400 def order @order end |
#Parameter ⇒ RDF::Vocabulary::Term (readonly)
The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics.
61 62 63 |
# File 'lib/rdf/vocab/shacl.rb', line 61 def Parameter @Parameter end |
#parameter ⇒ RDF::Vocabulary::Term (readonly)
The parameters of a function or constraint component.
404 405 406 |
# File 'lib/rdf/vocab/shacl.rb', line 404 def parameter @parameter end |
#Parameterizable ⇒ RDF::Vocabulary::Term (readonly)
Superclass of components that can take parameters, especially functions and constraint components.
65 66 67 |
# File 'lib/rdf/vocab/shacl.rb', line 65 def Parameterizable @Parameterizable end |
#path ⇒ RDF::Vocabulary::Term (readonly)
Specifies the property path of a property shape.
408 409 410 |
# File 'lib/rdf/vocab/shacl.rb', line 408 def path @path end |
#pattern ⇒ RDF::Vocabulary::Term (readonly)
Specifies a regular expression pattern that the string representations of the value nodes must match.
412 413 414 |
# File 'lib/rdf/vocab/shacl.rb', line 412 def pattern @pattern end |
#PatternConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that every value node matches a given regular expression.
700 701 702 |
# File 'lib/rdf/vocab/shacl.rb', line 700 def PatternConstraintComponent @PatternConstraintComponent end |
#predicate ⇒ RDF::Vocabulary::Term (readonly)
An expression producing the properties that shall be inferred as predicates.
416 417 418 |
# File 'lib/rdf/vocab/shacl.rb', line 416 def predicate @predicate end |
#prefix ⇒ RDF::Vocabulary::Term (readonly)
The prefix of a prefix declaration.
420 421 422 |
# File 'lib/rdf/vocab/shacl.rb', line 420 def prefix @prefix end |
#PrefixDeclaration ⇒ RDF::Vocabulary::Term (readonly)
The class of prefix declarations, consisting of pairs of a prefix with a namespace.
69 70 71 |
# File 'lib/rdf/vocab/shacl.rb', line 69 def PrefixDeclaration @PrefixDeclaration end |
#prefixes ⇒ RDF::Vocabulary::Term (readonly)
The prefixes that shall be applied before parsing the associated SPARQL query.
424 425 426 |
# File 'lib/rdf/vocab/shacl.rb', line 424 def prefixes @prefixes end |
#property ⇒ RDF::Vocabulary::Term (readonly)
Links a shape to its property shapes.
428 429 430 |
# File 'lib/rdf/vocab/shacl.rb', line 428 def property @property end |
#PropertyConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that all value nodes conform to the given property shape.
704 705 706 |
# File 'lib/rdf/vocab/shacl.rb', line 704 def PropertyConstraintComponent @PropertyConstraintComponent end |
#PropertyGroup ⇒ RDF::Vocabulary::Term (readonly)
Instances of this class represent groups of property shapes that belong together.
73 74 75 |
# File 'lib/rdf/vocab/shacl.rb', line 73 def PropertyGroup @PropertyGroup end |
#PropertyShape ⇒ RDF::Vocabulary::Term (readonly)
A property shape is a shape that specifies constraints on the values of a focus node for a given property or path.
77 78 79 |
# File 'lib/rdf/vocab/shacl.rb', line 77 def PropertyShape @PropertyShape end |
#propertyValidator ⇒ RDF::Vocabulary::Term (readonly)
The validator(s) used to evaluate a constraint in the context of a property shape.
432 433 434 |
# File 'lib/rdf/vocab/shacl.rb', line 432 def propertyValidator @propertyValidator end |
#qualifiedMaxCount ⇒ RDF::Vocabulary::Term (readonly)
The maximum number of value nodes that can conform to the shape.
436 437 438 |
# File 'lib/rdf/vocab/shacl.rb', line 436 def qualifiedMaxCount @qualifiedMaxCount end |
#QualifiedMaxCountConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that a specified maximum number of value nodes conforms to a given shape.
708 709 710 |
# File 'lib/rdf/vocab/shacl.rb', line 708 def QualifiedMaxCountConstraintComponent @QualifiedMaxCountConstraintComponent end |
#qualifiedMinCount ⇒ RDF::Vocabulary::Term (readonly)
The minimum number of value nodes that must conform to the shape.
440 441 442 |
# File 'lib/rdf/vocab/shacl.rb', line 440 def qualifiedMinCount @qualifiedMinCount end |
#QualifiedMinCountConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to verify that a specified minimum number of value nodes conforms to a given shape.
712 713 714 |
# File 'lib/rdf/vocab/shacl.rb', line 712 def QualifiedMinCountConstraintComponent @QualifiedMinCountConstraintComponent end |
#qualifiedValueShape ⇒ RDF::Vocabulary::Term (readonly)
The shape that a specified number of values must conform to.
444 445 446 |
# File 'lib/rdf/vocab/shacl.rb', line 444 def qualifiedValueShape @qualifiedValueShape end |
#qualifiedValueShapesDisjoint ⇒ RDF::Vocabulary::Term (readonly)
Can be used to mark the qualified value shape to be disjoint with its sibling shapes.
448 449 450 |
# File 'lib/rdf/vocab/shacl.rb', line 448 def qualifiedValueShapesDisjoint @qualifiedValueShapesDisjoint end |
#result ⇒ RDF::Vocabulary::Term (readonly)
The validation results contained in a validation report.
452 453 454 |
# File 'lib/rdf/vocab/shacl.rb', line 452 def result @result end |
#ResultAnnotation ⇒ RDF::Vocabulary::Term (readonly)
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.
81 82 83 |
# File 'lib/rdf/vocab/shacl.rb', line 81 def ResultAnnotation @ResultAnnotation end |
#resultAnnotation ⇒ RDF::Vocabulary::Term (readonly)
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.
456 457 458 |
# File 'lib/rdf/vocab/shacl.rb', line 456 def resultAnnotation @resultAnnotation end |
#resultMessage ⇒ RDF::Vocabulary::Term (readonly)
Human-readable messages explaining the cause of the result.
460 461 462 |
# File 'lib/rdf/vocab/shacl.rb', line 460 def resultMessage @resultMessage end |
#resultPath ⇒ RDF::Vocabulary::Term (readonly)
The path of a validation result, based on the path of the validated property shape.
464 465 466 |
# File 'lib/rdf/vocab/shacl.rb', line 464 def resultPath @resultPath end |
#resultSeverity ⇒ RDF::Vocabulary::Term (readonly)
The severity of the result, e.g. warning.
468 469 470 |
# File 'lib/rdf/vocab/shacl.rb', line 468 def resultSeverity @resultSeverity end |
#returnType ⇒ RDF::Vocabulary::Term (readonly)
The expected type of values returned by the associated function.
472 473 474 |
# File 'lib/rdf/vocab/shacl.rb', line 472 def returnType @returnType end |
#Rule ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL rules. Never instantiated directly.
85 86 87 |
# File 'lib/rdf/vocab/shacl.rb', line 85 def Rule @Rule end |
#rule ⇒ RDF::Vocabulary::Term (readonly)
The rules linked to a shape.
476 477 478 |
# File 'lib/rdf/vocab/shacl.rb', line 476 def rule @rule end |
#select ⇒ RDF::Vocabulary::Term (readonly)
The SPARQL SELECT query to execute.
480 481 482 |
# File 'lib/rdf/vocab/shacl.rb', line 480 def select @select end |
#Severity ⇒ RDF::Vocabulary::Term (readonly)
The class of validation result severity levels, including violation and warning levels.
137 138 139 |
# File 'lib/rdf/vocab/shacl.rb', line 137 def Severity @Severity end |
#severity ⇒ RDF::Vocabulary::Term (readonly)
Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation.
484 485 486 |
# File 'lib/rdf/vocab/shacl.rb', line 484 def severity @severity end |
#Shape ⇒ RDF::Vocabulary::Term (readonly)
A shape is a collection of constraints that may be targeted for certain nodes.
141 142 143 |
# File 'lib/rdf/vocab/shacl.rb', line 141 def Shape @Shape end |
#shapesGraph ⇒ RDF::Vocabulary::Term (readonly)
Shapes graphs that should be used when validating this data graph.
488 489 490 |
# File 'lib/rdf/vocab/shacl.rb', line 488 def shapesGraph @shapesGraph end |
#shapesGraphWellFormed ⇒ RDF::Vocabulary::Term (readonly)
If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process.
492 493 494 |
# File 'lib/rdf/vocab/shacl.rb', line 492 def shapesGraphWellFormed @shapesGraphWellFormed end |
#sourceConstraint ⇒ RDF::Vocabulary::Term (readonly)
The constraint that was validated when the result was produced.
496 497 498 |
# File 'lib/rdf/vocab/shacl.rb', line 496 def sourceConstraint @sourceConstraint end |
#sourceConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
The constraint component that is the source of the result.
500 501 502 |
# File 'lib/rdf/vocab/shacl.rb', line 500 def sourceConstraintComponent @sourceConstraintComponent end |
#sourceShape ⇒ RDF::Vocabulary::Term (readonly)
The shape that is was validated when the result was produced.
504 505 506 |
# File 'lib/rdf/vocab/shacl.rb', line 504 def sourceShape @sourceShape end |
#sparql ⇒ RDF::Vocabulary::Term (readonly)
Links a shape with SPARQL constraints.
508 509 510 |
# File 'lib/rdf/vocab/shacl.rb', line 508 def sparql @sparql end |
#SPARQLAskExecutable ⇒ RDF::Vocabulary::Term (readonly)
The class of SPARQL executables that are based on an ASK query.
89 90 91 |
# File 'lib/rdf/vocab/shacl.rb', line 89 def SPARQLAskExecutable @SPARQLAskExecutable end |
#SPARQLAskValidator ⇒ RDF::Vocabulary::Term (readonly)
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.
93 94 95 |
# File 'lib/rdf/vocab/shacl.rb', line 93 def SPARQLAskValidator @SPARQLAskValidator end |
#SPARQLConstraint ⇒ RDF::Vocabulary::Term (readonly)
The class of constraints based on SPARQL SELECT queries.
97 98 99 |
# File 'lib/rdf/vocab/shacl.rb', line 97 def SPARQLConstraint @SPARQLConstraint end |
#SPARQLConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to define constraints based on SPARQL queries.
716 717 718 |
# File 'lib/rdf/vocab/shacl.rb', line 716 def SPARQLConstraintComponent @SPARQLConstraintComponent end |
#SPARQLConstructExecutable ⇒ RDF::Vocabulary::Term (readonly)
The class of SPARQL executables that are based on a CONSTRUCT query.
101 102 103 |
# File 'lib/rdf/vocab/shacl.rb', line 101 def SPARQLConstructExecutable @SPARQLConstructExecutable end |
#SPARQLExecutable ⇒ RDF::Vocabulary::Term (readonly)
The class of resources that encapsulate a SPARQL query.
105 106 107 |
# File 'lib/rdf/vocab/shacl.rb', line 105 def SPARQLExecutable @SPARQLExecutable end |
#SPARQLFunction ⇒ RDF::Vocabulary::Term (readonly)
A function backed by a SPARQL query - either ASK or SELECT.
109 110 111 |
# File 'lib/rdf/vocab/shacl.rb', line 109 def SPARQLFunction @SPARQLFunction end |
#SPARQLRule ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL rules based on SPARQL CONSTRUCT queries.
113 114 115 |
# File 'lib/rdf/vocab/shacl.rb', line 113 def SPARQLRule @SPARQLRule end |
#SPARQLSelectExecutable ⇒ RDF::Vocabulary::Term (readonly)
The class of SPARQL executables based on a SELECT query.
117 118 119 |
# File 'lib/rdf/vocab/shacl.rb', line 117 def SPARQLSelectExecutable @SPARQLSelectExecutable end |
#SPARQLSelectValidator ⇒ RDF::Vocabulary::Term (readonly)
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.
121 122 123 |
# File 'lib/rdf/vocab/shacl.rb', line 121 def SPARQLSelectValidator @SPARQLSelectValidator end |
#SPARQLTarget ⇒ RDF::Vocabulary::Term (readonly)
The class of targets that are based on SPARQL queries.
125 126 127 |
# File 'lib/rdf/vocab/shacl.rb', line 125 def SPARQLTarget @SPARQLTarget end |
#SPARQLTargetType ⇒ RDF::Vocabulary::Term (readonly)
The (meta) class for parameterizable targets that are based on SPARQL queries.
129 130 131 |
# File 'lib/rdf/vocab/shacl.rb', line 129 def SPARQLTargetType @SPARQLTargetType end |
#SPARQLUpdateExecutable ⇒ RDF::Vocabulary::Term (readonly)
The class of SPARQL executables based on a SPARQL UPDATE.
133 134 135 |
# File 'lib/rdf/vocab/shacl.rb', line 133 def SPARQLUpdateExecutable @SPARQLUpdateExecutable end |
#subject ⇒ RDF::Vocabulary::Term (readonly)
An expression producing the resources that shall be inferred as subjects.
512 513 514 |
# File 'lib/rdf/vocab/shacl.rb', line 512 def subject @subject end |
#suggestedShapesGraph ⇒ RDF::Vocabulary::Term (readonly)
Suggested shapes graphs for this ontology. The values of this property may be used in the absence of specific sh:shapesGraph statements.
516 517 518 |
# File 'lib/rdf/vocab/shacl.rb', line 516 def suggestedShapesGraph @suggestedShapesGraph end |
#Target ⇒ RDF::Vocabulary::Term (readonly)
The base class of targets such as those based on SPARQL queries.
145 146 147 |
# File 'lib/rdf/vocab/shacl.rb', line 145 def Target @Target end |
#target ⇒ RDF::Vocabulary::Term (readonly)
Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget.
520 521 522 |
# File 'lib/rdf/vocab/shacl.rb', line 520 def target @target end |
#targetClass ⇒ RDF::Vocabulary::Term (readonly)
Links a shape to a class, indicating that all instances of the class must conform to the shape.
524 525 526 |
# File 'lib/rdf/vocab/shacl.rb', line 524 def targetClass @targetClass end |
#targetNode ⇒ RDF::Vocabulary::Term (readonly)
Links a shape to individual nodes, indicating that these nodes must conform to the shape.
528 529 530 |
# File 'lib/rdf/vocab/shacl.rb', line 528 def targetNode @targetNode end |
#targetObjectsOf ⇒ RDF::Vocabulary::Term (readonly)
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.
532 533 534 |
# File 'lib/rdf/vocab/shacl.rb', line 532 def targetObjectsOf @targetObjectsOf end |
#targetSubjectsOf ⇒ RDF::Vocabulary::Term (readonly)
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.
536 537 538 |
# File 'lib/rdf/vocab/shacl.rb', line 536 def targetSubjectsOf @targetSubjectsOf end |
#TargetType ⇒ RDF::Vocabulary::Term (readonly)
The (meta) class for parameterizable targets. Instances of this are instantiated as values of the sh:target property.
149 150 151 |
# File 'lib/rdf/vocab/shacl.rb', line 149 def TargetType @TargetType end |
#this ⇒ RDF::Vocabulary::Term (readonly)
A node expression that represents the current focus node.
736 737 738 |
# File 'lib/rdf/vocab/shacl.rb', line 736 def this @this end |
#TripleRule ⇒ RDF::Vocabulary::Term (readonly)
152 153 154 |
# File 'lib/rdf/vocab/shacl.rb', line 152 def TripleRule @TripleRule end |
#union ⇒ RDF::Vocabulary::Term (readonly)
A list of node expressions that shall be used together.
540 541 542 |
# File 'lib/rdf/vocab/shacl.rb', line 540 def union @union end |
#uniqueLang ⇒ RDF::Vocabulary::Term (readonly)
Specifies whether all node values must have a unique (or no) language tag.
544 545 546 |
# File 'lib/rdf/vocab/shacl.rb', line 544 def uniqueLang @uniqueLang end |
#UniqueLangConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to specify that no pair of value nodes may use the same language tag.
720 721 722 |
# File 'lib/rdf/vocab/shacl.rb', line 720 def UniqueLangConstraintComponent @UniqueLangConstraintComponent end |
#update ⇒ RDF::Vocabulary::Term (readonly)
The SPARQL UPDATE to execute.
548 549 550 |
# File 'lib/rdf/vocab/shacl.rb', line 548 def update @update end |
#ValidationReport ⇒ RDF::Vocabulary::Term (readonly)
The class of SHACL validation reports.
156 157 158 |
# File 'lib/rdf/vocab/shacl.rb', line 156 def ValidationReport @ValidationReport end |
#ValidationResult ⇒ RDF::Vocabulary::Term (readonly)
The class of validation results.
160 161 162 |
# File 'lib/rdf/vocab/shacl.rb', line 160 def ValidationResult @ValidationResult end |
#Validator ⇒ RDF::Vocabulary::Term (readonly)
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.
164 165 166 |
# File 'lib/rdf/vocab/shacl.rb', line 164 def Validator @Validator end |
#validator ⇒ RDF::Vocabulary::Term (readonly)
The validator(s) used to evaluate constraints of either node or property shapes.
552 553 554 |
# File 'lib/rdf/vocab/shacl.rb', line 552 def validator @validator end |
#value ⇒ RDF::Vocabulary::Term (readonly)
An RDF node that has caused the result.
556 557 558 |
# File 'lib/rdf/vocab/shacl.rb', line 556 def value @value end |
#Violation ⇒ RDF::Vocabulary::Term (readonly)
The severity for a violation validation result.
724 725 726 |
# File 'lib/rdf/vocab/shacl.rb', line 724 def Violation @Violation end |
#Warning ⇒ RDF::Vocabulary::Term (readonly)
The severity for a warning validation result.
728 729 730 |
# File 'lib/rdf/vocab/shacl.rb', line 728 def Warning @Warning end |
#xone ⇒ RDF::Vocabulary::Term (readonly)
Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes.
560 561 562 |
# File 'lib/rdf/vocab/shacl.rb', line 560 def xone @xone end |
#XoneConstraintComponent ⇒ RDF::Vocabulary::Term (readonly)
A constraint component that can be used to restrict the value nodes so that they conform to exactly one out of several provided shapes.
732 733 734 |
# File 'lib/rdf/vocab/shacl.rb', line 732 def XoneConstraintComponent @XoneConstraintComponent end |
#zeroOrMorePath ⇒ RDF::Vocabulary::Term (readonly)
The (single) value of this property represents a path that is matched zero or more times.
564 565 566 |
# File 'lib/rdf/vocab/shacl.rb', line 564 def zeroOrMorePath @zeroOrMorePath end |
#zeroOrOnePath ⇒ RDF::Vocabulary::Term (readonly)
The (single) value of this property represents a path that is matched zero or one times.
568 569 570 |
# File 'lib/rdf/vocab/shacl.rb', line 568 def zeroOrOnePath @zeroOrOnePath end |