Skip to content
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

In- and Outputs of Processes not matchable in RDF graph #129

Closed
feserm opened this issue Nov 15, 2024 · 1 comment
Closed

In- and Outputs of Processes not matchable in RDF graph #129

feserm opened this issue Nov 15, 2024 · 1 comment

Comments

@feserm
Copy link

feserm commented Nov 15, 2024

Not sure, if this is the right place. Feel free to move this issue.

When loading the ro-crate-metadata.json into a RDF Graph to query using SPARQL. I can't connect Sources to Samples. This is because, the RO-Crate has one Process with n inputs and n outputs, expecting those to be well-ordered. However, the graph loads those inputs and outputs in an unordered manner. So there is no way for me of matching inputs to outputs.

One way to fix this issue would be to put n processes into the processSequence, each having one input and one output. That way it would be feasible to match Sources and Samples, regardless of order. Otherwise an additionalProperty "derivedFrom" or similar could also solve this issue.

Maybe I'm overlooking something. Otherwise, I'm curious to hear your opinions on this.

@github-actions github-actions bot added the Status: Needs Triage This item is up for investigation. label Nov 15, 2024
@HLWeil HLWeil removed the Status: Needs Triage This item is up for investigation. label Nov 18, 2024
@HLWeil
Copy link
Member

HLWeil commented Nov 18, 2024

Hey @feserm,

thanks for your input. This is something I also just noticed and opened an Issue in ARCtrl.

In JSON-LD, ordering of elements is usually ignored. This will be accounted for in the next bigger release of ARCtrl.

I will close this issue here now, as the one in ARCtrl is already opened and in the correct Repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants