Skip to content

changed capitalization of predicates used as link relations #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elf-pavlik
Copy link
Contributor

Traditionally predicates start with lowercase letter. IMO anything used as link relation can be considered a predicate.

@@ -1401,9 +1401,9 @@ to the `HTTP PUT` on `LOCATORURI` by the [=client-side agent=] in the
1. Perform an HTTP `POST` or `PUT` on `TR` to create the
[=shape tree instance=] including:
* An HTTP `Link` header with the relation of
`http://shapetrees.org/#TargetShapeTree` if `SHAPETREEURI` is provided
`http://shapetrees.org/#targetShapeTree` if `SHAPETREEURI` is provided
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`http://shapetrees.org/#targetShapeTree` if `SHAPETREEURI` is provided
`http://www.w3.org/ns/shapetrees#targetShapeTree` if `SHAPETREEURI` is provided

* An HTTP `Link` header with the relation of
`http://shapetrees.org/#FocusNode` if `FNURI` is provided
`http://shapetrees.org/#focusNode` if `FNURI` is provided
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`http://shapetrees.org/#focusNode` if `FNURI` is provided
`http://www.w3.org/ns/shapetrees#focusNode` if `FNURI` is provided

@@ -1439,9 +1439,9 @@ to the `HTTP PUT` on `LOCATORURI` by the [=client-side agent=] in the
1. Let `PCST` be the URI of a [=shape tree=] with `st:contains` in `LR`
1. If `PCST` exists
1. Let `TST` be the target [=shape tree=] URI from an HTTP `Link` header with a
relation of `http://shapetrees.org/#TargetShapeTree`
relation of `http://shapetrees.org/#targetShapeTree`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
relation of `http://shapetrees.org/#targetShapeTree`
relation of `http://www.w3.org/ns/shapetrees#targetShapeTree`

1. Let `FN` be a focus node URI from an HTTP `Link` header with a relation of
`http://shapetrees.org/#FocusNode`
`http://shapetrees.org/#focusNode`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`http://shapetrees.org/#focusNode`
`http://www.w3.org/ns/shapetrees#focusNode`

@elf-pavlik
Copy link
Contributor Author

I added inline suggestions to use the same namespace as rest of the vocabulary.

Copy link
Contributor

@ericprud ericprud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants