Closed seitenbau-govdata closed 4 years ago
The pull request adds support for DCT.rightsStatement in DCT.accessRights (DCAT.Dataset) and DCT.rights (DCAT.Distribution).
The old behavior was to save the NodeID of the element , the new behavior reads the literal in rdf:label nested in and save this.
<dcat:Dataset rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98"> <dct:accessRights> <dct:RightsStatement> <rdfs:label>public</rdfs:label> </dct:RightsStatement> </dct:accessRights> <dcat:distribution> <dcat:Distribution rdf:about="https://data.some.org/catalog/datasets/9df8df51-63db-37a8-e044-0003ba9b0d98/1"> <dct:rights> <dct:RightsStatement> <rdfs:label>Some statement about rights</rdfs:label> </dct:RightsStatement> </dct:rights> </dcat:Distribution> </dcat:distribution> </dcat:Dataset>
The example above will be now saved as
@amercader Thanks for review and merging!
The pull request adds support for DCT.rightsStatement in DCT.accessRights (DCAT.Dataset) and DCT.rights (DCAT.Distribution).
The old behavior was to save the NodeID of the element, the new behavior reads the literal in rdf:label nested in and save this.
The example above will be now saved as