java.lang.Object
fr.mines_stetienne.ci.sparql_generate.function.library.FUN_Property
All Implemented Interfaces:
org.apache.jena.sparql.function.Function

public final class FUN_Property extends Object implements org.apache.jena.sparql.function.Function
Binding function fun:property extracts a property from a Properties document
  • Param 1: (file): the URI of the properties document (a URI), or the properties document itself (a String);
  • Param 2: (property) the name of the property;
Author:
Maxime Lefrançois
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The SPARQL function URI.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    build(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context)
     
    org.apache.jena.sparql.expr.NodeValue
    exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • FUN_Property

      public FUN_Property()
  • Method Details

    • build

      public final void build(String uri, org.apache.jena.sparql.expr.ExprList args, org.apache.jena.sparql.util.Context context)
      Specified by:
      build in interface org.apache.jena.sparql.function.Function
    • exec

      public org.apache.jena.sparql.expr.NodeValue exec(org.apache.jena.sparql.engine.binding.Binding binding, org.apache.jena.sparql.expr.ExprList args, String uri, org.apache.jena.sparql.function.FunctionEnv env)
      Specified by:
      exec in interface org.apache.jena.sparql.function.Function