Package io.carml.util
Class RmlConstantShorthandExpander
- java.lang.Object
-
- io.carml.util.RmlConstantShorthandExpander
-
- All Implemented Interfaces:
Function<org.eclipse.rdf4j.model.Model,org.eclipse.rdf4j.model.Model>,UnaryOperator<org.eclipse.rdf4j.model.Model>
public class RmlConstantShorthandExpander extends Object implements UnaryOperator<org.eclipse.rdf4j.model.Model>
Replaces RML constant shortcut properties by their expanded/full form. See https://www.w3.org/TR/r2rml/#constant The input model is not modified. A new model is created, populated with the result and returned. For the sake of keeping the implementation simple, all triples that match the shortcut signatures are replaced, without consideration of their position in the graph / relation to other objects.
-
-
Constructor Summary
Constructors Constructor Description RmlConstantShorthandExpander()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.rdf4j.model.Modelapply(org.eclipse.rdf4j.model.Model input)
-