Class ValuesPFunction

java.lang.Object
org.apache.jena.sparql.pfunction.PropertyFunctionBase
org.topbraid.shacl.arq.functions.ValuesPFunction
All Implemented Interfaces:
org.apache.jena.sparql.pfunction.PropertyFunction

public class ValuesPFunction extends org.apache.jena.sparql.pfunction.PropertyFunctionBase
The property function tosh:values. Binds the variable on the right hand side with all values of a given predicate at a given focus node, including any values inferred by sh:values statements. (?focusNode ?predicate) tosh:values ?result . Also works for some cases if the right hand side is concrete.
Author:
Holger Knublauch
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.engine.QueryIterator
    exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.pfunction.PropFuncArg argSubject, org.apache.jena.graph.Node predicate, org.apache.jena.sparql.pfunction.PropFuncArg argObject, org.apache.jena.sparql.engine.ExecutionContext execCxt)
     

    Methods inherited from class org.apache.jena.sparql.pfunction.PropertyFunctionBase

    build, exec

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ValuesPFunction

      public ValuesPFunction()
  • Method Details

    • exec

      public org.apache.jena.sparql.engine.QueryIterator exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.pfunction.PropFuncArg argSubject, org.apache.jena.graph.Node predicate, org.apache.jena.sparql.pfunction.PropFuncArg argObject, org.apache.jena.sparql.engine.ExecutionContext execCxt)
      Specified by:
      exec in class org.apache.jena.sparql.pfunction.PropertyFunctionBase