You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document defines extensions of the SHACL Shapes Constraint Language created to allow for the profiling of specifications.
423
+
This specification defines elements of the SHACL Shapes Constraint Language created to allow for profiles of SHACL and profiling with SHACL.
424
424
</p>
425
425
<p>
426
-
SHACL is a language for validating RDF graphs against a set of conditions, so this document's scope is limited to the profiling of RDF graph models, including SHACL-defined models.
426
+
SHACL is a language for validating RDF graphs against a set of conditions, so this document's scope is limited to profiling of RDF graphs, including graphs containing SHACL Shapes.
427
427
</p>
428
428
429
429
<pstyle="text-indent: 100px;">
@@ -436,32 +436,103 @@
436
436
437
437
<sectionid="sotd"></section>
438
438
439
-
<sectionid="introduction">
440
-
<h2>Introduction</h2>
441
-
<p>SHACL Profiling is the act of creating
442
-
a <ahref="https://www.w3.org/TR/dx-prof/#dfn-profile">profile</a>
443
-
of an <ahref="https://www.w3.org/TR/shacl/#dfn-rdf-graph">RDF graph</a>
444
-
using SHACL...
439
+
<sectionclass="introductory">
440
+
<h2>SHACL Specifications</h2>
441
+
<p>
442
+
This specification is part of the SHACL 1.2 family of specifications. See the SHACL 1.2 Overview for a more detailed introduction to all of them.
<dd>defines an RDF syntax for expressing SHACL concepts</dd>
462
+
<dt>SHACL 1.2 Profiling (this specification)</dt>
463
+
<dd>defines the use of SHACL for profiling data, including SHACL data</dd>
464
+
</dl>
465
+
</section>
445
466
446
-
<sectionid="terminology">
447
-
<h3>Terminology</h3>
467
+
<sectionclass="introductory">
468
+
<h2>Document Outline</h2>
469
+
<p>
470
+
The introduction provides background concepts of profiling and states this specification's scope.
471
+
</p>
472
+
<p>
473
+
Sections 2 & 3 cover the two main elements within the stated scope.
474
+
</p>
475
+
</section>
448
476
477
+
<sectionid="introduction">
478
+
<h2>Introduction</h2>
479
+
<sectionid="what-is">
480
+
<h3>What is profiling?</h3>
449
481
<p>
450
-
Terminology used throughout this document is consistent with several sources:
482
+
Profiling is the act of creating a "profile" of something.
483
+
</p>
484
+
<p>
485
+
Generically, in English, a "profile" of something is as follows:
486
+
</p>
487
+
<pstyle="padding: 0 50px 0 50px;">
488
+
The outline of a physical object or feature, or a representation of this
489
+
<br/><br/>- Oxford English dictionary, use of the word "profile" since the 17th century
490
+
</p>
491
+
<p>
492
+
Within the world of data, a derived definition of "profile" consistent with the above is —
493
+
</p>
494
+
<p>
495
+
A summary or an extraction
496
+
</p>
497
+
<p>
498
+
In this definition, the essence of the English word is retained, since a summary or extraction of or from a data object <em>may</em> be an outline of it; for example, a 2D representation of a 3D spatial object. or a statistical summary of a dataset having lots of parts.
499
+
</p>
500
+
<p>
501
+
By definition, SHACL constrains (RDF) data. Therefore, any data that is valid according to a shapes graph will be a profile of the data graph that was validated. If a shapes graph validates all elements of a data graph, the resulting valid data will be a "null" profile of the data graph, meaning it is identical to the original data graph.
502
+
</p>
503
+
<p>
504
+
The W3C's <em>Profiles Vocabulary</em> [[dx-prof]] has defined "data profiling" in the context of <em>specifications</em> or <em>data specifications</em>:
505
+
</p>
506
+
<pstyle="padding: 0 50px 0 50px;">
507
+
<em>A data specification that constrains, extends, combines, or provides guidance or explanation about the use of other data specifications.</em>
508
+
</p>
509
+
<p>
510
+
If a shapes graph is taken to be a "data specification," then not only is the data that is valid according to the shapes graph a profile of the validated data graph, but the shapes graph itself also serves as a profile of the data model used for the data graph.
511
+
</p>
512
+
</section>
513
+
<sectionid="scope">
514
+
<h3>Scope</h3>
515
+
<p>
516
+
With the above section's concepts in mind, this specification defines the following:
451
517
</p>
452
518
<ol>
453
-
<li>the main SHACL [[shacl]] specification
454
-
<ul>
455
-
<li>which references terms from RDF [[rdf11-concepts]]</li>
456
-
<li>technical terns for SHACL</li>
457
-
</ul>
458
-
</li>
459
-
<li>the Profiles Vocabulary [[dx-prof]], a W3C Dataset Exchange Working Group Note
460
-
<ul><li>which defines general terms to do with profiling including the terms "profiling" / "profile"</li></ul>
461
-
</li>
519
+
<li>profiles of SHACL</li>
520
+
<li>profiling with SHACL</li>
462
521
</ol>
522
+
</section>
523
+
<sectionid="terminology">
524
+
<h3>Terminology</h3>
463
525
<p>
464
-
The SHACL terms include
526
+
Terminology used throughout this specification is taken from several sources:
0 commit comments