Re: [Specifications] Simplify discovery of collections that contain resources of a certain type

I agree with @lanthaler about `partition` - feels foreign.

As for the example:
> "constraint": {
>    "rdf:type": "Event",
>    "country": "Italy"
> },
I believe we're entering a dangerous mine field here. Correct me if I'm wrong, but this is what OWL restriction does - I don't think its a good approach as it opens a huge can of worms. Whole topic also touches idea of views and projections.

Generally - I'd leave logical partitioning to the developers. In @lanthaler 's case, all collections of that kind still would have members of same type. Having a stringly typed collections would also allow us to create shortened operation definitions (i.e. operation for creating new members could expect that type unless specified otherwise, assuming we have that mechanism in the spec.)

-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/126#issuecomment-315976102 using your GitHub account

Received on Tuesday, 18 July 2017 07:01:31 UTC