CWL ontology and JSON-LD context

146 views
Skip to first unread message

Stian Soiland-Reyes

unread,
Jul 8, 2015, 11:25:46 AM7/8/15
to common-workf...@googlegroups.com
Hi,

Here at the BOSC CodeFest I and Peter have published the CWL JSON-LD
Context and ontology and assigned some perma-URIs using w3id.org.

See all links here:

https://github.com/perma-id/w3id.org/tree/master/cwl


The spec itself now has permalinks:

> This version:
> https://w3id.org/cwl/draft-2/
>
> Current version:
> https://w3id.org/cwl/





Remote JSON-LD context:
{ "@context": "https://w3id.org/cwl/context",
"@graph": [
"..": {}
}

Or draft-specific:

{ "@context": "https://w3id.org/cwl/draft-2/context",


We changed the namespaces in the RDF to:

@prefix avro: <https://w3id.org/cwl/avro#> .
@prefix cwl: <https://w3id.org/cwl/cwl#> .

(they both redirect to https://w3id.org/cwl/draft-2/cwl.ttl which you
can use for say an owl import)


You can browse the ontology with LODE:

http://www.essepuntato.it/lode/owlapi/https://w3id.org/cwl/cwl

Sorry, not much descriptions yet..



As this effectively is a minor update to draft-2 it's been tagged as
draft-2.1 (changing namespaces is normally a major update - but this
is just a day later and only the reference implementation has used the
RDF so far)

also:

cwltool --print-jsonld-context

now prints the JSON-LD context with the correct { "@context": { .. } } wrapper



--
Stian Soiland-Reyes, eScience Lab
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718

vso...@gmail.com

unread,
Oct 31, 2018, 9:41:26 PM10/31/18
to common-workflow-language
Hey Stian,

I'm not on the list, but I wanted to ask if you've engaged with schema.org about some kind of modeling of a workflow? What are your thoughts on ProvOne --> http://vcvcomputing.com/provone/provone.html?

Best,

Vanessa

Peter Amstutz

unread,
Nov 1, 2018, 9:35:21 AM11/1/18
to vso...@gmail.com, common-workf...@googlegroups.com
I don't know if he is working with Schema.org, but Stian is involved
in Research Objects (http://www.researchobjects.org/) and CWLProv
(https://github.com/common-workflow-language/cwlprov) and CWL itself
is based in part on wf4ever (http://wf4ever.github.io/ro/#wfdesc)
which is cited by ProvONE. You could try asking on
https://gitter.im/ResearchObject/ResearchObject

Thanks,
Peter
> --
> You received this message because you are subscribed to the Google Groups "common-workflow-language" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to common-workflow-la...@googlegroups.com.
> To post to this group, send email to common-workf...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/common-workflow-language/6c8fdc7a-8e2d-4fd5-9fe2-2c7740d8efc5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

v

unread,
Nov 1, 2018, 11:10:43 AM11/1/18
to pams...@veritasgenetics.com, common-workf...@googlegroups.com
Ah thank you Peter! I might jump on Gitter maybe next week, I like chat for informal discussion but then I forget everything we talked about, so I'm going to try Github issues and lists (where I can find it again!) first. If anyone is interested and wants to join the discussion, fwoop here it is! --> https://github.com/schemaorg/schemaorg/issues/2089. I've added the resources that you mentioned! It seems like there is really good work in this space, but like most standards, the hard part is some unified vision for how these things can fit together, or even a general path to take that could support more than one.
--
Vanessa Villamia Sochat
Stanford University '16
Reply all
Reply to author
Forward
0 new messages