Skip to content

Commit

Permalink
ISSUE-191: Added definition of datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerKnublauch committed Oct 18, 2016
1 parent 277c9f3 commit eb2b55f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shacl/index.html
Expand Up @@ -360,7 +360,8 @@ <h3>Terminology</h3>
<a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-term"><dfn>RDF term</dfn></a>, and
<a href="https://www.w3.org/TR/rdf11-concepts/#dfn-subject"><dfn data-lt="subject|subjects">subject</dfn></a>,
<a href="https://www.w3.org/TR/rdf11-concepts/#dfn-predicate"><dfn data-lt="predicate|predicates">predicate</dfn></a>, and
<a href="https://www.w3.org/TR/rdf11-concepts/#dfn-object"><dfn data-lt="object|objects">object</dfn></a> of RDF triples
<a href="https://www.w3.org/TR/rdf11-concepts/#dfn-object"><dfn data-lt="object|objects">object</dfn></a> of RDF triples, and
<a href="https://www.w3.org/TR/rdf11-concepts/#dfn-datatype"><dfn data-lt="datatypes">datatype</dfn></a>
as defined in RDF 1.1 Concepts and Abstract Syntax [[!rdf11-concepts]].
SHACL can be used with RDF graphs that are obtained by any means, e.g. from the file system, HTTP requests, or <a href="http://www.w3.org/TR/rdf11-concepts/#section-dataset">RDF datasets</a>.
SHACL makes no assumptions about whether a graph contains triples that are entailed from the graph under any RDF entailment regime.
Expand Down Expand Up @@ -1758,7 +1759,7 @@ <h4>sh:datatype</h4>
<div class="def def-text">
<div class="def-header">TEXTUAL DEFINITION</div>
<div class="def-text-body">
The values of <code>sh:datatype</code> must be IRIs representing datatypes, such as <code>xsd:string</code>.
The values of <code>sh:datatype</code> must be the <a>IRIs</a> of <a>datatypes</a>, such as <code>xsd:string</code>.
A <a>validation result</a> must be produced for each <a>value node</a>
that is not a <a>literal</a>, or is a <a>literal</a> with a mismatching datatype.
A <a>literal</a> matches a datatype if the <a>literal</a>'s datatype has the same <a>IRI</a>.
Expand Down Expand Up @@ -2943,7 +2944,7 @@ <h4>sh:qualifiedValueShape, sh:qualifiedMinCount, sh:qualifiedMaxCount</h4>
</div>
<p>
The property <code>sh:qualifiedValueShape</code> can be used verify that a specified number of <a>value nodes</a> validate against the given shape.
<code>sh:qualifiedValueShape</code> must be accompanied by a <code>sh:qualifiedMinCount</code> or a <code>sh:qualifiedMaxCount</code>, or both.
For each <code>sh:qualifiedValueShape</code> there must be either one <code>sh:qualifiedMinCount</code> or one <code>sh:qualifiedMaxCount</code>, or one of each, at the same <a>subject</a>.
</p>
<p>
<span class="component-class">Constraint Component IRI</span>: <code>sh:QualifiedValueShapeConstraintComponent</code>
Expand Down

0 comments on commit eb2b55f

Please sign in to comment.