| Package | Description | 
|---|---|
| org.eclipse.rdf4j.model.util | Helper classes for working with RDF models. | 
| Modifier and Type | Method and Description | 
|---|---|
| ModelBuilder | ModelBuilder. add(IRI predicate,
   Object object)Add an RDF statement with the predicate and object to the model, using the current subject and graph (either
 named or default). | 
| ModelBuilder | ModelBuilder. add(Resource subject,
   IRI predicate,
   Object object)Add an RDF statement with the given subject, predicate and object to the model, using the current graph (either
 named or default). | 
| ModelBuilder | ModelBuilder. add(String subject,
   IRI predicate,
   Object object)Add an RDF statement with the given subject, predicate and object to the model, using the current graph (either
 named or default). | 
| ModelBuilder | ModelBuilder. add(String predicate,
   Object object)Add an RDF statement with the predicate and object to the model, using the current subject and graph (either
 named or default). | 
| ModelBuilder | ModelBuilder. add(String subject,
   String predicate,
   Object object)Add an RDF statement with the given subject, predicate and object to the model, using the current graph (either
 named or default). | 
| ModelBuilder | ModelBuilder. defaultGraph()Set the current graph in which to add new statements to the default graph. | 
| ModelBuilder | ModelBuilder. namedGraph(Resource namedGraph)Set the current graph in which to add new statements to the supplied named graph. | 
| ModelBuilder | ModelBuilder. namedGraph(String prefixedNameOrIRI)Set the current graph in which to add new statements to the supplied named graph. | 
| ModelBuilder | ModelBuilder. setNamespace(Namespace ns)Set the supplied  Namespacemapping. | 
| ModelBuilder | ModelBuilder. setNamespace(String prefix,
            String namespace)Set the namespace mapping defined by the supplied prefix and name | 
| ModelBuilder | ModelBuilder. subject(Resource subject)Set the subject resource about which statements are to be added to the model. | 
| ModelBuilder | ModelBuilder. subject(String prefixedNameOrIri)Set the subject about which statements are to be added to the model, defined by a prefixed name or an IRI
 reference. | 
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.