com.hp.hpl.jena.util
Class ModelQueryUtil

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

public class ModelQueryUtil
extends java.lang.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 java.util.List mappy(Model m, java.lang.Object x)
           
static ExtendedIterator 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 ExtendedIterator queryBindingsWith(Model model,
                                                 Model query,
                                                 Resource[] variables)

asRDF

public static RDFNode asRDF(Model m,
                            Node n)

mappy

public static java.util.List mappy(Model m,
                                   java.lang.Object x)


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