Package | Description |
---|---|
org.openrdf.model |
RDF model interfaces.
|
org.openrdf.model.impl |
Default implementations of the RDF model interfaces.
|
org.openrdf.model.util | |
org.openrdf.query |
Interfaces and classes for handling queries and query results.
|
org.openrdf.rio |
General classes and interfaces for RDF parsers and RDF writers.
|
org.openrdf.rio.rdfjson | |
org.openrdf.sail.inferencer.fc |
Forward-chaining inferencers, implemented as StackableSails.
|
org.openrdf.sail.model |
Modifier and Type | Method and Description |
---|---|
protected abstract Model |
ModelEqualityTest.createEmptyModel() |
Model |
ModelFactory.createEmptyModel() |
Model |
Model.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Returns a view of the statements with the specified subject, predicate,
object and (optionally) context.
|
protected abstract Model |
ModelNamespacesTest.getModelImplementation()
Implementing tests must return a new, empty, Model for each call to this
method.
|
abstract Model |
ModelTest.makeEmptyModel() |
Model |
Model.unmodifiable()
Returns an unmodifiable view of this model.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractModel
Provides basic operations that are common to all Models.
|
class |
EmptyModel
Blocks access to the statements of the model, allowing only changes to the
model's namespaces.
|
class |
FilteredModel
Applies a basic graph pattern filter to what triples can be see.
|
class |
LinkedHashModel
Hash table based implementation of the
Model interface. |
class |
TreeModel
A Red-Black tree based
Model implementation. |
Modifier and Type | Method and Description |
---|---|
Model |
FilteredModel.filter(Resource s,
URI p,
Value o,
Resource... c) |
Model |
LinkedHashModel.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
Model |
EmptyModel.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
Model |
TreeModel.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
Model |
AbstractModel.unmodifiable() |
Constructor and Description |
---|
EmptyModel(Model model) |
LinkedHashModel(Model model) |
TreeModel(Model model) |
Modifier and Type | Method and Description |
---|---|
static Model |
Models.setProperty(Model m,
Resource subject,
URI property,
Value value,
Resource... contexts)
Sets the property value for the given subject to the given object value,
replacing any existing value(s) for the subject's property.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Models.anyObject(Model m)
Retrieves any object value from the given model.
|
static Literal |
Models.anyObjectLiteral(Model m)
Retrieves any object Literal value from the given model.
|
static Resource |
Models.anyObjectResource(Model m)
Retrieves any object Resource value from the given model.
|
static URI |
Models.anyObjectURI(Model m)
Retrieves any object URI value from the given model.
|
static URI |
Models.anyPredicate(Model m)
Retrieves any predicate from the given model.
|
static Resource |
Models.anySubject(Model m)
Retrieves any subject from the given model.
|
static BNode |
Models.anySubjectBNode(Model m)
Retrieves any subject BNode from the given model.
|
static URI |
Models.anySubjectURI(Model m)
Retrieves any subject URI from the given model.
|
static Model |
Models.setProperty(Model m,
Resource subject,
URI property,
Value value,
Resource... contexts)
Sets the property value for the given subject to the given object value,
replacing any existing value(s) for the subject's property.
|
Modifier and Type | Method and Description |
---|---|
static Model |
QueryResults.asModel(GraphQueryResult gqr)
Get a
Model containing all elements obtained from the specified
query result. |
Modifier and Type | Method and Description |
---|---|
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally
to one or more named contexts. |
static Model |
Rio.parse(InputStream in,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
Adds RDF data from an
InputStream to a Model , optionally
to one or more named contexts. |
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
ParserConfig settings,
ValueFactory valueFactory,
ParseErrorListener errors,
Resource... contexts)
|
static Model |
Rio.parse(Reader reader,
String baseURI,
RDFFormat dataFormat,
Resource... contexts)
|
Modifier and Type | Method and Description |
---|---|
protected abstract InputStream |
AbstractParserHandlingTest.getKnownDatatypeStream(Model knownDatatypeStatements) |
protected abstract InputStream |
AbstractParserHandlingTest.getKnownLanguageStream(Model knownLanguageStatements) |
protected abstract InputStream |
AbstractParserHandlingTest.getUnknownDatatypeStream(Model unknownDatatypeStatements)
Returns an
InputStream containing the given RDF statements in a
format that is recognised by the RDFParser returned by
AbstractParserHandlingTest.getParser() . |
protected abstract InputStream |
AbstractParserHandlingTest.getUnknownLanguageStream(Model unknownLanguageStatements) |
Modifier and Type | Method and Description |
---|---|
static void |
RDFJSONWriter.modelToRdfJsonInternal(Model graph,
WriterConfig writerConfig,
com.fasterxml.jackson.core.JsonGenerator jg) |
Modifier and Type | Method and Description |
---|---|
protected abstract Model |
AbstractForwardChainingInferencerConnection.createModel() |
protected Model |
AbstractForwardChainingInferencerConnection.prepareIteration() |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
AbstractForwardChainingInferencerConnection.applyRules(Model iteration) |
Modifier and Type | Class and Description |
---|---|
class |
SailModel
Model implementation for a
SailConnection . |
Modifier and Type | Method and Description |
---|---|
Model |
SailModel.filter(Resource subj,
URI pred,
Value obj,
Resource... contexts) |
Copyright © 2001–2016 Aduna. All rights reserved.