Skip to content

Conversation

@SteffenBrinckmann
Copy link
Collaborator

@simontaurus @raederan Hey this is the gold-standard example we talked about. Since I was in the vibe, I also created the turtle file. Do they make sense?

@SteffenBrinckmann SteffenBrinckmann marked this pull request as draft November 3, 2025 10:58

This folder contains two files:
- PASTA.eln an export of the standard example of an installation with samples, measurements, devices, ...
- A gold‑standard sibling triplet consists of an ELN file, a JSON‑LD file, and a Turtle file. The example shows
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the GoldStandard be something cross-implementation? This indicates that is somehow bound to Pasta

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my point of view that would make sense. But I cannot / do-not-want-to speak for the entire consortium.

  • You can cross-link it from OSL
  • if everybody agrees, we can have it cross-implementation

{
"@type": "Organization",
"name": "Chemie, Ludwig-Maximilians-Universit\u00e4t M\u00fcnchen, Deutschland",
"@id": "Organization_Chemie_LudwigMaximiliansUniversitt_Mnchen_Deutschland"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the GoldStandard we can do better and use ROR Ids

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch; did exactly that.

```

### goldStandard.eln
```json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general this seems much to extensiv for an easy to grasp GoldStandard - e.g. there no additional learning from more than two person objects. Also we should sort the graph, e.g. based on @type

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The conventional examples are for the learning / understanding. This is a small but real and complete example.
  • Since it is real dataset, I also would not like to kick people off the list, ignoring their contribution.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a major difference to the RO-Create JSON-LD other than beeing framed / nested (by JSON-LDs framing)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, some keys are renamed, some @types have to be changed. There is a readme file to list all those changes.

@prefix schema1: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<file:///home/steffen/FZJ/DataScience/Repositories/TheELNConsortium/GoldStandard/10.14272/reaction/SA-FUHFF-UHFFFADPSC-GLVNZYODMK-UHFFFADPSC-NUHFF-NSOPS-NUHFF-ZZZ> a schema1:Study ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had used rdflib to do the job. Now I did a replace of the first string. Great.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the source of this SHACL shapes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea was to show a prove-of-concept: json-ld can be validated. Hence, I needed a shapes file that catches errors. And this does that job: I changed the data a few times and the shapes files caught it.

How was it generated: some-LLM created
Generate SHACL shapes from a JSON-LD file by analyzing its RDF structure.

  • This implementation first collects the kinds of values observed for each property (Literal/IRI/BlankNode) across all instances of a class and only emits a sh:datatype or sh:nodeKind when the predicate has a single consistent kind. If kinds are mixed, no kind/datatype constraint is added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants