Uses of Interface
org.apache.jena.rdf.model.Model
Packages that use Model
Package
Description
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package.A package defining some useful implementations of
ModelChangedListener, for listening to
(a) all triples added or removed, exploding composite objects,
(b) all objects added or removed, as themselves,
(c) notification of additions/removals, but no details,
and (d) accepting but ignoring all changes, as a base-class to
be extended.A package for creating and manipulating RDF graphs.
This package contains implementations of the interfaces defined
in the .model package, eg ModelCom for Model, ResourceImpl
for Resource, and so on.
A parser for RDF/XML.
The Jena2 reasoner subsystem is designed to allow a range of inference
engines to be plugged into Jena.
Provides a selection of simple rule engines for Jena inference models.
Internal implementation objects used by the rule system interpreters
and compilers.
This package contains a reasoner which supports transitive-reflexive closure
of subPropertyOf and subClassOf relations.
This package defines some classes common to the Jena API
and SPI levels, in particular the JenaException class from which
all Jena-specific exceptions hang, and the interface PrefixMapping
for translation to and from QNames.
Miscellaneous collection of utility classes.
-
Uses of Model in org.apache.jena.assembler
Methods in org.apache.jena.assembler that return ModelModifier and TypeMethodDescriptionAnswer the modelmafter filling it with the contents described by this object.static ModelAssemblerHelp.fullModel(ImportManager im, Model m) Answer the full model ofm, with all its imports included and with the necessary properties added from the JA schema.static ModelAnswer the full model ofm, with all its imports included and with the necessary properties added from the JA schema.static ModelJA.getSchema()Answer(Model) open( this, root, Mode.DEFAULT ), unless the result cannot be or is not a Model, in which case throw an exception.Answer(Model) open( this, root, mode ), unless the result cannot be or is not a Model, in which case throw an exception.ImportManager.withImports(Model model) Answermodelif it has no imports, or a union model withmodelas its base and its imported models as the other components.ImportManager.withImports(FileManager fm, Model model) Answermodelif it has no imports, or a union model withmodelas its base and its imported models as the other components.static ModelModelExpansion.withSchema(Model model, Model schema) Answer a new model which is the aggregation of the statements ofmodelthe non-bnode subclass statements ofschemathe subclass closure of those statements the rdf:type statements implied by the rdfs:domain statements ofschemaand themodelstatements using that statements property similarly for rdfs:range the rdf:type statements implied by the subclass closureMethods in org.apache.jena.assembler with parameters of type ModelModifier and TypeMethodDescriptionstatic voidModelExpansion.addSubClassClosure(Model m) Do (limited) subclass closure onm.Answer the modelmafter filling it with the contents described by this object.AssemblerHelp.findAssemblerRoots(Model model) Answer a Set of the ja:Object resources in the full expansion of the assembler specification modelmodel.AssemblerHelp.findAssemblerRoots(Model model, Resource type) Answer a Set of the objects in the full expansion of the assembler specificationmodelwhich have rdf:typetype, which must be a subtype ofja:Object.static ModelAssemblerHelp.fullModel(ImportManager im, Model m) Answer the full model ofm, with all its imports included and with the necessary properties added from the JA schema.static ModelAnswer the full model ofm, with all its imports included and with the necessary properties added from the JA schema.static voidAssemblerHelp.loadArbitraryClasses(AssemblerGroup g, Model m) Load all the classes which are objects of any (t, ja:loadClass, S) statements inm.static voidAssemblerHelp.loadAssemblerClasses(AssemblerGroup group, Model m) Load all the classes which are objects of any (t, ja:assembler, S) statements inm.static ResourceAssemblerHelp.singleModelRoot(Model singleRoot) Answer the single resource insingleRootof typeja:Model.static ResourceAssemblerHelp.singleRoot(Model singleRoot, Resource type) Answer the single resource insingleRootof typetype.ImportManager.withImports(Model model) Answermodelif it has no imports, or a union model withmodelas its base and its imported models as the other components.ImportManager.withImports(FileManager fm, Model model) Answermodelif it has no imports, or a union model withmodelas its base and its imported models as the other components.static ModelModelExpansion.withSchema(Model model, Model schema) Answer a new model which is the aggregation of the statements ofmodelthe non-bnode subclass statements ofschemathe subclass closure of those statements the rdf:type statements implied by the rdfs:domain statements ofschemaand themodelstatements using that statements property similarly for rdfs:range the rdf:type statements implied by the subclass closure -
Uses of Model in org.apache.jena.assembler.assemblers
Methods in org.apache.jena.assembler.assemblers that return ModelModifier and TypeMethodDescriptionOntModelAssembler.openEmptyModel(Assembler a, Resource root, Mode mode) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.apache.jena.assembler.assemblers with parameters of type ModelModifier and TypeMethodDescriptionvoidAssemblerGroup.ExpandingAssemblerGroup.loadClasses(Model model) -
Uses of Model in org.apache.jena.ontology
Subinterfaces of Model in org.apache.jena.ontologyModifier and TypeInterfaceDescriptioninterfaceDeprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.Methods in org.apache.jena.ontology that return ModelModifier and TypeMethodDescriptionOntModelSpec.createBaseModel()Deprecated, for removal: This API element is subject to removal in a future version.Answer a base model constructed according to this specification.OntModelSpec.doCreateModel()Deprecated, for removal: This API element is subject to removal in a future version.Create an OntModel according to this model specification.OntModel.getBaseModel()Deprecated, for removal: This API element is subject to removal in a future version.Answer the base model of this model.Answer the cached model corresponding to the given document, if known.OntModelSpec.implementCreateModelOver(String name) Deprecated, for removal: This API element is subject to removal in a future version.Create an OntModel according to this model specification.OntModel.write(OutputStream out) Deprecated, for removal: This API element is subject to removal in a future version.Write a serialization of this model as an XML document.OntModel.write(OutputStream out, String lang) Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of this model in a specified language.OntModel.write(OutputStream out, String lang, String base) Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of a model in a specified language.Deprecated, for removal: This API element is subject to removal in a future version.Write the model as an XML document.Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of a model in a specified language.Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of a model in a specified language.OntModel.writeAll(OutputStream out, String lang) Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of all of the contents of the model, including inferred statements and statements imported from other documents.OntModel.writeAll(OutputStream out, String lang, String base) Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of all of the contents of the model, including inferred statements and statements imported from other documents.Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of all of the contents of the model, including inferred statements and statements imported from other documents.Deprecated, for removal: This API element is subject to removal in a future version.Write a serialized representation of all of the contents of the model, including inferred statements and statements imported from other documents.Methods in org.apache.jena.ontology with parameters of type ModelModifier and TypeMethodDescriptionvoidAdd an entry thatmodelis the appropriate model to use for the given ontology document.voidAdd an entry thatmodelis the appropriate model to use for the given ontology documentvoidOntModel.addSubModel(Model model) Deprecated, for removal: This API element is subject to removal in a future version.Add the given model as one of the sub-models of the enclosed ontology union model.voidOntModel.addSubModel(Model model, boolean rebind) Deprecated, for removal: This API element is subject to removal in a future version.Add the given model as one of the sub-models of the enclosed ontology union model.voidOntDocumentManager.DefaultReadHook.afterRead(Model model, String source, OntDocumentManager odm) voidOntDocumentManager.ReadHook.afterRead(Model model, String source, OntDocumentManager odm) Behaviour that is invoked just after the contents of the given source (URI or filename) have been read into the given model.static OntModelSpecDeprecated, for removal: This API element is subject to removal in a future version.Answer the OntModelSpec described using the Jena Assembler vocabulary properties of the single resource inmodelof type JA:OntModelSpec.OntDocumentManager.DefaultReadHook.beforeRead(Model model, String source, OntDocumentManager odm) OntDocumentManager.ReadHook.beforeRead(Model model, String source, OntDocumentManager odm) Behaviour that is invoked before the contents of the given source (URI or filename) are read into the given model.voidConfigure this document manager using the given configuration information, after first resetting the model back to all default values.voidConfigure this document manager according to the configuration options supplied by the given configuration model.static OntTools.PathAnswer the shortest path from thestartresource to theendRDF node, such that every step on the path is accepted by the given filter.voidOntDocumentManager.ReadFailureHandler.handleFailedRead(String url, Model model, Exception e) Behaviour to invoke when theOntDocumentManagertries and fails to read an ontology document from a given URL.voidOntModel.removeSubModel(Model model) Deprecated, for removal: This API element is subject to removal in a future version.Remove the given model as one of the sub-models of the enclosed ontology union model.voidOntModel.removeSubModel(Model model, boolean rebind) Deprecated, for removal: This API element is subject to removal in a future version.Remove the given model as one of the sub-models of the enclosed ontology union model.Constructors in org.apache.jena.ontology with parameters of type ModelModifierConstructorDescriptionOntDocumentManager(Model config) Initialise a document manager with the given configuration model.OntDocumentManager(FileManager fileMgr, Model config) Initialise a document manager with the given configuration model. -
Uses of Model in org.apache.jena.ontology.impl
Classes in org.apache.jena.ontology.impl that implement ModelModifier and TypeClassDescriptionclassImplementation of a model that can process general ontologies in OWL and similar languages.Methods in org.apache.jena.ontology.impl that return ModelModifier and TypeMethodDescriptionOntModelImpl.getBaseModel()Answer the base model of this model.OntModelImpl.getDeductionsModel()Returns a derivations model.OntModelImpl.getRawModel()Return the raw RDF model being processed (i.e. the argument to the Reasonder.bind call that created this InfModel).OntModelImpl.read(InputStream reader, String base) Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).OntModelImpl.read(InputStream reader, String base, String syntax) Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).Read statements into the model from the given source, and then load imported ontologies (according to the document manager policy).OntModelImpl.write(OutputStream out) OntModelImpl.write(OutputStream out, String lang) OntModelImpl.write(OutputStream out, String lang, String base) OntModelImpl.writeAll(OutputStream out, String lang) OntModelImpl.writeAll(OutputStream out, String lang, String base) Methods in org.apache.jena.ontology.impl with parameters of type ModelModifier and TypeMethodDescriptionvoidOntModelImpl.addSubModel(Model model) Add the given model as one of the sub-models of the enclosed ontology union model.voidOntModelImpl.addSubModel(Model model, boolean rebind) Add the given model as one of the sub-models of the enclosed ontology union model.Answer a property that is attached to the given model, which will either be this property or a new property object with the same URI in the given model.OntModelImpl.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.voidOntModelImpl.removeSubModel(Model model) Remove the given model as one of the sub-models of the enclosed ontology union model.voidOntModelImpl.removeSubModel(Model model, boolean rebind) Remove the given model as one of the sub-models of the enclosed ontology union model.Constructors in org.apache.jena.ontology.impl with parameters of type ModelModifierConstructorDescriptionOntModelImpl(OntModelSpec spec, Model model) Construct a new ontology model, using the given model as a base. -
Uses of Model in org.apache.jena.ontology.models
Methods in org.apache.jena.ontology.models that return ModelModifier and TypeMethodDescriptionModelMakerImpl.createDefaultModel()ModelSource.createDefaultModel()Answer this ModelSource's default model.ModelMakerImpl.createFreshModel()ModelSource.createFreshModel()Answer a Model that satisfies this ModelSource's shape.ModelMaker.createModel(String name) Create a Model with the given name if no such model exists.ModelMaker.createModel(String name, boolean strict) Create a new Model associated with the given name.ModelMakerImpl.createModel(String name) ModelMakerImpl.createModel(String name, boolean strict) ModelMakerImpl.createModelOver(String name) MemoryModelGetter.getModel(String URL, ModelReader loadIfAbsent) Answer a Model whose content is that associated with the URL, if possible, and otherwise answer null.ModelGetter.getModel(String URL, ModelReader loadIfAbsent) Answer a model appropriate forURL, If none is to hand, and it's possible to create one, create it and load it usingloadIfAbsent.ModelGetter implementation component.ModelMakerImpl.getModel(String URL, ModelReader loadIfAbsent) Find an existing Model that this factory knows about under the given name.ModelMakerImpl.openModel()Answer a model.ModelMakerImpl.openModelIfPresent(String name) ModelSource.openModelIfPresent(String string) Answer the model named bystringin this ModelSource, if it [still] has one, ornullif there isn't one. -
Uses of Model in org.apache.jena.rdf.listeners
Methods in org.apache.jena.rdf.listeners with parameters of type ModelModifier and TypeMethodDescriptionvoidChangedListener.addedStatements(Model m) voidNullListener.addedStatements(Model m) voidObjectListener.addedStatements(Model m) voidStatementListener.addedStatements(Model m) voidChangedListener.notifyEvent(Model m, Object event) voidNullListener.notifyEvent(Model m, Object event) voidObjectListener.notifyEvent(Model m, Object event) voidStatementListener.notifyEvent(Model m, Object event) voidChangedListener.removedStatements(Model m) voidNullListener.removedStatements(Model m) voidObjectListener.removedStatements(Model m) voidStatementListener.removedStatements(Model m) -
Uses of Model in org.apache.jena.rdf.model
Subinterfaces of Model in org.apache.jena.rdf.modelModifier and TypeInterfaceDescriptioninterfaceAn extension to the normal Model interface that supports access to any underlying inference capability.Methods in org.apache.jena.rdf.model that return ModelModifier and TypeMethodDescriptionModel.abort()Abort the current transaction and abandon any changes in progress.add all the statements in the List to this Model, going through the bulk update interface (which means turning them into triples in one form or another).Add all the statements in another model to this model.Add a statement to this model.Add all the statements to the Model, using through the bulk update interface.Model.add(StmtIterator iter) Add all the statements returned by an iterator to this model.add a statement to this model.add a statement to this model.add a statement to this model.ModelCon.add(Resource s, Property p, String lex, RDFDatatype datatype) add a statement to this model.add a statement to this model.ModelCon.addLiteral(Resource s, Property p, boolean o) Add the statement (s, p, createTypedLiteral( o )) to this model and answer this model.ModelCon.addLiteral(Resource s, Property p, char o) Add the statement (s, p, createTypedLiteral( o )) to this model and answer this model.ModelCon.addLiteral(Resource s, Property p, double o) Add the statement (s, p, o') to the model, where o' is the typed literal corresponding to o.ModelCon.addLiteral(Resource s, Property p, float o) Add the statement (s, p, o') to the model, where o' is the typed literal corresponding to o.ModelCon.addLiteral(Resource s, Property p, int o) Add the statement (s, p, createTypedLiteral( o )) to this model and answer this model.ModelCon.addLiteral(Resource s, Property p, long o) Add the statement (s, p, createTypedLiteral( o )) to this model and answer this model.ModelCon.addLiteral(Resource s, Property p, Literal o) add a statement to this model.static ModelModelFactory.assembleModelFrom(Model singleRoot) Answer a Model constructed from the single resource insingleRootof typeja:Model.static ModelModelFactory.assembleModelFrom(Resource root) Answer a Model as described the Assembler specification rooted at the Resourcerootin its Model.Model.begin()Begin a new transaction.Model.clearNsPrefixMap()Model.commit()Commit the current transaction.static ModelModelFactory.createDefaultModel()Answer a fresh Model for use with the Model API.static ModelModelFactory.createModelForGraph(Graph g) Answer a model that encapsulates the given graph.static ModelModelFactory.createModelSameTerm()Answer a fresh Model with "same term" semantics.static ModelModelFactory.createModelSameValue()Answer a fresh Model with "same value" semantics.static ModelModelFactory.createUnion(Model m1, Model m2) Answer a new model that is the dynamic union of two other models.Model.difference(Model model) Create a new, independent, model containing all the statements in this model which are not in another.InfModel.getDeductionsModel()Returns a derivations model.RDFNode.getModel()Return the model associated with this resource.Statement.getModel()get the Model this Statement was created in.InfModel.getRawModel()Return the raw RDF model being processed (i.e. the argument to the Reasonder.bind call that created this InfModel).Model.intersection(Model model) Create a new, independent, model containing all the statements which are in both this model and another.Model.notifyEvent(Object e) Notify any listeners that the event e has occurred.Model.read(InputStream in, String base) Add statements from a document.Model.read(InputStream in, String base, String lang) Add RDF statements represented in languagelangto the model.Using this method is often a mistake.Using this method is often a mistake.Add the RDF statements from a document.Add statements from a serializion in languagelangto the model.Read into this model the RDF aturl, usingbaseURIas the base URI if it is non-null.Read the contents ofURLintotoReadand answertoRead,Model.register(ModelChangedListener listener) Register a listener for model-changed events on this model.Remove all the statements in the list from this model, using the bulk update interface.Removes a statement.Remove all the statements from the Model, using the bulk update interface.Remove all the Statements in a given model, including reified statementsremove the statement(s, p, o)from this model and answer this model.ModelCon.remove(StmtIterator iter) Remove all the Statements returned by an iterator.Model.removeAll()Remove all the statements from this model.Remove all the statements matching (s, p, o) from this model.Model.removeNsPrefix(String prefix) Model.setNsPrefix(String prefix, String uri) Model.setNsPrefixes(Map<String, String> map) Model.setNsPrefixes(PrefixMapping other) default ModelStmtIterator.toModel()Answer a Model of the [remaining] Statements of this iterator, consuming this iterator.Create a new, independent, model containing all the statements in this model together with all of those in another given model.Model.unregister(ModelChangedListener listener) Unregister a listener from model-changed events on this model.Model.withDefaultMappings(PrefixMapping map) Model.write(OutputStream out) Write a serialization of this model as an XML document.Model.write(OutputStream out, String lang) Write a serialized representation of this model in a specified language.Model.write(OutputStream out, String lang, String base) Write a serialized representation of a model in a specified language.Deprecated.Preferwrite(OutputStream, String)and specify the language.Write a serialized representation of a model in a specified language.Write a serialized representation of a model in a specified language.Methods in org.apache.jena.rdf.model with parameters of type ModelModifier and TypeMethodDescriptionAdd all the statements in another model to this model.voidModelChangedListener.addedStatements(Model m) Method to call when a model has been used to define the statements to be added to our attached model.static ModelModelFactory.assembleModelFrom(Model singleRoot) Answer a Model constructed from the single resource insingleRootof typeja:Model.booleanModel.containsAll(Model model) Determine if all of the statements in a model are also contained in this model.booleanModel.containsAny(Model model) Determine if any of the statements in a model are also contained in this model.static InfModelModelFactory.createInfModel(Reasoner reasoner, Model model) Build an inferred model by attaching the given RDF model to the given reasoner.static InfModelModelFactory.createInfModel(Reasoner reasoner, Model schema, Model model) Build an inferred model by attaching the given RDF model to the given reasoner.static OntModelModelFactory.createOntologyModel(OntModelSpec spec, ModelMaker maker, Model base) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static OntModelModelFactory.createOntologyModel(OntModelSpec spec, Model base) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static InfModelModelFactory.createRDFSModel(Model model) Return a Model through which all the RDFS entailments derivable from the given model are accessible.static InfModelModelFactory.createRDFSModel(Model schema, Model model) Return a Model through which all the RDFS entailments derivable from the given data and schema models are accessible.static ModelModelFactory.createUnion(Model m1, Model m2) Answer a new model that is the dynamic union of two other models.Model.difference(Model model) Create a new, independent, model containing all the statements in this model which are not in another.ModelFactory.findAssemblerRoots(Model m) Answer a Set of resources present inmthat are explicitly or implicitly of type ja:Object, i.e., suitable as roots forassemblerModelFrom.Answer a version of this literal in the model m.Override RDFNode.inModel() to produce a staticly-typed Property in the given Model.Answer a .equals() version of this node, except that it's in the modelm.Override RDFNode.inModel() to produce a statically-typed Resource in the given Model.Model.intersection(Model model) Create a new, independent, model containing all the statements which are in both this model and another.booleanModel.isIsomorphicWith(Model g) Compare this Model with another for equality ignoring the labels on bNodes.InfModel.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.voidModelChangedListener.notifyEvent(Model m, Object event) voidRDFReaderI.read(Model model, InputStream r, String base) Read serialized RDF from anInputStreamand add the statements to aModel.voidIt is usually a mistake to use this method.voidRead serialized RDF from a url and add the statements to a model.Read the contents ofURLintotoReadand answertoRead,Remove all the Statements in a given model, including reified statementsvoidModelChangedListener.removedStatements(Model m) Method to call when a model has been used to remove statements from our attached model.Create a new, independent, model containing all the statements in this model together with all of those in another given model.voidRDFWriterI.write(Model model, OutputStream out, String base) Serialize Modelmodelto OutputStreamout.voidCaution: Serialize Modelmodelto Writerout. -
Uses of Model in org.apache.jena.rdf.model.impl
Classes in org.apache.jena.rdf.model.impl that implement ModelModifier and TypeClassDescriptionclassDefault implementation of the InfModel interface which simply wraps up an InfGraph.classCommon methods for model implementations.Methods in org.apache.jena.rdf.model.impl that return ModelModifier and TypeMethodDescriptionModelCom.abort()Add all the statements to the model by converting the list to an array of Statement and removing that.ModelCom.add(Resource s, Property p, String lex, RDFDatatype datatype) add a Statement to this Model by adding its SPO components.Add all the statements to the model by converting them to an array of corresponding triples and removing those from the underlying graph.ModelCom.add(StmtIterator iter) ModelCom.addLiteral(Resource s, Property p, boolean o) ModelCom.addLiteral(Resource s, Property p, char o) ModelCom.addLiteral(Resource s, Property p, double o) ModelCom.addLiteral(Resource s, Property p, float o) ModelCom.addLiteral(Resource s, Property p, int o) ModelCom.addLiteral(Resource s, Property p, long o) ModelCom.addLiteral(Resource s, Property p, Literal o) ModelCom.begin()ModelCom.clearNsPrefixMap()ModelCom.commit()ModelCom.difference(Model model) InfModelImpl.getDeductionsModel()Returns a derivations model.LiteralImpl.getModel()Answer the model this literal was created in, if any, otherwise null.ResourceImpl.getModel()StatementBase.getModel()StatementTermImpl.getModel()InfModelImpl.getRawModel()Return the raw RDF model being processed (i.e. the argument to the Reasoner.bind call that created this InfModel).static ModelAnswer a Model that is the intersection of the two argument models.ModelCom.intersection(Model other) Intersect this with another model.ModelCom.notifyEvent(Object e) ModelCom.read(InputStream reader, String base) ModelCom.read(InputStream reader, String base, String lang) ModelCom.register(ModelChangedListener listener) Register the listener with this model by registering its GraphListener adaption with the underlying Graph.Remove all the Statements from the model by converting the List to a List(Statement) and removing that.remove all the Statements from the model by converting them to triples and removing those triples from the underlying graph.ModelCom.remove(StmtIterator iter) ModelCom.removeAll()ModelCom.removeNsPrefix(String prefix) ModelCom.setNsPrefix(String prefix, String uri) ModelCom.setNsPrefixes(Map<String, String> map) ModelCom.setNsPrefixes(PrefixMapping pm) ModelCom.unregister(ModelChangedListener listener) Unregister the listener from this model by unregistering its GraphListener adaption from the underlying Graph.ModelCom.withDefaultMappings(PrefixMapping other) ModelCom.write(OutputStream writer) ModelCom.write(OutputStream writer, String lang) ModelCom.write(OutputStream writer, String lang, String base) Methods in org.apache.jena.rdf.model.impl with parameters of type ModelModifier and TypeMethodDescriptionstatic voidService method to update the namespaces of a Model given the mappings from prefix names to sets of URIs.booleanModelCom.containsAll(Model model) booleanModelCom.containsAny(Model model) ModelCom.difference(Model model) Literals are not in any particular model, and so inModel can return this.static ModelAnswer a Model that is the intersection of the two argument models.ModelCom.intersection(Model other) Intersect this with another model.booleanModelCom.isIsomorphicWith(Model m) Answer whether or not these two graphs are isomorphic.InfModelImpl.listStatements(Resource subject, Property predicate, RDFNode object, Model posit) Find all the statements matching a pattern.voidNTripleReader.read(Model model, InputStream in, String base) voidvoidvoidNTripleWriter.write(Model model, OutputStream out, String base) static voidNTripleWriter.write(Model model, PrintWriter writer) void -
Uses of Model in org.apache.jena.rdfxml.xmlinput1
Methods in org.apache.jena.rdfxml.xmlinput1 with parameters of type ModelModifier and TypeMethodDescriptionstatic SAX2ModelFactory method to create a new SAX2Model.static SAX2ModelFactory method to create a new SAX2Model.static DOM2ModelCreate a new DOM2Model.static DOM2ModelCreate a new DOM2Model.voidRDFXMLReader.read(Model m, InputStream in, String xmlBase) Reads from inputStream, using base URI xmlbase, adding triples to model.voidReads from reader, using base URI xmlbase, adding triples to model.voidReads from url, using url as base, adding triples to model.static voidStAX2Model.read(XMLEventReader eventReader, Model model) static voidStAX2Model.read(XMLEventReader eventReader, Model model, String base) static voidStAX2Model.read(XMLStreamReader streamReader, Model model) static voidStAX2Model.read(XMLStreamReader streamReader, Model model, String base) -
Uses of Model in org.apache.jena.rdfxml.xmloutput.impl
Methods in org.apache.jena.rdfxml.xmloutput.impl with parameters of type Model -
Uses of Model in org.apache.jena.reasoner
Methods in org.apache.jena.reasoner that return ModelModifier and TypeMethodDescriptionReasonerRegistry.getAllDescriptions()Return a composite set of RDF capability descriptions for all registered reasoners.ReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.Reasoner.getReasonerCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.Methods in org.apache.jena.reasoner with parameters of type ModelModifier and TypeMethodDescriptionvoidReasoner.addDescription(Model configSpec, Resource base) Add a configuration description for this reasoner into a partial configuration specification model.Reasoner.bindSchema(Model tbox) This is most commonly used to attach an ontology (a set of tbox axioms in description logics jargon) to a reasoner. -
Uses of Model in org.apache.jena.reasoner.rulesys
Methods in org.apache.jena.reasoner.rulesys that return ModelModifier and TypeMethodDescriptionGenericRuleReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.OWLFBRuleReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.OWLMicroReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.OWLMiniReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.RDFSFBRuleReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.RDFSRuleReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.BasicForwardRuleReasoner.getReasonerCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.FBRuleReasoner.getReasonerCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.LPBackwardRuleReasoner.getReasonerCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.Methods in org.apache.jena.reasoner.rulesys with parameters of type ModelModifier and TypeMethodDescriptionvoidBasicForwardRuleReasoner.addDescription(Model configSpec, Resource base) Add a configuration description for this reasoner into a partial configuration specification model.voidFBRuleReasoner.addDescription(Model configSpec, Resource base) Add a configuration description for this reasoner into a partial configuration specification model.voidLPBackwardRuleReasoner.addDescription(Model configSpec, Resource base) Add a configuration description for this reasoner into a partial configuration specification model.BasicForwardRuleReasoner.bindSchema(Model tbox) Precompute the implications of a schema Model.FBRuleReasoner.bindSchema(Model tbox) Precompute the implications of a schema Model.LPBackwardRuleReasoner.bindSchema(Model tbox) Precompute the implications of a schema Model. -
Uses of Model in org.apache.jena.reasoner.rulesys.impl
Methods in org.apache.jena.reasoner.rulesys.impl that return ModelModifier and TypeMethodDescriptionWrappedReasonerFactory.getCapabilities()Answer the capabilities of the underlying ReasonerFactory. -
Uses of Model in org.apache.jena.reasoner.transitiveReasoner
Methods in org.apache.jena.reasoner.transitiveReasoner that return ModelModifier and TypeMethodDescriptionTransitiveReasonerFactory.getCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.TransitiveReasoner.getReasonerCapabilities()Return a description of the capabilities of this reasoner encoded in RDF.Methods in org.apache.jena.reasoner.transitiveReasoner with parameters of type ModelModifier and TypeMethodDescriptionvoidTransitiveReasoner.addDescription(Model configSpec, Resource base) Add a configuration description for this reasoner into a partial configuration specification model.TransitiveReasoner.bindSchema(Model tbox) Extracts all of the subClass and subProperty declarations from the given schema/tbox and caches the resultant graphs. -
Uses of Model in org.apache.jena.util
Classes in org.apache.jena.util that implement ModelModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.Do not use - to be removed.Methods in org.apache.jena.util that return ModelModifier and TypeMethodDescriptionFileManager.getFromCache(String filenameOrURI) Deprecated.FileManagerImpl.getFromCache(String filenameOrURI) Read out of the cache - return null if not in the cachedefault ModelDeprecated.UseRDFDataMgrFileManager.loadModelInternal(String filenameOrURI) For use within Jena libraries only.FileManagerImpl.loadModelInternal(String filenameOrURI) Load a model from a file (local or remote).static ModelResourceUtils.reachableClosure(Resource root) Answer a model that contains all of the resources reachable from a given resource by any property, transitively.default ModelDeprecated.UseRDFDataMgrFileManager.readModelInternal(Model model, String filenameOrURI) For use within Jena libraries only.FileManagerImpl.readModelInternal(Model model, String filenameOrURI) Read a file of RDF into a model.LocationMapper.toModel()Methods in org.apache.jena.util that return types with arguments of type ModelModifier and TypeMethodDescriptionModelCollector.ConcurrentModelCollector.accumulator()ModelCollector.ConcurrentModelCollector.accumulator()ModelCollector.IntersectionModelCollector.accumulator()ModelCollector.IntersectionModelCollector.accumulator()ModelCollector.UnionModelCollector.accumulator()ModelCollector.UnionModelCollector.accumulator()ModelCollector.ConcurrentModelCollector.combiner()ModelCollector.IntersectionModelCollector.combiner()ModelCollector.UnionModelCollector.combiner()ModelCollector.supplier()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.apache.jena.util with parameters of type ModelModifier and TypeMethodDescriptionvoidFileManager.addCacheModel(String uri, Model m) Deprecated.voidFileManagerImpl.addCacheModel(String uri, Model m) voidLocationMapper.processConfig(Model m) default ModelDeprecated.UseRDFDataMgrFileManager.readModelInternal(Model model, String filenameOrURI) For use within Jena libraries only.FileManagerImpl.readModelInternal(Model model, String filenameOrURI) Read a file of RDF into a model.voidConstructors in org.apache.jena.util with parameters of type ModelModifierConstructorDescriptionLocationMapper(Model model) Deprecated.UseStreamManagerandLocationMapperfromorg.apache.jena.riot.system.stream.MonitorModel(Model base) Deprecated, for removal: This API element is subject to removal in a future version.Create a monitor over the given underlying base model.