Class GraphDirective

java.lang.Object
org.aksw.jenax.graphql.sparql.v2.context.Cascadable
org.aksw.jenax.graphql.sparql.v2.context.GraphDirective

public class GraphDirective extends Cascadable
Intended uses:
  • @graph(iri: "http://foo") -> GRAPH <http://foo> { }
  • @graph(var: "g") -> GRAPH ?g { }
  • Not yet supported: @graph(iri: ["foo", "bar"]) -> GRAPH ?allocVar { } FILTER(?allocVar IN (<foo>, <bar>))
var and iri would result in FILTER(var = iri)
  • Field Details

    • varName

      protected String varName
    • graphIris

      protected List<String> graphIris
  • Constructor Details

    • GraphDirective

      public GraphDirective(String varName, List<String> graphIris, boolean isSelf, boolean isCascade)
  • Method Details

    • getVarName

      public String getVarName()
    • getGraphIris

      public List<String> getGraphIris()