binary-array-ld / netcdf-ld

netCDF-LD
1 stars 2 forks source link

Extracting an RDF graph from netCDF-LD #2

Open jyucsiro opened 8 years ago

jyucsiro commented 8 years ago

Given a netCDF-LD file, how does one go about extracting an RDF graph from it?

marqh commented 7 years ago

I have added some capabilities to bald to enable an rdf graph to be created using rdflib and serialised to a range of formats

see https://github.com/binary-array-ld/bald/blob/master/lib/bald/tests/integration/test_cdl_rdfgraph.py for examples via the test setup for bald

you can see an example output ttl file, which is tested, here: https://github.com/binary-array-ld/bald/blob/master/lib/bald/tests/integration/TTL/array_reference.ttl