Search in sources :

Example 1 with DerivedInstantiationContext

use of won.shacl2java.instantiation.DerivedInstantiationContext in project webofneeds by researchstudio-sat.

the class Shacl2JavaInstanceFactory method accessor.

/**
 * Instantiates everything found in data. Returns an {@link Accessor} object for
 * obtaining the instances.
 *
 * @param data the data to load
 */
public Accessor accessor(Graph data) {
    DerivedInstantiationContext dataContext = new DerivedInstantiationContext(data, baseInstantiationContext);
    instantiateAll(dataContext);
    return new Accessor(dataContext);
}
Also used : DerivedInstantiationContext(won.shacl2java.instantiation.DerivedInstantiationContext)

Aggregations

DerivedInstantiationContext (won.shacl2java.instantiation.DerivedInstantiationContext)1