From 58a154521761308726b26f41541f8e2b12d33538 Mon Sep 17 00:00:00 2001 From: SimonTaurus Date: Thu, 21 Nov 2024 10:31:31 +0100 Subject: [PATCH 1/3] add minimal osl example eln file --- README.md | 2 +- examples/OpenSemanticLab/MinimalExample.osl.eln | Bin 0 -> 811 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 examples/OpenSemanticLab/MinimalExample.osl.eln diff --git a/README.md b/README.md index 66a02ac..27d91ab 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,5 @@ Generally working with some quirks here and there. | [Rspace](https://www.researchspace.com/) | ✅ | ✅ | [RSpace](https://github.com/TheELNConsortium/TheELNFileFormat/tree/master/examples/RSpace) | | [NOMAD](https://nomad-lab.eu) | ✅ | | | | [LinkAhead](https://getlinkahead.com/) | ✅ | | | - +| [OpenSemanticLab](https://github.com/OpenSemanticLab) | ✅ | ✅ | [OpenSemanticLab](https://github.com/TheELNConsortium/TheELNFileFormat/tree/master/examples/OpenSemanticLab) | diff --git a/examples/OpenSemanticLab/MinimalExample.osl.eln b/examples/OpenSemanticLab/MinimalExample.osl.eln new file mode 100644 index 0000000000000000000000000000000000000000..b07f09959d1ef14213dfdb36aa6f7a9b6541ba70 GIT binary patch literal 811 zcmWIWW@Zs#U|`^2*d16JnQ5&lT+hV7P|nG~pb8ZA&CJWpP0VqvNX#wBN!2gP*G(=; zEJ@YPO)W`GNi0d!%PP*#+dDNrf3|_h(fhwO1LDjNH2l22JSoSxm!DF`ijP8w&&@} ztM{Fm9HF0;^HiP7u{(Otq*rMgM*S1KL(QgN(lFn>wp?az@}`Y%5-%{$nDhGLqdx1n zgFYR1d2XDneN=6hdEVQJZ}(^C@0N3VlP7BiW+&d5QF?#Lm1~(xuO?}%S#V_Pqe#cY z=bx_;ILmXjZpM+`4VL$;HXS>ax1q(W`;1;g=?9i_`)r-J4}QFP)b&)5U(+pe$|Qpn z!|u#^jtw?$$Aq~a=i~*N{;iqkJa0?(uII)n3*MhPtv-1L+gCBak#P1RXz?EG#K`*+qG8=mmYDh{Yh-fUz4q2Pn}<;}*G6L$68 zI;MZUd0y*@4Os Date: Fri, 22 Nov 2024 03:41:24 +0100 Subject: [PATCH 2/3] fix: move internal types to schema:additionalType Refs: #103, #69 --- examples/OpenSemanticLab/MinimalExample.osl.eln | Bin 811 -> 861 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/examples/OpenSemanticLab/MinimalExample.osl.eln b/examples/OpenSemanticLab/MinimalExample.osl.eln index b07f09959d1ef14213dfdb36aa6f7a9b6541ba70..82958ee983642d779a721d1ebfc8bf24eba68c47 100644 GIT binary patch delta 768 zcmV+b1ONQ12Hgf5P)h>@6aWAK2msq0c3Jtk9?h`=008(3001SE?E)x&%~f4*n=ll8 z@2^04-2%oK1AS`M^oBD8#FNs&ck#V|aRsZ`8N!Elm$)>i^5Q<20d_T@P z_i}&axodEe>)PU-9UOauiM7+_I0$}5O8VN21EYi7fW;v6!(at`zdSfLFrBz#-@EVa zb^qsSfl#uIYV@!RGOW;lf&>fxk4D$aFppq6pJEF?GYD4Q;*~ZxeUK}m(57le+95Zy zt!LcX$6({wLoWjeJ+nK5`@x#o!8dP`@kA1Tp^wXH1cvLO4Urzyb?bjEmjL|M8Rdu zkmo!jaV!#%up);DWr9McY!5fLXqshzp-&#MYq;l4?p(3W&>x)T8?^oZ58x9DIb&Jm zToJ`A4H1e^ij0SUf=788(Rja4Ryw`NDW_hgYE?n$S!}E)7kqelH`T_O&?}6tybIUT z*JVeaK=eaSpt%HNH`dMbiuB1FxtyH~dvn{hyz$F*FK4N8tQ%ZcAYU%0TvwH@n~wG+ ztO>+CU_NY1^)DPgl z_WcJCiq8Rf@9xJ_ck@!SzPw|wo2@Mk8M-p z!i=F-zo7F_;^FlOGgmN4WDI%1NE~IH(KJbToB^RZ-7|VCn)l4c%#`ajj+LFvL@Qg+ yKlmt8_jG;q@EcG|0Rj{N6aWAK2msq0c3Jtk9?h`=008(3liUJH2J`{|0001G`fT?A delta 718 zcmV;<0x|vF2CD`eP)h>@6aWAK2mrfLby;aUDHDGJ004Ih001SE9|I_Vy_H{Yn=ll` z-}@<0UN^vi`PZjbT^}ZGYPD9Xw5bo*_>y=9jEvJYtNPt*2w4--&}?moP(;GvVPD(PklG`gPSxhvtve&JL>Ju}OGbl=C^x&U zcO0E#va#%8&;gj7>(SzlJ6^#|h}{g>$$jE`HfhgGLJqt0L-#qHjboE3QEOq?n04Qz z)YfUG)nX{Dpv0BpSwX|k=d2LT4Ap*^#Eq~y-a4|z%5JcPN{h^YE`W9L1b07cEbZX< z?Ba^$5f3RwS(K76WHF0ro-M#d8g<7{qGHT`^^L!Pv2y5}=wpzq4dCzGfK^%hQJ zzzV~wj5xMRQHc@?OJk!gzHDdVT`iUI*vgeGtusUJq6hZ{*s$abnsZQkW3xOz@Nn=; z)3Y;qkh+fA#xK`@gPw)RuxfDK=&avbnJi0LHJ!V?tZ~`Gr4HHRyh_{GC4|#EDC+|M z!n(Byc38O0WQVEUt^HGbVj?h=YOzc%!8ixz`;nhBO8po($$^HHWl59(;geCCFxNBr z_S-3qcod-*1s+MmB*&EcG>8F69FZ)|gV(-lzW;}Czd9j*?*eZBteu;e($@b`cjsTD zMkz;tkR>GI)B_)qBur@@Mn3aAg6VkFOnFhXTv|(xaEa3~dv+K2c8B#tyf5?@U;g_; zKT}hv#Bb<=_=f1c)I1xBc?elfNf@LN^^-V`!W4*~`N25)710+GKUc*%!l}@+Icptq zhYO$l=&r6F4;~%?P)h*<6aW+e000O8yHRynX*($se*ypicL|dY14#zL0ssI201j4G A`v3p{ From 34c9ec5eabfab51a24af019d00b6d69bdf0d3d9c Mon Sep 17 00:00:00 2001 From: SimonTaurus Date: Fri, 22 Nov 2024 07:03:19 +0100 Subject: [PATCH 3/3] docs: add README.md for OpenSemanticLab example --- examples/OpenSemanticLab/README.md | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 examples/OpenSemanticLab/README.md diff --git a/examples/OpenSemanticLab/README.md b/examples/OpenSemanticLab/README.md new file mode 100644 index 0000000..6e9eb41 --- /dev/null +++ b/examples/OpenSemanticLab/README.md @@ -0,0 +1,35 @@ +[OpenSemanticLab](https://github.com/OpenSemanticLab) implementation is part of the [osw-python](https://github.com/OpenSemanticLab/osw-python) package. + +It utilises the following schemas to populate the RO-Crate JSON-LD Graph: +- [osw:ElnEntry](https://opensemantic.world/id/Category-3AOSW0e7fab2262fb4427ad0fa454bc868a0d) -> [schema:Dataset](https://schema.org/Dataset) +- [osw:Organization](https://opensemantic.world/id/Category-3AOSW1969007d5acf40539642877659a02c23) -> [schema:Organization](https://schema.org/Organization) +- [osw:Person](https://opensemantic.world/id/Category-3AOSW44deaa5b806d41a2a88594f562b110e9) -> [schema:Person](https://schema.org/Person) +- [osw:Project](https://opensemantic.world/id/Category-3AOSWb2d7e6a2eff94c82b7f1f2699d5b0ee3) -> [schema:Project](https://schema.org/Project) +- [osw:Keyword](https://opensemantic.world/id/Category-3AOSW09f6cdd54bc54de786eafced5f675cbe) -> [schema:DefinedTerm](https://schema.org/DefinedTerm) +- [osw:Tool](https://opensemantic.world/id/Category-3AOSWe427aafafbac4262955b9f690a83405d) -> [schema:HowToTool](https://schema.org/HowToTool) +- [osw:File](https://opensemantic.world/id/Category-3AOSW11a53cdfbdc24524bf8ac435cbf65d9d) -> [schema:CreativeWork](https://schema.org/CreativeWork) + +Currently the following additional mapping context is applied: + +```json +"@context": [ + "https://w3id.org/ro/crate/1.1/context", + { + "type": {"@id": "schema:additionalType", "@type": "@id"}, + "rdf_type": "@type", + "description": {"@id": "schema:description", "@context": { + "text": "@value", + "lang": "@lang", + }}, + "about": {"@id": "schema:about", "@type": "@id"}, + "conforms_to": {"@id": "conformsTo", "@type": "@id"}, + "date_created": "dateCreated", + "publisher": {"@id": "schema:sdPublisher", "@type": "@id"}, + "date_published": "schema:datePublished", + "has_part": {"@id": "schema:hasPart", "@type": "@id", "@container": "@set"}, + "start_date_time": "schema:dateCreated", + "creator": {"@id": "schema:author", "@type": "@id"}, + "website": "url", + } +] +``` \ No newline at end of file