SemBioProcess / SemGen

A tool for semantics-based annotation and composition of biosimulation models
18 stars 3 forks source link

Making AbstractRDFWriter methods public #307

Closed 0u812 closed 5 years ago

0u812 commented 5 years ago

I'd like to make some of the AbstractRDFWriter (and subclass) methods public so that I can use them from Python. Specifically, I'm looking at using them from CASAWriter to get the generated RDF. I'm still figuring out the SemGen API but my understanding is that these methods add various categories of annotations to the RDF graph.

My idea is to create a CASAWriter and call the following methods on it:

setRDFforModelLevelAnnotations
setRDFforDataStructureAnnotations
setRDFforSemSimSubmodelAnnotations

Then I should be able to get the rdf graph containing all the annotations if my understanding is right.