Skip to content

currently [elton prov] includes unanchored [classpath:/ ] references, suggest to anchor the classpath references in jar content (if available) #65

@jhpoelen

Description

@jhpoelen

with elton prov

$ elton prov | grep hasVersion | grep classpath
<classpath:/org/globalbioticinteractions/interaction_types_ignored.csv> <http://purl.org/pav/hasVersion> <hash://sha256/f49f665c540214e7d00466e359821de1bc03206f8373d4974220d608ed7b98f3> <urn:uuid:100b6933-256d-4bd2-b2b0-4936787c4bc8> .
<classpath:/org/globalbioticinteractions/interaction_types_mapping.csv> <http://purl.org/pav/hasVersion> <hash://sha256/ef045408607c6fb19d6bdf8145e7ce16a0e16bc8be45acbe31da33e1db0c9ea7> <urn:uuid:ce902e96-f8b6-4419-a93c-a4e2250f5939> .
<classpath:/org/globalbioticinteractions/interaction_types_ro_unmapped.csv> <http://purl.org/pav/hasVersion> <hash://sha256/43aba7b90c686a4890aebd4a90a02d6f82259664524bdad1b22102a29fe9fa07> <urn:uuid:51dab21b-9ca9-4d00-aebb-fb4b937d7ffb> .
<classpath:/org/globalbioticinteractions/interaction_types_ro.csv> <http://purl.org/pav/hasVersion> <hash://sha256/7dc2797003a95ac7b97be06fda48b4dc25e7a555a2839a19ad7dc7a148427e43> <urn:uuid:1f97ec4c-b0df-4455-b50a-9621d8a17826> .

containing "classpath:" references, the provenance of where the resources come from is implicit.

Suggest to make provenance explicit by resolving the jar (if available) to their content id .

So, instead of,

<classpath:/org/globalbioticinteractions/interaction_types_ignored.csv> <http://purl.org/pav/hasVersion> <hash://sha256/f49f665c540214e7d00466e359821de1bc03206f8373d4974220d608ed7b98f3> <urn:uuid:100b6933-256d-4bd2-b2b0-4936787c4bc8> .

do something like:

<file:///some/path/foo.jar> <http://purl.org/pav/hasVersion> <hash://sha256/abc.../> <urn:uuid:100b6933-256d-4bd2-b2b0-4936787c4bc8> .
<jar:/hash://sha256/abc.../!/org/globalbioticinteractions/interaction_types_ignored.csv> <http://purl.org/pav/hasVersion> <hash://sha256/f49f665c540214e7d00466e359821de1bc03206f8373d4974220d608ed7b98f3> <urn:uuid:100b6933-256d-4bd2-b2b0-4936787c4bc8> .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions