-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SemanticArtefactCatalog for the mod-api implementation #184
Comments
Maybe also mention the elements discussed related to :
|
This need to be done before merging, #183 (comment) |
done here: e7a0e8f |
@imadbourouche ,the code you added, do the sum of all the metrics, not only the latest submission of each ontology metrics. |
@syphax-bouazzouni , but this will give wrong metrics no ? for example numberOfClasses will be more even the number of classes is the same in all submissions, so if submissions in ontology has number of classes is 30 and we have 3 submissions, if we do the sum of all submissions we will have 90 classes which are in fact just 30 or i'm wrong ? |
@imadbourouche exactly, but your code is doing the inverse, When you do [...
#<LinkedData::Models::Metric:0x00007f304ac9a690
@aggregates=nil,
@classes=37,
@id=#<RDF::URI:0x852a0 URI:http://data.bioontology.org/ontologies/AFEO/submissions/1/metrics>,
@loaded_attributes=#<Set: {:classes}>,
@modified_attributes=#<Set: {}>,
@persistent=true,
@previous_values=nil,
@unmapped=nil>,
#<LinkedData::Models::Metric:0x00007f304abbc700
@aggregates=nil,
@classes=68,
@id=#<RDF::URI:0x852b4 URI:http://data.bioontology.org/ontologies/AFEO/submissions/11/metrics>,
@loaded_attributes=#<Set: {:classes}>,
@modified_attributes=#<Set: {}>,
@persistent=true,
@previous_values=nil,
@unmapped=nil>,
#<LinkedData::Models::Metric:0x00007f304ad780f8
@aggregates=nil,
@classes=145,
@id=#<RDF::URI:0x852c8 URI:http://data.bioontology.org/ontologies/AFEO/submissions/12/metrics>,
@loaded_attributes=#<Set: {:classes}>,
@modified_attributes=#<Set: {}>,
@persistent=true,
@previous_values=nil,
...] |
Context
We need to implement a model to define the SemanticArtefactCatalog that will represent the catalog and the portal configurations.
Requirements
/
route.References
The text was updated successfully, but these errors were encountered: