Uses of Interface
org.eclipse.rdf4j.model.Model
Package
Description
The RDF Model API
Default implementations of the RDF model interfaces
Helper classes for working with RDF models.
Interfaces and classes for handling queries and query results.
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
Repository configuration interfaces.
Rio: The RDF4J parser/writer API.
Provides helpers classes for Rio.
Parser/writer for the RDF/JSON format.
Parser/writer for the Turtle format.
Forward-chaining inferencers, implemented as
StackableSail
s.Copyright (c) 2019 Eclipse RDF4J contributors.
A Sail implementation for SHACL constraint checking.
-
Uses of Model in org.eclipse.rdf4j.common.exception
-
Uses of Model in org.eclipse.rdf4j.federated
Modifier and TypeMethodDescriptionFedXFactory.withMembers
(Model model) Initialize the federation with members from the model. -
Uses of Model in org.eclipse.rdf4j.federated.endpoint
Modifier and TypeMethodDescriptionEndpointFactory.loadFederationMembers
(Model members, File baseDir) Utility function to load federation members from a model. -
Uses of Model in org.eclipse.rdf4j.federated.endpoint.provider
Modifier and TypeMethodDescriptionprotected boolean
SPARQLRepositoryInformation.hasAdditionalSettings
(Model graph, Resource repNode) protected void
NativeRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
RemoteRepositoryRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
ResolvableRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
SPARQLRepositoryInformation.initialize
(Model graph, Resource repNode) ModifierConstructorDescriptionNativeRepositoryInformation
(Model graph, Resource repNode) RemoteRepositoryRepositoryInformation
(Model graph, Resource repNode) ResolvableRepositoryInformation
(Model graph, Resource repNode) SPARQLRepositoryInformation
(Model graph, Resource repNode) -
Uses of Model in org.eclipse.rdf4j.federated.repository
-
Uses of Model in org.eclipse.rdf4j.http.client.shacl
-
Uses of Model in org.eclipse.rdf4j.http.server.repository.resolver
Modifier and TypeMethodDescriptionDefaultRepositoryResolver.getRepositoryConfig
(String repId, Model model) RepositoryResolver.getRepositoryConfig
(String repId, Model model) -
Uses of Model in org.eclipse.rdf4j.model
Modifier and TypeMethodDescriptionModelFactory.createEmptyModel()
Returns a filtered view of the statements with the specified subject, predicate, object and (optionally) context.Model.unmodifiable()
Returns an unmodifiable view of this model. -
Uses of Model in org.eclipse.rdf4j.model.impl
Modifier and TypeClassDescriptionclass
Provides basic operations that are common to all Models.class
A LinkedHashModel or a TreeModel achieves fast data access at the cost of higher indexing time.class
Blocks access to the statements of the model, allowing only changes to the model's namespaces.class
Applies a basic graph pattern filter to what triples can be see.class
Hash table based implementation of theModel
interface.class
A Red-Black tree basedModel
implementation. -
Uses of Model in org.eclipse.rdf4j.model.util
Modifier and TypeMethodDescriptionModelBuilder.build()
Return the createdModel
static Model
Models.convertRDFStarToReification
(Model model) Converts the statements in the supplied RDF-star model to a new RDF model using reification.static Model
Models.convertRDFStarToReification
(ValueFactory vf, Model model) Converts the statements in supplied RDF-star model to a new RDF model using reificiation.static Model
Models.convertRDFStarToReification
(ValueFactory vf, Model model, ModelFactory modelFactory) Converts the statements in supplied RDF-star model to a new RDF model using reificiation.static Model
Models.convertReificationToRDFStar
(Model model) Converts the supplied RDF reification model to a new RDF-star model.static Model
Models.convertReificationToRDFStar
(ValueFactory vf, Model model) Converts the statements in supplied RDF reification model to a new RDF-star model.static Model
Models.convertReificationToRDFStar
(ValueFactory vf, Model model, ModelFactory modelFactory) Converts the statements in supplied RDF reification model to a new RDF-star model.static Model
Sets the property value for the given subject to the given object value, replacing any existing value(s) for the subject's property.static Model
Models.stripContexts
(Model model, Resource... contexts) Strips contexts from the input model.static Model
Models.synchronizedModel
(Model toSynchronize) Make a model thread-safe by synchronizing all its methods.Modifier and TypeMethodDescriptionModelCollector.accumulator()
ModelCollector.combiner()
ModelCollector.finisher()
ModelCollector.finisher()
ModelCollector.supplier()
Modifier and TypeMethodDescriptionstatic <C extends Collection<Value>>
CConverts an RDF Collection to a JavaCollection
ofValue
objects.static void
RDFCollections.consumeValues
(Model m, Resource head, Consumer<Value> consumer, Resource... contexts) static void
RDFContainers.consumeValues
(Model m, Resource container, IRI containerType, Consumer<Value> consumer, Resource... contexts) static Model
Models.convertRDFStarToReification
(Model model) Converts the statements in the supplied RDF-star model to a new RDF model using reification.static void
Models.convertRDFStarToReification
(Model model, Consumer<Statement> consumer) Converts the supplied RDF-star model to RDF reification statements.static Model
Models.convertRDFStarToReification
(ValueFactory vf, Model model) Converts the statements in supplied RDF-star model to a new RDF model using reificiation.static void
Models.convertRDFStarToReification
(ValueFactory vf, Model model, Consumer<Statement> consumer) Converts the supplied RDF-star model to RDF reification statements.static Model
Models.convertRDFStarToReification
(ValueFactory vf, Model model, ModelFactory modelFactory) Converts the statements in supplied RDF-star model to a new RDF model using reificiation.static Model
Models.convertReificationToRDFStar
(Model model) Converts the supplied RDF reification model to a new RDF-star model.static void
Models.convertReificationToRDFStar
(Model model, Consumer<Statement> consumer) Converts the supplied RDF reification model to RDF-star statements.static Model
Models.convertReificationToRDFStar
(ValueFactory vf, Model model) Converts the statements in supplied RDF reification model to a new RDF-star model.static void
Models.convertReificationToRDFStar
(ValueFactory vf, Model model, Consumer<Statement> consumer) Converts the supplied RDF reification model to RDF-star statements.static Model
Models.convertReificationToRDFStar
(ValueFactory vf, Model model, ModelFactory modelFactory) Converts the statements in supplied RDF reification model to a new RDF-star model.static void
RDFCollections.extract
(Model sourceModel, Resource head, Consumer<Statement> consumer, Resource... contexts) Extracts the RDF Collection starting with suppliedhead
resource from the supplied sourceModel
and sends the statements that make up the collection to the suppliedConsumer
.static void
RDFContainers.extract
(IRI containerType, Model sourceModel, Resource container, Consumer<Statement> consumer, Resource... contexts) Extracts the RDF Container starting with suppliedhead
resource from the supplied sourceModel
and sends the statements that make up the collection to the suppliedConsumer
.static <C extends Collection<Statement>>
CRDFCollections.getCollection
(Model sourceModel, Resource head, C sink, Resource... contexts) Extracts the RDF Collection starting with the suppliedhead
resource from the supplied sourceModel
.static <C extends Collection<Statement>>
CRDFContainers.getContainer
(IRI containerType, Model sourceModel, Resource container, C sink, Resource... contexts) Models.getProperties
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property values for the supplied subject and property from the given model.Models.getProperty
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value for the supplied subject from the given model.Models.getPropertyIRI
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as an IRI for the supplied subject from the given model.Models.getPropertyIRIs
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property IRI values for the supplied subject and property from the given model.Models.getPropertyLiteral
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as aLiteral
for the supplied subject from the given model.Models.getPropertyLiterals
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Literal values for the supplied subject and property from the given model.Models.getPropertyResource
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as an IRI for the supplied subject from the given model.Models.getPropertyResources
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Resource values for the supplied subject and property from the given model.Models.getPropertyString
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as a String for the supplied subject from the given model.Models.getPropertyStrings
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property values as Strings for the supplied subject and property from the given model.Retrieves an objectValue
from the statements in the given model.Retrieves an objectIRI
value from the supplied statements in the given model.Models.objectIRIs
(Model m) Retrieves all objectIRI
values from the statements in the given model.Models.objectLiteral
(Model m) Retrieves an objectLiteral
value from the statements in the given model.Models.objectLiterals
(Model m) Retrieves all objectLiteral
values from the statements in the given model.Models.objectResource
(Model m) Retrieves an objectResource
value from the statements in the given model.Models.objectResources
(Model m) Retrieves all objectResource
values from the supplied model.Models.objectString
(Model m) Retrieves an object value as a String from the statements in the given model.Models.objectStrings
(Model m) Retrieves all object String values from the statements in the given model.Retrieves a predicate from the statements in the given model.static Model
Sets the property value for the given subject to the given object value, replacing any existing value(s) for the subject's property.static Model
Models.stripContexts
(Model model, Resource... contexts) Strips contexts from the input model.Retrieves a subjectResource
from the statements in the given model.Models.subjectBNode
(Model m) Retrieves a subjectBNode
from the statements in the given model.Models.subjectBNodes
(Model m) Retrieves all subjectBNode
s from the statements in the given model.Models.subjectIRI
(Model m) Retrieves a subjectIRI
from the statements in the given model.Models.subjectIRIs
(Model m) Retrieves all subjectIRI
s from the statements in the given model.static Model
Models.synchronizedModel
(Model toSynchronize) Make a model thread-safe by synchronizing all its methods.static <C extends Collection<Value>>
CRDFContainers.toValues
(IRI containerType, Model m, Resource container, C collection, Resource... contexts) Converts an RDF Containter to a JavaCollection
ofValue
objects.ModifierConstructorDescriptionModelBuilder
(Model model) Create a newModelBuilder
which will append to the suppliedModel
. -
Uses of Model in org.eclipse.rdf4j.query
Modifier and TypeMethodDescriptionstatic Model
QueryResults.asModel
(CloseableIteration<? extends Statement, ? extends RDF4JException> iteration) Get aModel
containing all elements obtained from the specified query result.static Model
QueryResults.asModel
(CloseableIteration<? extends Statement, ? extends RDF4JException> iteration, ModelFactory modelFactory) Get aModel
containing all elements obtained from the specified query result. -
Uses of Model in org.eclipse.rdf4j.query.dawg
Modifier and TypeMethodDescriptionstatic Model
DAWGTestResultSetUtil.toGraph
(TupleQueryResult tqr) -
Uses of Model in org.eclipse.rdf4j.repository.config
Modifier and TypeMethodDescriptionstatic Model
RepositoryConfigUtil.getRepositoryConfigModel
(Model model, String repositoryID) Modifier and TypeMethodDescriptionstatic RepositoryImplConfig
Utility method to create a newRepositoryImplConfig
by reading data from the suppliedModel
.static RepositoryConfig
Creates a newRepositoryConfig
object and initializes it by supplying themodel
andrepositoryNode
to itsparse
method.void
Deprecated.void
Exports the configuration into RDF using the given repositoryNodeExport thisRepositoryImplConfig
to its RDF representationstatic RepositoryConfig
RepositoryConfigUtil.getRepositoryConfig
(Model model, String repositoryID) static Model
RepositoryConfigUtil.getRepositoryConfigModel
(Model model, String repositoryID) RepositoryConfigUtil.getRepositoryIDs
(Model model) void
void
void
void
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly. -
Uses of Model in org.eclipse.rdf4j.repository.contextaware.config
-
Uses of Model in org.eclipse.rdf4j.repository.http.config
-
Uses of Model in org.eclipse.rdf4j.repository.sail.config
-
Uses of Model in org.eclipse.rdf4j.repository.sparql.config
-
Uses of Model in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionstatic Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) static Model
static Model
Rio.parse
(Reader reader, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) -
Uses of Model in org.eclipse.rdf4j.rio.helpers
Modifier and TypeMethodDescriptionprotected Model
BufferedGroupingRDFHandler.getBufferedStatements()
-
Uses of Model in org.eclipse.rdf4j.rio.rdfjson
Modifier and TypeMethodDescriptionstatic void
RDFJSONWriter.modelToRdfJsonInternal
(Model graph, WriterConfig writerConfig, com.fasterxml.jackson.core.JsonGenerator jg) -
Uses of Model in org.eclipse.rdf4j.rio.turtle
-
Uses of Model in org.eclipse.rdf4j.sail.base.config
-
Uses of Model in org.eclipse.rdf4j.sail.config
Modifier and TypeMethodDescriptionvoid
void
void
static SailImplConfig
SailConfigUtil.parseRepositoryImpl
(Model m, Resource implNode) -
Uses of Model in org.eclipse.rdf4j.sail.elasticsearchstore.config
-
Uses of Model in org.eclipse.rdf4j.sail.inferencer.fc
Modifier and TypeMethodDescriptionprotected abstract Model
AbstractForwardChainingInferencerConnection.createModel()
protected Model
AbstractForwardChainingInferencerConnection.prepareIteration()
Modifier and TypeMethodDescriptionprotected abstract int
AbstractForwardChainingInferencerConnection.applyRules
(Model iteration) Returns the number of newly inferred statements. -
Uses of Model in org.eclipse.rdf4j.sail.inferencer.fc.config
-
Uses of Model in org.eclipse.rdf4j.sail.lmdb.config
-
Uses of Model in org.eclipse.rdf4j.sail.lucene.config
-
Uses of Model in org.eclipse.rdf4j.sail.memory.config
-
Uses of Model in org.eclipse.rdf4j.sail.model
-
Uses of Model in org.eclipse.rdf4j.sail.nativerdf.config
-
Uses of Model in org.eclipse.rdf4j.sail.shacl
Modifier and TypeMethodDescriptionShaclSailValidationReportHelper.getValidationReport
(Throwable t) Looks for aValidationException
starting with the specified throwable and working back through the cause references, and returns the validation report as aModel
if one is found. -
Uses of Model in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Modifier and TypeMethodDescriptionvoid
AndConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClassConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClosedConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DashHasValueInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DatatypeConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DisjointConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
EqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
HasValueConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
InConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LanguageInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanOrEqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NodeKindConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NotConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
OrConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
PatternConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
UniqueLangConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
XoneConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) -
Uses of Model in org.eclipse.rdf4j.sail.shacl.ast.paths
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
-
Uses of Model in org.eclipse.rdf4j.sail.shacl.ast.targets
-
Uses of Model in org.eclipse.rdf4j.sail.shacl.config
-
Uses of Model in org.eclipse.rdf4j.sail.shacl.results
Modifier and TypeMethodDescriptionValidationReport.asModel()
Deprecated.Deprecated.Deprecated.Deprecated. -
Uses of Model in org.eclipse.rdf4j.sail.shacl.results.lazy
-
Uses of Model in org.eclipse.rdf4j.sail.shacl.wrapper.shape
-
Uses of Model in org.eclipse.rdf4j.spring.dao.support.operation
-
Uses of Model in org.eclipse.rdf4j.testsuite.model
Modifier and TypeMethodDescriptionprotected abstract Model
ModelNamespacesTest.getModelImplementation()
Implementing tests must return a new, empty, Model for each call to this method.protected Model
ModelTest.getNewEmptyModel()
Helper method that asserts that the returned model is empty before returning.protected abstract Model
ModelTest.getNewModel()
protected Model
ModelTest.getNewModelObjectDoubleBNode()
protected Model
ModelTest.getNewModelObjectDoubleLiteral()
protected Model
ModelTest.getNewModelObjectDoubleURI()
protected Model
ModelTest.getNewModelObjectSingleBNode()
protected Model
ModelTest.getNewModelObjectSingleBNodeDoubleLiteral()
protected Model
ModelTest.getNewModelObjectSingleBNodeDoubleURI()
protected Model
ModelTest.getNewModelObjectSingleLiteral()
protected Model
ModelTest.getNewModelObjectSingleLiteralDoubleBNode()
protected Model
ModelTest.getNewModelObjectSingleLiteralDoubleURI()
protected Model
ModelTest.getNewModelObjectSingleLiteralSingleBNode()
protected Model
ModelTest.getNewModelObjectSingleLiteralSingleURI()
protected Model
protected Model
ModelTest.getNewModelObjectSingleURI()
protected Model
ModelTest.getNewModelObjectSingleURIDoubleBNode()
protected Model
ModelTest.getNewModelObjectSingleURIDoubleLiteral()
protected Model
ModelTest.getNewModelObjectSingleURISingleBNode()
protected Model
ModelTest.getNewModelObjectTripleBNode()
protected Model
ModelTest.getNewModelObjectTripleLiteral()
protected Model
ModelTest.getNewModelObjectTripleURI()
protected Model
ModelTest.getNewModelTwoContexts()
-
Uses of Model in org.eclipse.rdf4j.testsuite.shacl.manifest
Modifier and TypeFieldDescriptionprotected final Model
AbstractSHACLTest.dataGraph
Deprecated.protected final Model
AbstractSHACLTest.shapesGraph
Deprecated.Modifier and TypeMethodDescriptionprotected Repository
AbstractSHACLTest.createRepository
(Model shapesGraph) Deprecated.junit.framework.Test
SHACLManifestTestSuiteFactory.TestFactory.createSHACLTest
(String testURI, String label, Model shapesGraph, Model dataGraph, boolean failure, boolean conforms) protected void
AbstractSHACLTest.upload
(Repository rep, Model dataGraph) Deprecated.ModifierConstructorDescriptionAbstractSHACLTest
(String testURI, String label, Model shapesGraph, Model dataGraph, boolean failure, boolean conforms) Deprecated.
RepositoryConfig.export(Model, Resource)