本体 / shex
Shape Expression Vocabulary
原文(英语),来源:BioregistryThe Shape Expressions (ShEx) language describes RDF nodes and graph structures. A node constraint describes an RDF node (IRI, blank node or literal) and a shape describes the triples involving nodes in an RDF graph. These descriptions identify predicates and their associated cardinalities and datatypes. ShEx shapes can be used to communicate data structures associated with some process or interface, generate or validate data, or drive user interfaces.
- 命名空间 IRI
- http://www.w3.org/ns/shex#
- 类型
- 本体
- 领域
- 元数据与数据目录
- 版本
- https://github.com/shexSpec/shexTest/commit/e51237875c69bb1fbc86def8f3c895b213a6ff9c
- 许可证声明
- 许可证尚未核实
- 标准或联系人
- 未登记
- 定义文件检查
- 文件已解析 · 2026年11月30日 UTC
- 采集来源
- Bioregistry
速览
由已解析的定义文件自动得出,非人工撰写。
- 类
- 28
- 属性
- 45
- 文件中的三元组
- 537
- 关联
- 3
- 论文与标准
- 0
按定义文件中在自身命名空间内直接声明的术语统计,不含导入和推理。文件另声明了 0 个其他命名空间的术语。
核心类
子类关系和属性连接最多的类。
层级顶端
有子类、但在本文件中没有父类的类。
可以表达的内容
按“定义域—属性→值域”读取的属性。
- Triple Constraintvalue expressionShape Expression
- Shape OrextendsShape Expression
- SchemastartShape Expression
- Query MapshapeShape Expression
- Shape Notshape expressionShape Expression
- Shape Andshape expressionsShape Expression
- StemRangeexclusionStem
- Node ConstraintvaluesStem
类层级
展开某个类即可逐层查看其子类。数字表示直接子类的数量。
Shape Expression6
- Node Constraint
- Shape And
- Shape External
- Shape Not
- Shape Or
- Shape Or
Stem3
- IRI Stem
- Language Stem
- Literal Stem
StemRange3
- IRI StemRange
- Language StemRange
- Literal StemRange
Triple Expression3
- Each Of
- One Of
- Triple Constraint
Query Map1
- Shape Map
类图
点击某个类可查看其原文定义和相关属性。拖动可平移,滚轮可缩放。
子类关系(子类指向父类)属性(定义域指向值域)
全部 28 个类
| 术语 | 原文定义 |
|---|---|
| Node Constraint shex:NodeConstraint | A constraint on the type or value of an RDF Node. |
| Shape Expression shex:ShapeExpression | The abstract class of Shape Expressions. |
| Triple Constraint shex:TripleConstraint | A constraint on a triple having a specific predicate and optionally a shape expression used for matching values. |
| Each Of shex:EachOf | A TripleExpression composed of one or more sub-expressions, all of which must match. |
| One Of shex:OneOf | A TripleExpression composed of one or more sub-expressions, one of which must match. |
| Stem shex:Stem | Abstract class for Stems |
| StemRange shex:StemRange | Abstract Class for Stem Ranges |
| Shape Or shex:Shape | A shapes schema is captured in a Schema object where shapes is a mapping from shape label to shape expression. |
| Triple Expression shex:TripleExpression | The abstract class of Triple Expressions. |
| Schema shex:Schema | A Schema contains the set of shapes, used for matching a focus node. |
| Semantic Actions shex:SemAct | A list of Semantic Actions that serve as an extension point for Shape Expressions. They appear in lists in Schema's startActs and Shape, OneOf, EachOf and TripleConstraint's semActs. |
| Annotation shex:Annotation | Annotations provide a format-independent way to provide additional information about elements in a schema. |
| Query Map shex:QueryMap | A map of node selectors to shape labels, used to select the nodes to be validated against particular shapes. Node selectors are RDF nodes or triple patterns. |
| Shape Declaration shex:ShapeDecl | Associates a shape expression with a label, and optionally declares it abstract. The shapes in a Schema are ShapeDecls. |
| Language shex:Language | An Language tag used for matching Literal Languages. |
| Shape And shex:ShapeAnd | A ShapeExpression composed of one or more sub-expressions, all of which must match. |
| Shape Map shex:ShapeMap | A QueryMap in which each node selector is an RDF node; associates RDF nodes with shapes, optionally recording the validation status of each association. |
| Shape Not shex:ShapeNot | A ShapeNot is satisfied when it’s included ShapeExpression is not satisfied. |
| Shape Or shex:ShapeOr | A ShapeExpression composed of one or more sub-expressions, one of which must match. |
| IRI Stem shex:IriStem | An IRI prefix used for matching IRIs. |
| IRI StemRange shex:IriStemRange | An IRI prefix (or wildcard) along with a set of excluded values, used for node matching. |
| Language Stem shex:LanguageStem | An Language prefix used for matching Literal Languages. |
| Language StemRange shex:LanguageStemRange | An Language prefix (or wildcard) along with a set of excluded values, used for node matching. |
| Literal Stem shex:LiteralStem | An Literal prefix used for matching Literals. |
| Literal StemRange shex:LiteralStemRange | An Literal prefix (or wildcard) along with a set of excluded values, used for node matching. |
| Node Kind shex:NodeKind | The set of kinds of RDF Nodes. |
| Shape External shex:ShapeExternal | A reference to a shape defined in some external Schema. |
| Wildcard shex:Wildcard | Indicates that a stem is a Wildcard, rather than a URI prefix. |
全部 45 个属性
| 术语 | 原文定义 |
|---|---|
| abstract shex:abstract | Declares a ShapeDecl abstract, meaning that every reference to it must also identify at least one non-abstract shape. |
| annotation shex:annotation | Annotations on a TripleExpression. |
| closed shex:closed | Indicates that a Shape is closed, meaning that it may contain no property values other than those used within TripleConstraints. |
| code shex:code | Code executed by Semantic Action. |
| datatype shex:datatype | A datatype constraint. |
| exclusion shex:exclusion | Values that are excluded from value matching. |
| expression shex:expression | Expression associated with the TripleExpression. |
| expressions shex:expressions | List of 2 or more expressions associated with the TripleExpression. |
| extends shex:extends | Base shape expressions for this shape. |
| extra shex:extra | Properties which may have extra values beyond those matched through a constraint. |
| flags shex:flags | Regular expression flags |
| fraction digits shex:fractiondigits | for "fractiondigits" constraints, v is less than or equals the number of digits to the right of the decimal place in the XML Schema canonical form[xmlschema-2] of the value of n, ignoring trailing zeros. |
| imports shex:imports | Schemas imported by this Schema; their shape and triple expression labels are also in scope here. |
| inverse shex:inverse | Constrains the subject of a triple, rather than the object. |
| language tag shex:languageTag | The value used to match the language tag of a language-tagged string. |
| length shex:length | The exact length of the value of the cell. |
| maximum cardinality shex:max | Maximum number of times this TripleExpression may match; -1 for “*” |
| max exclusive shex:maxexclusive | An atomic property that contains a single number that is the maximum valid value (exclusive). |
| max inclusive shex:maxinclusive | An atomic property that contains a single number that is the maximum valid value (inclusive). |
| max length shex:maxlength | A numeric atomic property that contains a single integer that is the maximum length of the value. |
| minimum cardinatliy shex:min | Minimum number of times this TripleExpression may match. |
| min exclusive shex:minexclusive | An atomic property that contains a single number that is the minimum valid value (exclusive). |
| min inclusive shex:mininclusive | An atomic property that contains a single number that is the minimum valid value (inclusive). |
| min length shex:minlength | An atomic property that contains a single integer that is the minimum length of the value. |
| name shex:name | Identifier of SemAct extension. |
| node shex:node | An RDF node, or a triple pattern which is used to select RDF nodes to be validated. |
| node kind shex:nodeKind | Restiction on the kind of node matched; restricted to the defined instances of NodeKind. One of shex:iri, shex:bnode, shex:literal, or shex:nonliteral. |
| numericFacet shex:numericFacet | Abstract property of numeric facets on a NodeConstraint. |
| object shex:object | The object of an Annotation. |
| pattern shex:pattern | A regular expression used for matching a value. |
| predicate shex:predicate | The predicate of a TripleConstraint or Annotation. |
| semantic action shex:semActs | Semantic Actions on this TripleExpression. |
| shape shex:shape | A ShEx shape expression label identifying the shape expression against which the selected nodes are validated, or the string "START" for the schema's start shape expression. |
| shape expression shex:shapeExpr | Shape Expression referenced by this shape or shape declaration. |
| shape expressions shex:shapeExprs | A list of 2 or more Shape Expressions referenced by this shape. |
| shapes shex:shapes | Shape declarations in this Schema. |
| start shex:start | A ShapeExpression matched against the focus node prior to any other mapped expressions. |
| start actions shex:startActs | Semantic Actions run on the Schema. |
| status shex:status | The validation status of a node/shape association: "conformant" or "nonconformant". Defaults to "conformant". |
| stem shex:stem | A stem value used for matching or excluding values. |
| stringFacet shex:stringFacet | An abstract property of string facets on a NodeConstraint. |
| total digits shex:totaldigits | for "totaldigits" constraints, v equals the number of digits in the XML Schema canonical form[xmlschema-2] of the value of n |
| value expression shex:valueExpr | A ShapeExpression used for matching the object (or subject if inverted) of a TripleConstraint. |
| values shex:values | A value restriction on a NodeConstraint. |
| xsFacet shex:xsFacet | An abstract property of string and numeric facets on a NodeConstraint. |
关联
定义文件或官方注册表中声明的关系。每行均标明依据。
此本体所依托的本体 3
依托此本体的本体 0
无
有明确关系的本体论文或标准代码仓库相似候选(自动计算)
查看依据表(3 行)
| 方向 | 本体 | 关系 | 依据 |
|---|---|---|---|
| 本项 → 对方 | The RDF Concepts Vocabulary | 复用术语 (5 个术语) | 定义文件 type, Property, first |
| 本项 → 对方 | DCMI Metadata Terms | 复用术语 (3 个术语) | 定义文件 title, description, date |
| 本项 → 对方 | XML Schema | 复用术语 (5 个术语) | 定义文件 boolean, string, integer |
相似候选
候选项按说明和术语标签中的共同词语排序,仅供进一步核查参考,不代表等价、兼容或官方关系。
相似本体
相似论文与标准
- 0.13
- 0.11
论文与标准
尚未关联论文或标准。没有论文并非缺陷,官方规范同样可以作为依据。
文件与代码仓库
| 文件 | 格式 | 位置 |
|---|---|---|
| Definition file | Turtle | https://www.w3.org/ns/shex.ttl |
| 代码仓库 | — | https://github.com/shexspec/shexspec.github.io |
检查记录
- 获取文件已完成
- 解析 RDF已完成
- 提取术语已完成
“已解析”仅表示文件可读,不保证逻辑一致性或建模质量。
- 定义文件检查
- 文件已解析
- 检查时间
- 2026年11月30日 UTC
- 格式
- Turtle
- 解析器
- n3
- 大小
- 19,976 B
- SHA-256
- 3dd94fb3f96ac3d0e41c665705b5ac90d6fd82aa42ca180f56e4b628fb824206