G-Node / python-odml

odML libraries
http://g-node.github.io/python-odml/
BSD 4-Clause "Original" or "Old" License
24 stars 30 forks source link

Make RDF subclassing optional #394

Closed mpsonntag closed 4 years ago

mpsonntag commented 4 years ago

Currently the RDFWriter always uses the odml.resources.section_subclasses.yaml when exporting an odml document to RDF.

Add a rdf_subclass=True flag to the RDFWriter and ensure that the RDF Subclassing feature is not used if the RDFWriter is run with flag rdf_subclass=False.