Class IsTripleFunction

  • All Implemented Interfaces:
    Function

    public class IsTripleFunction
    extends Object
    implements Function
    Function that return "true"^^xsd:boolean if its argument is RDF-star Triple otherwise return "false"^^xsd:boolean the function's IRI uses RDF namespace to match the other functions in the package
    Author:
    damyan.ognyanov
    • Constructor Detail

      • IsTripleFunction

        public IsTripleFunction()
    • Method Detail

      • evaluate

        public org.eclipse.rdf4j.model.Value evaluate​(org.eclipse.rdf4j.model.ValueFactory vf,
                                                      org.eclipse.rdf4j.model.Value... args)
                                               throws ValueExprEvaluationException
        Description copied from interface: Function
        Evaluate the function over the supplied input arguments, using the supplied ValueFactory to produce the result.
        Specified by:
        evaluate in interface Function
        Parameters:
        vf - a ValueFactory to use for producing the function result.
        args - the function input arguments.
        Returns:
        the function result value.
        Throws:
        ValueExprEvaluationException