bio-tools / biotoolsShim

Adapters for converting biotoolsSchema-compatible file formats.
1 stars 3 forks source link

Develop & test genericxml2jsonld #7

Open joncison opened 6 years ago

joncison commented 6 years ago

This is so we can get BioSchema / schema.org compatible JSON-LD generated as an output format from bio.tools API (also so we can add this markup to the bio.tools Tool Cards) - a thing we've been asked for many times

I will write the transforms but will need some help independently testing them cc @albangaignard @hansioan and plumbing them in (cc @piotrgithub1)

redmitry commented 6 years ago

Hello

In tools monitoring I can return tools description in JSON-LD providing "Accept:|application/ld+json". https://openebench.bsc.es/monitor/tool/biotools:pmut:2017/rest/mmb.irbbarcelona.org

|Importing the description in Protegé (open from URL) would load OWL2 description (JSON-LD serialization). Unfortunately, Protegé can't resolve @type(s) for the JSON-LD properties on the basement of imported ontology (https://openebench.bsc.es/monitor/tools.owl), so I have to provide explicit @context for the JSON-LD.

Note that I made JSON part of JSON-LD intact by using @id and @type in both formats.

curl -H "Accept: application/ld+json" https://openebench.bsc.es/monitor/tool/biotools:pmt:2017/rest/mmb.irbbarcelona.org

Anyway I think it's a good move to provide different formats for the tools repository.

Kind regards,

Dmitry

On 7/17/2018 2:31 PM, Jon Ison wrote:

This is so we can get BioSchema / schema.org compatible JSON-LD generated as an output format from bio.tools API (also so we can add this markup to the bio.tools Tool Cards) - a thing we've been asked for many times

I will write the transforms but will need some help independently testing them cc @albangaignard https://github.com/albangaignard @hansioan https://github.com/hansioan and plumbing them in (cc @piotrgithub1 https://github.com/piotrgithub1)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bio-tools/biotoolsShim/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AGfViB8oMLtXb9D9FcWCim8kgYjMumyAks5uHdkygaJpZM4VSwfk.