com.hp.hpl.jena.util
Class ModelQueryUtil

java.lang.Object
  extended by com.hp.hpl.jena.util.ModelQueryUtil

public class ModelQueryUtil
extends Object

A utility for using the graph query interface from a Model. Queries may be represented as models, where each statement in the model corresponds to a search for matching statements in the model being queried. Variables are represented as resources with URIs using the ficticious "jqv" protocol.

See also QueryMapper.

Author:
kers

Method Summary
static RDFNode asRDF(Model m, Node n)
           
static List<RDFNode> mappy(Model m, Domain L)
           
static com.hp.hpl.jena.util.iterator.ExtendedIterator<List<? extends RDFNode>> queryBindingsWith(Model model, Model query, Resource[] variables)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

queryBindingsWith

public static com.hp.hpl.jena.util.iterator.ExtendedIterator<List<? extends RDFNode>> queryBindingsWith(Model model,
                                                                                                        Model query,
                                                                                                        Resource[] variables)

asRDF

public static RDFNode asRDF(Model m,
                            Node n)

mappy

public static List<RDFNode> mappy(Model m,
                                  Domain L)


Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP