use of org.apache.jena.shacl.engine.Parameter in project jena by apache.
the class ConstraintComponents method constraintParameterValues.
private static Multimap<Parameter, Node> constraintParameterValues(Graph shapesGraph, Node shNode, SparqlComponent scc) {
Node nodeValidatorNode = G.getZeroOrOneSP(shapesGraph, shNode, SHACL.nodeValidator);
Node propertyValidatorNode = G.getZeroOrOneSP(shapesGraph, shNode, SHACL.propertyValidator);
Node validatorNode = G.getZeroOrOneSP(shapesGraph, shNode, SHACL.validator);
Node vNode = firstNonNull(nodeValidatorNode, propertyValidatorNode, validatorNode);
Multimap<Parameter, Node> parameterValues = Parameters.parameterValues(shapesGraph, shNode, scc);
return parameterValues;
}
Aggregations