Skip to content

Commit

Permalink
Merge pull request #103 from TREEcg/feat/redirects
Browse files Browse the repository at this point in the history
add redirect note
  • Loading branch information
pietercolpaert authored Apr 3, 2024
2 parents 9f142c1 + fac0c36 commit f8418d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions specs/2-traversing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ A <code>tree:import</code> MAY be defined in the <code>tree:Relation</code> inst

Note: An example of a <code>tree:import</code> is given [in the repository](https://github.com/TREEcg/specification/blob/master/examples/geospatially-ordered-public-transport/first.ttl#L27).

When dereferencing the object of a <code>tree:node</code> triple, the client MUST follow redirects. The URL to be used as the <code>tree:Node</code> URL is the last URL after redirects.

Note: This enables rebalancing search trees.

## Fallbacks ## {#fallbacks}

When there are no <code>tree:member</code>s and/or no <code>tree:Collection</code> defined, then still a <code>tree:Relation</code> can be defined. The <code>tree:path</code> in the <code>tree:Relation</code> then refers to a pattern that can start from every triple in the page.
Expand Down

0 comments on commit f8418d0

Please sign in to comment.