axiothOntology Hub

本体 / sh

SHACL Shapes Constraint Language

原文(英语),来源:定义文件This vocabulary defines terms used in SHACL, the W3C Shapes Constraint Language.

命名空间 IRI
http://www.w3.org/ns/shacl#
类型
词表
领域
语义网基础
版本
未核实
许可证声明
W3C-20150513 (Bioregistry)
标准或联系人
W3C Recommendation
定义文件检查
文件已解析 · 2026年11月30日 UTC
采集来源
本站种子列表
同时收录于
Linked Open Vocabularies (LOV), Bioregistry
LOV 统计的复用情况
10 个词表,0 个数据集

速览

由已解析的定义文件自动得出,非人工撰写。

类
40
属性
101
文件中的三元组
1,128
关联
22
论文与标准
1

按定义文件中在自身命名空间内直接声明的术语统计,不含导入和推理。文件另声明了 0 个其他命名空间的术语。

核心类

子类关系和属性连接最多的类。

ShapeAbstract resultJavaScript executableValidatorSPARQL SELECT executableSPARQL ASK executable

层级顶端

有子类、但在本文件中没有父类的类。

ShapeAbstract resultJavaScript executableValidatorParameterizableSPARQL executableRuleTarget

可以表达的内容

按“主体—属性→对象”读取的属性,取自定义域、值域和类约束。

  • Abstract resultsource shapeShape
  • ShaperuleRule
  • RuleconditionShape
  • ShapepropertyProperty shape
  • Abstract resultdetailAbstract result
  • ShapetargetTarget
  • ShapeseveritySeverity
  • Abstract resultsource constraint componentConstraint component

类层级

展开某个类即可逐层查看其子类。数字表示直接子类的数量。

  • JavaScript executable6
    • JavaScript function
    • JavaScript rule
    • JavaScript target
    • JavaScript target type
    • JavaScript validator
    • JavaScript-based constraint
  • SPARQL executable4
    • SPARQL SELECT executable5
      • SPARQL constraint
      • SPARQL function
      • SPARQL SELECT validator
      • SPARQL target
      • SPARQL target type
    • SPARQL ASK executable4
      • SPARQL ASK validator
      • SPARQL function
      • SPARQL target
      • SPARQL target type
    • SPARQL CONSTRUCT executable1
      • SPARQL CONSTRUCT rule
    • SPARQL UPDATE executable
  • Validator3
    • JavaScript validator
    • SPARQL ASK validator
    • SPARQL SELECT validator
  • Parameterizable3
    • Function2
      • JavaScript function
      • SPARQL function
    • Target type2
      • JavaScript target type
      • SPARQL target type
    • Constraint component
  • Rule3
    • A rule based on triple (subject, predicate, object) pattern.
    • JavaScript rule
    • SPARQL CONSTRUCT rule
  • Shape2
    • Property shape1
      • Parameter
    • Node shape
  • Target2
    • JavaScript target
    • SPARQL target
  • Abstract result1
    • Validation result

类图

点击某个类可查看其原文定义和相关属性。拖动可平移,滚轮可缩放。

子类关系(子类指向父类)属性(定义域指向值域,或类约束)

