Skip to content

Commit c8e26e7

Browse files
Merge pull request #147 from TREEcg/Minus-markdown
SHA: 83b943a Reason: push, by pietercolpaert Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 539e161 commit c8e26e7

File tree

1 file changed

+46
-21
lines changed

1 file changed

+46
-21
lines changed

index.html

Lines changed: 46 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<title>The TREE hypermedia specification</title>
66
<meta content="CG-DRAFT" name="w3c-status">
77
<link href="https://www.w3.org/StyleSheets/TR/2021/cg-draft" rel="stylesheet">
8-
<meta content="Bikeshed version 9a7a6709a, updated Tue May 27 16:45:34 2025 -0700" name="generator">
8+
<meta content="Bikeshed version 275834c42, updated Wed Jun 11 14:18:15 2025 -0700" name="generator">
99
<link href="https://w3id.org/tree/specification" rel="canonical">
1010
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
11-
<meta content="91f40337e716db02829598a2117ec478afcda40f" name="revision">
11+
<meta content="83b943a53277ecd36c936c293406bc354419062a" name="revision">
1212
<meta content="dark light" name="color-scheme">
1313
<link href="https://www.w3.org/StyleSheets/TR/2021/dark.css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css">
1414
<style>/* Boilerplate: style-autolinks */
@@ -532,9 +532,13 @@
532532
</style>
533533
<body class="h-entry">
534534
<div class="head">
535-
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
535+
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/">
536+
<img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72">
537+
</a>
538+
</p>
536539
<h1 class="p-name no-ref" id="title">The TREE hypermedia specification</h1>
537-
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#CG-DRAFT">Draft Community Group Report</a>, <time class="dt-updated" datetime="2025-06-11">11 June 2025</time></p>
540+
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#CG-DRAFT">Draft Community Group Report</a>,
541+
<time class="dt-updated" datetime="2025-06-20">20 June 2025</time></p>
538542
<details open>
539543
<summary>More details about this document</summary>
540544
<div data-fill-with="spec-metadata">
@@ -551,7 +555,8 @@ <h1 class="p-name no-ref" id="title">The TREE hypermedia specification</h1>
551555
</div>
552556
</details>
553557
<div data-fill-with="warning"></div>
554-
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/policies/#copyright">Copyright</a> © 2025 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/copyright/software-license/" rel="license" title="W3C Software and Document License">permissive document license</a> rules apply. </p>
558+
<p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/policies/#copyright">Copyright</a> © 2025 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/copyright/software-license/" rel="license" title="W3C Software and Document License">permissive document license</a> rules apply.
559+
</p>
555560
<hr title="Separator for header">
556561
</div>
557562
<div class="p-summary" data-fill-with="abstract">
@@ -634,7 +639,9 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
634639
<h2 class="heading settled" data-level="1" id="overview"><span class="secno">1. </span><span class="content">Overview</span><a class="self-link" href="#overview"></a></h2>
635640
<p><img alt="An overview of the TREE specification with the TREE collection, a reference to the first focus node of its members, and the relations to other nodes from the current node." height="500" src="TREE-overview.svg"></p>
636641
<div class="informative">
637-
The TREE specification introduces these core concepts:
642+
643+
The TREE specification introduces these core concepts:
644+
638645
<ul>
639646
<li data-md>
640647
<p><code>tree:Collection</code> is a set of members. It typically has these properties when described in a node:</p>
@@ -672,7 +679,8 @@ <h2 class="heading settled" data-level="1" id="overview"><span class="secno">1.
672679
<p>A simple collection can be created as illustrated in the following example:</p>
673680
</div>
674681
<div class="example" id="example-27f53748">
675-
<a class="self-link" href="#example-27f53748"></a>
682+
<a class="self-link" href="#example-27f53748"></a>
683+
676684
<pre class="language-turtle highlight"><c- nn>ex</c-><c- p>:</c-><c- f>Collection1</c-> <c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>Collection</c-><c- p>;</c->
677685
<c- nn>rdfs</c-><c- p>:</c-><c- f>label</c-> <c- s>"A Collection of subjects"</c-><c- o>@</c->en<c- p>;</c->
678686
<c- nn>tree</c-><c- p>:</c-><c- f>member</c-> <c- nn>ex</c-><c- p>:</c-><c- f>Subject1</c-><c- p>,</c-> <c- nn>ex</c-><c- p>:</c-><c- f>Subject2</c-> <c- p>.</c->
@@ -691,7 +699,8 @@ <h2 class="heading settled" data-level="1" id="overview"><span class="secno">1.
691699
and more members can be found by interpreting the TREE hypermedia controls.
692700
This is illustrated in the next example:</p>
693701
<div class="example" id="example-68c0a5eb">
694-
<a class="self-link" href="#example-68c0a5eb"></a>
702+
<a class="self-link" href="#example-68c0a5eb"></a>
703+
695704
<pre class="language-turtle highlight">> HTTP GET <c- nn>https</c-><c- p>:</c->//example<c- p>.</c->org/Node<c- mi>1</c->
696705

