Type Index Registry (Solid Application Data Discovery)

Hello,

Reminded by Markus' note in on of his recent commits

 > **Note:** The `events` property would need to be specified by the 
API. Hydra currently doesn't define any concepts which would allow to 
reference collections and describe their items in more details.


I would like to share with this mailing list approach which Solid team 
experiments with

https://github.com/solid/solid/blob/master/proposals/data-discovery.md

and have implemented in

https://github.com/solid/solid-client#user-type-registry-index


For hydra:Collection solid:instanceContainer seems relevant

https://github.com/solid/solid/blob/master/proposals/data-discovery.md#type-index-registrations


An example Listed Type Index resource might contain:

# Maps the type vcard:AddressBook to an index document
<#ab09fd> a solid:TypeRegistration;
     solid:forClass vcard:AddressBook;
     solid:instance </contacts/myPublicAddressBook.ttl>.

# Maps the type sioc:Post to a container
<#ab09cc> a solid:TypeRegistration;
     solid:forClass sioc:Post;
     solid:instanceContainer </posts/>.


So for our example in that use case, it would look something like

<#ab09cc> a solid:TypeRegistration;
     solid:forClass schema:Event;
     solid:instanceContainer </api/events>.


Cheers!

Received on Saturday, 27 May 2017 15:20:52 UTC