org.aksw.commons.jena.util
Class QueryUtils

java.lang.Object
  extended by org.aksw.commons.jena.util.QueryUtils

public class QueryUtils
extends Object


Constructor Summary
QueryUtils()
           
 
Method Summary
static com.hp.hpl.jena.query.Query elementToQuery(com.hp.hpl.jena.sparql.syntax.Element pattern)
           
static com.hp.hpl.jena.query.Query elementToQuery(com.hp.hpl.jena.sparql.syntax.Element pattern, String resultVar)
           
static Set<com.hp.hpl.jena.sparql.core.Quad> instanciate(Iterable<com.hp.hpl.jena.sparql.core.Quad> quads, com.hp.hpl.jena.sparql.engine.binding.Binding binding)
          This method does basically the same as com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execConstruct and SparqlerBaseSelect note sure if it is redundant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryUtils

public QueryUtils()
Method Detail

elementToQuery

public static com.hp.hpl.jena.query.Query elementToQuery(com.hp.hpl.jena.sparql.syntax.Element pattern,
                                                         String resultVar)
Parameters:
pattern - a pattern of a where-clause
resultVar - an optional result variable (used for describe queries)
Returns:

elementToQuery

public static com.hp.hpl.jena.query.Query elementToQuery(com.hp.hpl.jena.sparql.syntax.Element pattern)

instanciate

public static Set<com.hp.hpl.jena.sparql.core.Quad> instanciate(Iterable<com.hp.hpl.jena.sparql.core.Quad> quads,
                                                                com.hp.hpl.jena.sparql.engine.binding.Binding binding)
This method does basically the same as com.hp.hpl.jena.sparql.engine.QueryExecutionBase.execConstruct and SparqlerBaseSelect note sure if it is redundant

Parameters:
quads -
binding -
Returns:


Copyright © 2012. All Rights Reserved.