697706
<c- nn>ex</c-><c- p>:</c-><c- f>Collection1</c-> <c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>Collection</c-><c- p>;</c->
@@ -805,7 +814,8 @@ <h2 class="heading settled" data-level="6" id="relationsubclasses"><span class="
805814
<p>The client MUST combine all relations to the same <code>tree:Node</code> using a logical AND.</p>
806815
<p>The members that the client is able to find in a subtree will be complete relative to the position in the search tree.</p>
807816
<div class="example" id="example-2f0c95e2">
808-
<a class="self-link" href="#example-2f0c95e2"></a>
817+
<a class="self-link" href="#example-2f0c95e2"></a>
818+
809819
<pre class="language-turtle highlight"><c- g>&lt;></c-> <c- nn>tree</c-><c- p>:</c-><c- f>relation</c-> <c- p>[</c->
810820
<c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>GreaterThanRelation</c-> <c- p>;</c-> <c- c># the type of the relation deciding the operator</c->
811821
<c- nn>tree</c-><c- p>:</c-><c- f>node</c-> <c- nn>ex</c-><c- p>:</c-><c- f>Node2</c-> <c- p>;</c-> <c- c># for the left-hand: all members from here</c->
@@ -819,11 +829,13 @@ <h2 class="heading settled" data-level="6" id="relationsubclasses"><span class="
819829
<c- p>]</c-> <c- p>.</c->
820830
</pre>
821831
</div>
822-
<div class="informative"> In the example above the subtree reachable from <code>ex:Node2</code> will contain all remaining members that are both created later in time than the given timestamp <em>and</em> will have the provided substring in the title.
832+
<div class="informative">
833+
In the example above the subtree reachable from <code>ex:Node2</code> will contain all remaining members that are both created later in time than the given timestamp <em>and</em> will have the provided substring in the title.
823834
The client can choose to prune all links to other nodes if this is the only thing it is interested in.
824835
Alternatively, the client can choose prune the subtree reachable from <code>ex:Node2</code> if it is specifically not looking for members with the given substring, <em>or</em> when it is not interested in members created later in time than the given timestamp.
825836
Alternatively, it can also score the relation based on the likelihood of returning useful results and created a priority queue that is processed until a top K of results have been found.
826-
Mind that when the client is specifically not interested in members created later than the given creation time, but does not understand the SubstringRelation, the client can still prune the relation. </div>
837+
Mind that when the client is specifically not interested in members created later than the given creation time, but does not understand the SubstringRelation, the client can still prune the relation.
838+
</div>
827839
<p>While each type of relation can decide on their own properties,
828840
relations will often use the <code>tree:path</code> to indicate the path from the member to the object on which the <code>tree:Relation</code> applies.
829841
For the different ways to express or handle a <code>tree:path</code>, we refer to <a href="https://www.w3.org/TR/shacl/#x2.3.1-shacl-property-paths">2.3.1 in the shacl specification</a>.
@@ -842,7 +854,7 @@ <h3 class="heading settled" data-level="6.1" id="sparqlComparators"><span class=
842854
<li data-md>
843855
<p><strong>IRI comparisons</strong> MUST be treated as simple literal comparisons, consistent with the rules defined for the <a href="https://www.w3.org/TR/sparql11-query/#modOrderBy">ORDER BY operation in the SPARQL specification</a>.</p>
844856
<li data-md>
845-
<p>**<code>xsd:dateTime</code> literals without a timezone comparisons** MUST be performed by interpreting the <code>xsd:dateTime</code> literal as a period of time, with a min inclusive bound of <code>-14:00</code> and max exclusive bound of <code>+14:00</code>.</p>
857+
<p><strong><code>xsd:dateTime</code> literals without a timezone comparisons </strong> MUST be performed by interpreting the <code>xsd:dateTime</code> literal as a period of time, with a min inclusive bound of <code>-14:00</code> and max exclusive bound of <code>+14:00</code>.</p>
846858
</ul>
847859
<p class="note" role="note"><span class="marker">Note:</span> It is highly recommended that server developers and data producers provide a timezone in their <code>xsd:dateTime</code> literals for time comparison.</p>
848860
<h3 class="heading settled" data-level="6.2" id="geospatial"><span class="secno">6.2. </span><span class="content">Comparing geospatial features</span><a class="self-link" href="#geospatial"></a></h3>
@@ -866,7 +878,8 @@ <h3 class="heading settled" data-level="7.1" id="xyztiles"><span class="secno">7
866878
</ol>
867879
<p>All properties expect positive integers.</p>
868880
<div class="example" id="example-7b97ec3b">
869-
<a class="self-link" href="#example-7b97ec3b"></a>
881+
<a class="self-link" href="#example-7b97ec3b"></a>
882+
870883
<pre class="language-turtle highlight"><c- g>&lt;https://tiles.openplanner.team/#LatestCollection></c-> <c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>Collection</c-> <c- p>;</c->
871884
<c- nn>dcterms</c-><c- p>:</c-><c- f>title</c-> <c- s>"A prototype tree:Collection for Linked OpenStreetMap’s roads"</c-><c- o>@</c->en <c- p>.</c->
872885
<c- g>&lt;https://tiles.openplanner.team/planet/></c-> <c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>Node</c-> <c- p>;</c->
@@ -900,7 +913,8 @@ <h3 class="heading settled" data-level="7.2" id="timesearch"><span class="secno"
900913
This time however, when the page itself does not exist, a redirect is doing to happen to the page containing the timestamp.
901914
A <code>tree:path</code> can indicate the time predicate which is intended.</p>
902915
<div class="example" id="example-3c10c743">
903-
<a class="self-link" href="#example-3c10c743"></a>
916+
<a class="self-link" href="#example-3c10c743"></a>
917+
904918
<pre class="language-turtle highlight"><c- g>&lt;https://example.org/#Collection></c-> <c- b>a</c-> <c- nn>tree</c-><c- p>:</c-><c- f>Collection</c-> <c- p>;</c->
905919
<c- nn>dcterms</c-><c- p>:</c-><c- f>title</c-> <c- s>"An example collection with a time search view"</c-><c- o>@</c->en <c- p>;</c->
906920
<c- nn>tree</c-><c- p>:</c-><c- f>view</c-> <c- g>&lt;https://example.org/Node1></c-> <c- p>.</c->
@@ -937,7 +951,8 @@ <h4 class="heading settled" data-level="8.1.2" id="Node"><span class="secno">8.1
937951
<h4 class="heading settled" data-level="8.1.3" id="Relation"><span class="secno">8.1.3. </span><span class="content">tree:Relation</span><a class="self-link" href="#Relation"></a></h4>
938952
<p>An entity that describes a relation between two <code>tree:Nodes</code>.</p>
939953
<p>The <code>tree:Relation</code> has specific sub-classes that implement a more specific type between the values.
940-
These types are described in the ontology (all classes are <code>rdf:subClassOf</code> <code>tree:Relation</code>). <code>tree:Relation</code> can be express in term of <a href="https://www.w3.org/TR/sparql11-query/#expressions">SPARQL algebra functions</a>:</p>
954+
These types are described in the ontology (all classes are <code>rdf:subClassOf</code> <code>tree:Relation</code>).
955+
<code>tree:Relation</code> can be express in term of <a href="https://www.w3.org/TR/sparql11-query/#expressions">SPARQL algebra functions</a>:</p>
941956
<ul>
942957
<li data-md>
943958
<p>String, Date or Number comparison:</p>
@@ -1039,21 +1054,31 @@ <h3 class="no-ref no-num heading settled" id="w3c-conventions"><span class="cont
10391054
in the normative parts of this document
10401055
are to be interpreted as described in RFC 2119.
10411056
However, for readability,
1042-
these words do not appear in all uppercase letters in this specification. </p>
1057+
these words do not appear in all uppercase letters in this specification.
1058+
1059+
</p>
10431060
<p>All of the text of this specification is normative
1044-
except sections explicitly marked as non-normative, examples, and notes. <a data-link-type="biblio" href="#biblio-rfc2119" title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</a> </p>
1061+
except sections explicitly marked as non-normative, examples, and notes. <a data-link-type="biblio" href="#biblio-rfc2119" title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</a>
1062+
1063+
</p>
10451064
<p>Examples in this specification are introduced with the words “for example”
10461065
or are set apart from the normative text
10471066
with <code>class="example"</code>,
1048-
like this: </p>
1067+
like this:
1068+
1069+
</p>
10491070
<div class="example" id="w3c-example">
1050-
<a class="self-link" href="#w3c-example"></a>
1051-
<p>This is an example of an informative example. </p>
1071+
<a class="self-link" href="#w3c-example"></a>
1072+
1073+
<p>This is an example of an informative example.
1074+
</p>
10521075
</div>
10531076
<p>Informative notes begin with the word “Note”
10541077
and are set apart from the normative text
10551078
with <code>class="note"</code>,
1056-
like this: </p>
1079+
like this:
1080+
1081+
</p>
10571082
<p class="note" role="note">Note, this is an informative note.</p>
10581083
</div>
10591084
<script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script>

0 commit comments

Comments
 (0)