Fixed triples being assigned to subject /api/fdp in /api/fdp/catalog/<fair_database_name>/<catalogId> instead of the individual catalogs. In some cases it’s also very clear that these referred to columns belonging to the catalog table.
The triples that were moved from /api/fdp to the individual catalog (using the catalogId01 from the example data)
dcterms:license <https://www.gnu.org/licenses/lgpl-3.0.rdf>;
dcterms:conformsTo <http://localhost:8080/api/fdp/catalog/profile>;
dcat:themeTaxonomy <http://purl.obolibrary.org/obo/NCIT_C71899>;
dcterms:issued "2024-05-28T13:49:57"^^xsd:dateTime;
dcterms:modified "2024-05-28T13:49:57"^^xsd:dateTime;
dcterms:rights [ a dcterms:RightsStatement;
dcterms:description "Rights are provided on a per-dataset basis."
];
dcterms:accessRights [ a dcterms:RightsStatement;
dcterms:description "Access rights are provided on a per-dataset basis."
];
foaf:homepage <http://localhost:8080/my_FAIR/tables/#/Catalog> .
how to test:
Check the output of curl http://localhost:8080/api/fdp/catalog/<FAIR_DATA_HUB_DATABASE>/catalogId01
todo:
[ ] updated docs in case of new feature
[ ] added/updated tests
[ ] added/updated testplan to include a test for this fix, including ref to bug using # notation
What are the main changes you did:
Fixed triples being assigned to subject
/api/fdp
in/api/fdp/catalog/<fair_database_name>/<catalogId>
instead of the individual catalogs. In some cases it’s also very clear that these referred to columns belonging to the catalog table.References:
The triples that were moved from
/api/fdp
to the individual catalog (using thecatalogId01
from the example data)how to test:
curl http://localhost:8080/api/fdp/catalog/<FAIR_DATA_HUB_DATABASE>/catalogId01
todo: