molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
11 stars 16 forks source link

fdp: wrong ldp:hasMemberRelation #3951

Open svituz opened 5 days ago

svituz commented 5 days ago

What version of EMX2 are you using (see footer) 8.190.0

Describe the bug The ldp:hasMemberRelation of dcat:Catalog and dcat:Dataset has wrong values: dcat:Dataset and dcat:Distribution respectively. Those are classes and not properties. The right ones are dcat:dataset and dcat:distribution

To Reproduce Steps to reproduce the behavior:

  1. Run EMX2 locally with docker-compose
  2. Go to localhost:8080
  3. Add a database using FAIR DATA HUB template
  4. Try to access one catalog and one dataset using the fdp api
  5. The ldp:hasMemberRelation value of the ldp:DirectContainer, is dcat:Dataset for the catalog and dcat:Distribution for the dataset.

Expected behavior The ldp:hasMemberRelation value of the ldp:DirectContainer, should be dcat:dataset and dcat:distribution.

Desktop (please complete the following information):

Smartphone (please complete the following information):