earthcubearchitecture-project418 / p418Vocabulary

Vocabulary + HTML for describing the schema.org extension
https://geodex.org/voc/
6 stars 4 forks source link

Transforms from science metadata formats #7

Open ashepherd opened 6 years ago

ashepherd commented 6 years ago

ISO 19139 Datacite metadata EML??

See other formats at DataONE https://cn.dataone.org/cn/v1/formats

cboettig commented 6 years ago

Would love to see this. I'd be curious on your thoughts as how you would most likely see this implemented? e.g. full RDF/OWL reasoning? Stylesheet transforms?

I've just been playing with an example of rendering EML as JSON-LD and mapping that back and forth to Schema.org/Dataset type here using JQ here: https://github.com/cboettig/emld/blob/master/notebook/jq_maps.md. though my current examples maps are very far from complete, JQ makes it pretty easy to write these transforms.

ashepherd commented 6 years ago

@cboettig This sounds interesting. Would love to see this in action if you can send an example over!

cboettig commented 6 years ago

prototypes are here: https://github.com/cboettig/emld/tree/master/inst/jq . So far just mapping back and forth some coverage types, but should at least give the flavor. Would be good to flush this out to the full spec.

(that repo is for an R package, but bindings for JQ library can be found in most languages these days I think. Of course this map treats EML as JSON-LD as well; said package defines a relatively intuitive conversion between the XML representation and the JSON-LD representation. It also uses things like JSON-LD's framing and compaction algorithms to ensure we can get any of the various json-ld layouts back into valid EML)

ashepherd commented 6 years ago

This is great. We can make a note of JQ as a way of doing this, and keep track of progress you are making on EML. thanks @cboettig !

smrgeoinfo commented 6 years ago

I've developed a dataCite to Schema.org transform https://github.com/earthcubearchitecture-project418/p418Docs/tree/master/DataCite2SDO, also at https://github.com/iedadata/resources/tree/master/DataCiteXMLTransforms

and ISO19139 to schema.org https://github.com/CINERGI/xmlsitemap/blob/master/ISO19139ToSchemaOrgDataset.xslt