Class ModelExtract

  • public class ModelExtract
    extends java.lang.Object
    ModelExtract - a wrapper for GraphExtract, allowing rooted sub-models to be extracted from other models with some boundary condition.
    • Constructor Detail

      • ModelExtract

        public ModelExtract​(StatementBoundary b)
        Initialise this ModelExtract with a boundary condition.
    • Method Detail

      • extractInto

        public Model extractInto​(Model model,
                                 Resource r,
                                 Model s)
        Answer model after updating it with the sub-graph of s rooted at r, bounded by this instances boundary.