luomus / laji-api

New LajiApi, still in prototype phase
MIT License
0 stars 0 forks source link

Fix dct:bibliographicCitation in schema (/checklist endpoint) #9

Open olzraiti opened 2 hours ago

olzraiti commented 2 hours ago

https://schema.laji.fi/class/MR.checklist has property https://schema.laji.fi/property/dc:bibliographicCitation, but in triplestore it's with dct: prefix instead of dc:.

This should be fixed in the schema, and then we should remove this hack:

https://github.com/luomus/laji-api/blob/c301d91a124177ee3dc2fcc979428f7663af1613/src/checklist/checklist.service.ts#L44-L49

wkmor1 commented 2 hours ago

If it matters, this seems to originally come from Dublin Core via Darwin Core where the latter uses the prefix "dcterms" https://dwc.tdwg.org/list/#dcterms_bibliographicCitation for terms coming from DC, in this case http://purl.org/dc/terms/bibliographicCitation