I am writing a little performance benchmark test to ascertain the overhead in determining whether a given update is a valid. It was recommended before on this forum that the best way to do this efficiently is create a new OntModel A, have it import the associated ontology, then perform the few updates in this new OntModel A, and then call A.validate().isValid().
Is an imported model simply a submodel, added by just calling the add method? I don’t see any specific method for importing a model, but some documentation suggests that a submodel is an imported model. When the A.validate() is called, it is just going to validate model A, or will it also validate the submodel, which would include the potentially large associated ontology? David Jordan Senior Software Developer SAS Institute Inc. Health & Life Sciences, Research & Development Bldg R ▪ Office 4467 600 Research Drive ▪ Cary, NC 27513 Tel: 919 531 1233 ▪ [email protected]<mailto:[email protected]> www.sas.com<http://www.sas.com/> SAS® … THE POWER TO KNOW®
