geneontology / gocamgen

Base repo for constructing GO-CAM model RDF
0 stars 0 forks source link

Write translated models out in N-Quads format #82

Closed dustine32 closed 3 years ago

dustine32 commented 4 years ago

To help reduce number of files involved in the MOD import pipeline, add an option to compile all models into one file in N-Quads format. The rdflib module already used by gocamgen has code to do this. These files should be compatible for loading into a blazegraph journal for use by Minerva and especially for ShEx validation.

Note I'm implementing this here only to get working files for testing downstream ShEx validation in the pipeline context. The N-Quads output code will be ported over to ontobio, which is currently in progress.

dustine32 commented 3 years ago

With https://github.com/biolink/ontobio/commit/b7afd31ff371e728cd9a92448a1296a3bbc295e8 I've been able to consistently translate multiple models, output into a single Nquads file, and test in Noctua.