全部 40 个类
术语原文定义
Shape
sh:Shape
A shape is a collection of constraints that may be targeted for certain nodes.
Abstract result
sh:AbstractResult
The base class of validation results, typically not instantiated directly.
Property shape
sh:PropertyShape
A property shape is a shape that specifies constraints on the values of a focus node for a given property or path.
JavaScript executable
sh:JSExecutable
Abstract base class of resources that declare an executable JavaScript.
Validator
sh:Validator
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.
SPARQL SELECT executable
sh:SPARQLSelectExecutable
The class of SPARQL executables based on a SELECT query.
Parameterizable
sh:Parameterizable
Superclass of components that can take parameters, especially functions and constraint components.
SPARQL executable
sh:SPARQLExecutable
The class of resources that encapsulate a SPARQL query.
SPARQL ASK executable
sh:SPARQLAskExecutable
The class of SPARQL executables that are based on an ASK query.
Rule
sh:Rule
The class of SHACL rules. Never instantiated directly.
Constraint component
sh:ConstraintComponent
The class of constraint components.
Result annotation
sh:ResultAnnotation
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.
Validation report
sh:ValidationReport
The class of SHACL validation reports.
Prefix declaration
sh:PrefixDeclaration
The class of prefix declarations, consisting of pairs of a prefix with a namespace.
Target
sh:Target
The base class of targets such as those based on SPARQL queries.
Target type
sh:TargetType
The (meta) class for parameterizable targets. Instances of this are instantiated as values of the sh:target property.
Function
sh:Function
The class of SHACL functions.
A rule based on triple (subject, predicate, object) pattern.
sh:TripleRule
未登记
Severity
sh:Severity
The class of validation result severity levels, including violation and warning levels.
Parameter
sh:Parameter
The class of parameter declarations, consisting of a path predicate and (possibly) information about allowed value type, cardinality and other characteristics.
SPARQL SELECT validator
sh:SPARQLSelectValidator
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.
SPARQL CONSTRUCT executable
sh:SPARQLConstructExecutable
The class of SPARQL executables that are based on a CONSTRUCT query.
SPARQL target
sh:SPARQLTarget
The class of targets that are based on SPARQL queries.
SPARQL target type
sh:SPARQLTargetType
The (meta) class for parameterizable targets that are based on SPARQL queries.
SPARQL function
sh:SPARQLFunction
A function backed by a SPARQL query - either ASK or SELECT.
JavaScript library
sh:JSLibrary
Represents a JavaScript library, typically identified by one or more URLs of files to include.
Node shape
sh:NodeShape
A node shape is a shape that specifies constraint that need to be met with respect to focus nodes.
Node kind
sh:NodeKind
The class of all node kinds, including sh:BlankNode, sh:IRI, sh:Literal or the combinations of these: sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral, sh:IRIOrLiteral.
Validation result
sh:ValidationResult
The class of validation results.
SPARQL ASK validator
sh:SPARQLAskValidator
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.
SPARQL UPDATE executable
sh:SPARQLUpdateExecutable
The class of SPARQL executables based on a SPARQL UPDATE.
SPARQL constraint
sh:SPARQLConstraint
The class of constraints based on SPARQL SELECT queries.
Property group
sh:PropertyGroup
Instances of this class represent groups of property shapes that belong together.
SPARQL CONSTRUCT rule
sh:SPARQLRule
The class of SHACL rules based on SPARQL CONSTRUCT queries.
JavaScript target
sh:JSTarget
The class of targets that are based on JavaScript functions.
JavaScript target type
sh:JSTargetType
The (meta) class for parameterizable targets that are based on JavaScript functions.
JavaScript-based constraint
sh:JSConstraint
The class of constraints backed by a JavaScript function.
JavaScript function
sh:JSFunction
The class of SHACL functions that execute a JavaScript function when called.
JavaScript rule
sh:JSRule
The class of SHACL rules expressed using JavaScript.
JavaScript validator
sh:JSValidator
A SHACL validator based on JavaScript. This can be used to declare SHACL constraint components that perform JavaScript-based validation when used.
全部 101 个属性
术语原文定义
deactivated
sh:deactivated
If set to true then all nodes conform to this.
target class
sh:targetClass
Links a shape to a class, indicating that all instances of the class must conform to the shape.
target node
sh:targetNode
Links a shape to individual nodes, indicating that these nodes must conform to the shape.
target objects of
sh:targetObjectsOf
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.
target subjects of
sh:targetSubjectsOf
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.
message
sh:message
A human-readable message (possibly with placeholders for variables) explaining the cause of the result.
severity
sh:severity
Defines the severity that validation results produced by a shape must have. Defaults to sh:Violation.
conforms
sh:conforms
True if the validation did not produce any validation results, and false otherwise.
result
sh:result
The validation results contained in a validation report.
shapes graph well-formed
sh:shapesGraphWellFormed
If true then the validation engine was certain that the shapes graph has passed all SHACL syntax requirements during the validation process.
detail
sh:detail
Links a result with other results that provide more details, for example to describe violations against nested shapes.
focus node
sh:focusNode
The focus node that was validated when the result was produced.
result message
sh:resultMessage
Human-readable messages explaining the cause of the result.
result path
sh:resultPath
The path of a validation result, based on the path of the validated property shape.
result severity
sh:resultSeverity
The severity of the result, e.g. warning.
source constraint
sh:sourceConstraint
The constraint that was validated when the result was produced.
source shape
sh:sourceShape
The shape that is was validated when the result was produced.
source constraint component
sh:sourceConstraintComponent
The constraint component that is the source of the result.
value
sh:value
An RDF node that has caused the result.
shapes graph
sh:shapesGraph
Shapes graphs that should be used when validating this data graph.
suggested shapes graph
sh:suggestedShapesGraph
Suggested shapes graphs for this ontology. The values of this property may be used in the absence of specific sh:shapesGraph statements.
entailment
sh:entailment
An entailment regime that indicates what kind of inferencing is required by a shapes graph.
path
sh:path
Specifies the property path of a property shape.
inverse path
sh:inversePath
The (single) value of this property represents an inverse path (object to subject).
alternative path
sh:alternativePath
The (single) value of this property must be a list of path elements, representing the elements of alternative paths.
zero or more path
sh:zeroOrMorePath
The (single) value of this property represents a path that is matched zero or more times.
one or more path
sh:oneOrMorePath
The (single) value of this property represents a path that is matched one or more times.
zero or one path
sh:zeroOrOnePath
The (single) value of this property represents a path that is matched zero or one times.
parameter
sh:parameter
The parameters of a function or constraint component.
label template
sh:labelTemplate
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.
optional
sh:optional
Indicates whether a parameter is optional.
validator
sh:validator
The validator(s) used to evaluate constraints of either node or property shapes.
shape validator
sh:nodeValidator
The validator(s) used to evaluate a constraint in the context of a node shape.
property validator
sh:propertyValidator
The validator(s) used to evaluate a constraint in the context of a property shape.
and
sh:and
RDF list of shapes to validate the value nodes against.
class
sh:class
The type that all value nodes must have.
closed
sh:closed
If set to true then the shape is closed.
ignored properties
sh:ignoredProperties
An optional RDF list of properties that are also permitted in addition to those explicitly enumerated via sh:property/sh:path.
datatype
sh:datatype
Specifies an RDF datatype that all value nodes must have.
disjoint
sh:disjoint
Specifies a property where the set of values must be disjoint with the value nodes.
equals
sh:equals
Specifies a property that must have the same values as the value nodes.
has value
sh:hasValue
Specifies a value that must be among the value nodes.
in
sh:in
Specifies a list of allowed values so that each value node must be among the members of the given list.
language in
sh:languageIn
Specifies a list of language tags that all value nodes must have.
less than
sh:lessThan
Specifies a property that must have smaller values than the value nodes.
less than or equals
sh:lessThanOrEquals
Specifies a property that must have smaller or equal values than the value nodes.
max count
sh:maxCount
Specifies the maximum number of values in the set of value nodes.
max exclusive
sh:maxExclusive
Specifies the maximum exclusive value of each value node.
max inclusive
sh:maxInclusive
Specifies the maximum inclusive value of each value node.
max length
sh:maxLength
Specifies the maximum string length of each value node.
min count
sh:minCount
Specifies the minimum number of values in the set of value nodes.
min exclusive
sh:minExclusive
Specifies the minimum exclusive value of each value node.
min inclusive
sh:minInclusive
Specifies the minimum inclusive value of each value node.
min length
sh:minLength
Specifies the minimum string length of each value node.
node
sh:node
Specifies the node shape that all value nodes must conform to.
node kind
sh:nodeKind
Specifies the node kind (e.g. IRI or literal) each value node.
not
sh:not
Specifies a shape that the value nodes must not conform to.
or
sh:or
Specifies a list of shapes so that the value nodes must conform to at least one of the shapes.
flags
sh:flags
An optional flag to be used with regular expression pattern matching.
pattern
sh:pattern
Specifies a regular expression pattern that the string representations of the value nodes must match.
property
sh:property
Links a shape to its property shapes.
qualified max count
sh:qualifiedMaxCount
The maximum number of value nodes that can conform to the shape.
qualified min count
sh:qualifiedMinCount
The minimum number of value nodes that must conform to the shape.
qualified value shape
sh:qualifiedValueShape
The shape that a specified number of values must conform to.
qualified value shapes disjoint
sh:qualifiedValueShapesDisjoint
Can be used to mark the qualified value shape to be disjoint with its sibling shapes.
unique languages
sh:uniqueLang
Specifies whether all node values must have a unique (or no) language tag.
exactly one
sh:xone
Specifies a list of shapes so that the value nodes must conform to exactly one of the shapes.
ask
sh:ask
The SPARQL ASK query to execute.
construct
sh:construct
The SPARQL CONSTRUCT query to execute.
select
sh:select
The SPARQL SELECT query to execute.
update
sh:update
The SPARQL UPDATE to execute.
prefixes
sh:prefixes
The prefixes that shall be applied before parsing the associated SPARQL query.
declare
sh:declare
Links a resource with its namespace prefix declarations.
prefix
sh:prefix
The prefix of a prefix declaration.
namespace
sh:namespace
The namespace associated with a prefix in a prefix declaration.
constraint (in SPARQL)
sh:sparql
Links a shape with SPARQL constraints.
default value
sh:defaultValue
A default value for a property, for example for user interface tools to pre-populate input fields.
description
sh:description
Human-readable descriptions for the property in the context of the surrounding shape.
group
sh:group
Can be used to link to a property group to indicate that a property shape belongs to a group of related property shapes.
name
sh:name
Human-readable labels for the property in the context of the surrounding shape.
order
sh:order
Specifies the relative order of this compared to its siblings. For example use 0 for the first, 1 for the second.
target
sh:target
Links a shape to a target specified by an extension language, for example instances of sh:SPARQLTarget.
return type
sh:returnType
The expected type of values returned by the associated function.
result annotation
sh:resultAnnotation
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.
annotation property
sh:annotationProperty
The annotation property that shall be set.
annotation value
sh:annotationValue
The (default) values of the annotation property.
annotation variable name
sh:annotationVarName
The name of the SPARQL variable from the SELECT clause that shall be used for the values.
filter shape
sh:filterShape
The shape that all input nodes of the expression need to conform to.
nodes
sh:nodes
The node expression producing the input nodes of a filter shape expression.
intersection
sh:intersection
A list of node expressions that shall be intersected.
union
sh:union
A list of node expressions that shall be used together.
expression
sh:expression
The node expression that must return true for the value nodes.
rule
sh:rule
The rules linked to a shape.
condition
sh:condition
The shapes that the focus nodes need to conform to before a rule is executed on them.
subject
sh:subject
An expression producing the resources that shall be inferred as subjects.
predicate
sh:predicate
An expression producing the properties that shall be inferred as predicates.
object
sh:object
An expression producing the nodes that shall be inferred as objects.
JavaScript constraint
sh:js
Constraints expressed in JavaScript.
JavaScript function name
sh:jsFunctionName
The name of the JavaScript function to execute.
JavaScript library
sh:jsLibrary
Declares which JavaScript libraries are needed to execute this.
JavaScript library URL
sh:jsLibraryURL
Declares the URLs of a JavaScript library. This should be the absolute URL of a JavaScript file. Implementations may redirect those to local files.

