- From: Karol Szczepański via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Nov 2017 21:50:39 +0000
- To: public-hydra-logs@w3.org
I'm still wondering whether separate predicate is really necessary. Indeed it will shorten the syntax and enforce some extra logic, but would it make the existing IriTemplate obsolete/forbiden for collections?
```turtle
</api/events> a hydra:Collection;
hydra:memberTemplate [
hydra:template "/api/events/{id}";
hydra:variable "id";
hydra:property some:property
] .
```
alternatively:
```turtle
</api/events> a hydra:Collection;
api:member [
a hydra:IriTemplate;
hydra:template "/api/events/{id}";
hydra:variable "id";
hydra:property some:property
] .
api:member a hydra:Link .
```
--
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/16#issuecomment-341568943 using your GitHub account
Received on Thursday, 2 November 2017 21:50:40 UTC