specifications icon indicating copy to clipboard operation
specifications copied to clipboard

ID property should be mandatory for FormalParameters

Open albangaignard opened this issue 3 years ago • 3 comments

This may lead to the introduction of RDF blank nodes in bioschemas markup. RDF blank nodes are "anonymous" nodes with a local ID without any unicity guaranty. This is a problem since (i) they may change each time the markup is generated, and (ii) they may collide when integrating multiple bioschemas markup in a single dataset or querying multiple bioschemas annotations.

albangaignard avatar Oct 13 '21 07:10 albangaignard

For all markup we recommend the use of @id, @type, dct:conformsTo for every node in the graph; see issues #294, #297, #481.

The boilerplate code for adding this into the profiles is being worked on in branch standard-property-2; it got delayed by the website revamp, but should be merged in soon.

AlasdairGray avatar Oct 13 '21 08:10 AlasdairGray

We recommend but we cannot make it mandatory as there are cases where no id will be available. For instance, the protein has an id but the annotations, e.g., cellular location, will commonly not.

ljgarcia avatar Oct 13 '21 12:10 ljgarcia

The cellular location may have no sensible identifier field, but why should that prevent it having an @id.

I think the absence of @id will affect whether the data can be included in an RO-Crate.

alaninmcr avatar Oct 13 '21 13:10 alaninmcr