关联

定义文件或官方注册表中声明的关系。每行均标明依据。

rdfshshxsducocaseiddonen3610posocmauthn_providerbrkmedrednen2660pshbrttreeidscbsafobrickspdx3tno.interconnect.s2valuesetssh

有明确关系的本体论文或标准代码仓库相似候选(自动计算)

查看依据表(22 行)
方向本体关系依据
本项 → 对方The RDF Concepts Vocabulary复用术语 (6 个术语)定义文件
type, Property, List
本项 → 对方SHACL in SHACL复用术语 (1 个术语)定义文件
本项 → 对方XML Schema复用术语 (4 个术语)定义文件
boolean, integer, string
对方 → 本项Unified Cyber Ontology (UCO)复用术语 (26 个术语)定义文件
NodeShape, class, minCount
对方 → 本项CASE Cyber-investigation Analysis Standard Expression复用术语 (17 个术语)定义文件
NodeShape, targetClass, datatype
对方 → 本项The Interconnected Data Dictionary Ontology (IDDO)复用术语 (11 个术语)定义文件
NodeShape, closed, class
对方 → 本项NEN 3610 - base model geo-information复用术语 (23 个术语)定义文件
NodeShape, targetClass, property
对方 → 本项Positioning System Ontology Common Technologies, Algorithms and Systems复用术语 (2 个术语)定义文件
NodeShape, targetClass
对方 → 本项Authentication Provider复用术语 (3 个术语)定义文件
namespace, prefix, declare
对方 → 本项Key Register Cadastre (BRK) vocabulary复用术语 (16 个术语)定义文件
PropertyShape, class, maxCount
对方 → 本项MedRed ontology: clinical data acquisition model导入定义文件
owl:imports <http://www.w3.org/ns/shacl#>
对方 → 本项NEN 2660-2:2022 'Rules for information modelling of the built environment - Part 2: Practical configuration, extension and implementation of NEN 2660-1''导入定义文件
owl:imports <http://www.w3.org/ns/shacl>
对方 → 本项Probabilistic SHACL Validation复用术语 (3 个术语)定义文件
ValidationReport, ValidationSummary, Shape
对方 → 本项Key Register Topography (BRT) vocabulary复用术语 (16 个术语)定义文件
PropertyShape, class, maxCount
对方 → 本项TREE复用术语 (1 个术语)定义文件
NodeShape
对方 → 本项IDS Information Model复用术语 (1 个术语)定义文件
shapesGraph
对方 → 本项Netherlands' National Statistics Office (CBS) ontology复用术语 (12 个术语)定义文件
NodeShape, targetClass, property
对方 → 本项Allotrope Merged Ontology Suite复用术语 (1 个术语)定义文件
Shape
对方 → 本项Brick Ontology复用术语 (54 个术语)定义文件
NodeShape, PropertyShape, datatype
对方 → 本项System Package Data Exchange复用术语 (17 个术语)定义文件
NodeShape, nodeKind, BlankNodeOrIRI
对方 → 本项Interconnect S2 and SPINE导入定义文件
owl:imports <http://www.w3.org/ns/shacl#>
对方 → 本项Value Sets复用术语 (1 个术语)定义文件
order

相似候选

候选项按说明和术语标签中的共同词语排序,仅供进一步核查参考,不代表等价、兼容或官方关系。

相似本体

论文与标准

文件与代码仓库

文件格式位置
정의 파일Turtlehttps://www.w3.org/ns/shacl.ttl
代码仓库—https://github.com/w3c/data-shapes

检查记录

  1. 获取文件已完成
  2. 解析 RDF已完成
  3. 提取术语已完成

“已解析”仅表示文件可读,不保证逻辑一致性或建模质量。

定义文件检查
文件已解析
检查时间
2026年11月30日 UTC
格式
Turtle
解析器
n3
大小
52,899 B
SHA-256
0e5d8aea0eab98a072d4a02faaee1ee914ec99eab2ca473429726faed4a13f69

此资源的 Bioregistry 页面

此词表的 LOV 页面