ro-crate icon indicating copy to clipboard operation
ro-crate copied to clipboard

Representation of property values that are defined terms

Open simleo opened this issue 2 years ago • 1 comments
trafficstars

In Recording changes to RO-Crates, we have examples that represent the value of actionStatus like:

  "actionStatus":  {"@id": "http://schema.org/CompletedActionStatus"}

However, there are some TRE-FX profile examples that use:

  "actionStatus": "http://schema.org/CompletedActionStatus"

Are they both correct? And since CompletedActionStatus is defined in the RO-Crate context, isn't the following also correct?

  "actionStatus": "CompletedActionStatus"

simleo avatar Jul 12 '23 13:07 simleo

The first one will be correct, but the second entry is wrong as it will be understood with the full URI as a plain string (this must be my fault!).

Our JSON-LD context do not have the detailed @type: @id mapping, and neither do schema.org, so the third one would kind of also work, but would set the status to the literal string. This is also how schema.org examples would typically be done, however I don't see any examples of actionStatus

stain avatar Oct 04 '24 01:10 stain