-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File metadata is not exported #27
Comments
A DataFile has zero or more metadata fields
Thus, I propose:
The metadata URI will be:
String metadataVariableURI = PREFIX_EXPORT_RESOURCE + Constants.CONCEPT_METADATA_VARIABLE + "/" +
concreteTemplateExport.getTransformedTemplateIndividual().getLocalName() + "_" + variable.getLocalName(); A bad idea: The provenance can be:
However, the problem of this approach is the property hasSize because it contains the Domain variable. So, create a query to obtain a metadata field is hard. |
@sirspock Why is |
And then you just have to iterate over all the dcdom metadata properties. |
I see two issues:
|
Since we need a solution for the data catalog id, then let's have a unique property called "dataCatalogId" in opmw namespace. But that's the only one. |
Is your feature request related to a problem? Please describe.
Metadata fields used for data in executions are not exported in the provenance export. This means that any custom metadata added in a file, such as the data catalog dataset id, will not not be exported.
Describe the solution you'd like
I would like the custom metadata to be exported.
The text was updated successfully, but these errors were encountered: