Skip to content

changed capitalization of predicates used as link relations#61

Open
elf-pavlik wants to merge 1 commit intoshapetrees:mainfrom
elf-pavlik:patch-2
Open

changed capitalization of predicates used as link relations#61
elf-pavlik wants to merge 1 commit intoshapetrees:mainfrom
elf-pavlik:patch-2

Conversation

@elf-pavlik
Copy link
Contributor

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

[=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

`http://shapetrees.org/#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

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`

relation of `http://shapetrees.org/#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