ropensci / emld

:package: JSON-LD representation of EML
https://docs.ropensci.org/emld
Other
13 stars 6 forks source link

Define Frame & Context #6

Closed cboettig closed 6 years ago

cboettig commented 6 years ago

Currently context is just a default vocabulary

(Though in this case compacting may be sufficient since it is possible there are not many tree representations possible. <references> elements should become explicit as @ids. Though in EML both the referenced and embedded versions are valid.)

cboettig commented 6 years ago

a frame and context are now implemented. This lets us roundtrip from RDF back into valid EML. See examples in RDF tests: https://github.com/cboettig/emld/blob/master/tests/testthat/test-rdf-roundtrip.R