dcmi / openwemi

OpenWEMI
Creative Commons Zero v1.0 Universal
26 stars 9 forks source link

context for JSON-LD users #120

Open philbarker opened 1 month ago

philbarker commented 1 month ago

As we have various examples in JSON-LD, and it is quite likely that users will implement OpenWEMI in JSON-LD (especially if they use schema.org), we should at least suggest JSON-LD context should be for OpenWEMI.

I think it should provide mappings for "openwemi:..." to URIs and declare which have values that should be interpreted as IRIs (i.e. which properties are essentially owl:ObjectProperties) It could live in the namespace folder (though perhaps we ask the usage board about this as I believe providing a context would be new ground for DCMI) It would be informative only; we can't (and shouldn't) stop people from writing their own context file, e.g. with a different prefix or with different mappings for the value types.

kcoyle commented 1 month ago

I see you added a file in https://github.com/dcmi/openwemi/tree/main/docs/draft last year. Since I know nothing about context files I will let you take lead on this. I agree that we don't want to tell people they HAVE TO use our file, but in my experience people find having something to start with is useful.

Perhaps that this something we can highlight in the cookbook, maybe in a section with anything else related to OpenWEMI in JSON-LD.

philbarker commented 1 month ago

I had forgotten about that. Good find!