gfbio / bioschemas.org_interest_group

A repository for documents and files related the the bioschemas.org interest group within NFDI4Biodiversity
Mozilla Public License 2.0
3 stars 0 forks source link

[#5] Add owner roles mapping #8

Open airnst opened 3 months ago

airnst commented 3 months ago

Tickets

[#5]

Justification

Information about abcd:DataSets/DataSet/Metadata/Owners/Owner/Roles must be mapped to the schema:jobTitle property of schema:Person. Several roles may be included.

Code changes

A foreach loop extracts roles and maps this information to jobTitle.

Two owners has been added to the example XML: One organization entity and one person entity. The latter has been modified to include two roles.

Removed typos (emai1 → email).