-
find
-
General method to search for triples in the DbModel.
-
find
-
General method to search for triples.
-
findAsIterator
-
Returns a FindIterator for traversing the MemModel.
-
findCount
-
Search for triples and return the number of matches.
-
findCount
-
Searches for triples and returns the number of matches.
-
findFirstMatchingStatement
-
Search for triples and return the first matching statement.
-
findFirstMatchingStatement
-
Searches for triples and returns the first matching statement.
-
findForward
-
Searches for triples using find() and tracks forward blank nodes until the final objects in the retrieved subgraphs are all named resources.
-
findRegex
-
Method to search for triples using Perl-style regular expressions.
-
findRegex
-
Method to search for triples using Perl-style regular expressions.
-
findVocabulary
-
Return all tripels of a certain vocabulary.
-
findVocabulary
-
Returns all tripels of a certain vocabulary.
-
getBaseURI
-
Return current baseURI.
-
getDatasetDb
-
Create a new instance of DatasetDb with the given $datasetName and load the corresponding values from the database.
-
getDatasetMem
-
Returns a NamedGraphSetMem.
-
getDatatype
-
Returns the datatype of the literal.
-
getDbConn
-
Returns the database connection object
-
getDbModel
-
Returns a new DbModel using the database connection supplied by $dbStore.
-
getDbStore
-
Returns a database connection with the given parameters.
-
getDefaultDbModel
-
Returns a DbModel with the database connection defined in constants.php.
-
getDefaultModel
-
Returns a MemModel.
-
getID
-
Returns the ID of the blank node.
-
getIndexType
-
Returns the indextype: -1 if there is no index, 0 if there are indices over S,P,O(separate),
- if there is an index over SPO, 2 if there is an index over SP and 3 if
there is an index over SO.
-
getInfModelB
-
Returns a InfModelB.
-
getInfModelF
-
Returns a InfModelF.
-
getLabel
-
Returns the ID of the blank node.
-
getLabel
-
Returns the string value of the literal.
-
getLabel
-
Returns the label of the resource, which is the URI of the resource.
-
getLabelObject
-
Reurns the URI, text or bNode identifier of the statements's object.
-
getLabelPredicate
-
Returns the URI of the statements's predicate.
-
getLabelSubject
-
Returns the URI or bNode identifier of the statements's subject.
-
getLanguage
-
Returns the language of the literal.
-
getLocalName
-
Returns the local name of the resource.
-
getMemModel
-
Returns a MemModel.
-
getMemModel
-
Create a MemModel containing all the triples of the current DbModel.
-
getMemModelByRDQL
-
Perform an RDQL query on this Model. Should work with all types of models.
-
getModel
-
Create a new instance of DbModel with the given $modelURI and load the corresponding values of modelID and baseURI from the database.
-
getModelID
-
Returns the model id
-
getNamedGraphDb
-
Create a new instance of namedGraphDb with the given $modelURI and graphName and load the corresponding values of modelID and baseURI from the database.
-
getNamespace
-
Returns the namespace of the resource. May return null.
-
getNewDatasetDb
-
Create a new instance of DatasetDb with the given $datasetName and insert the DatasetDb variables into the database.
-
getNewModel
-
Create a new instance of DbModel with the given $modelURI and insert the DbModel variables into the database.
-
getNewNamedGraphDb
-
Create a new instance of namedGraphDb with the given $modelURI and graphName and insert the DbModel variables into the database (not the graphName. This is only stored persistently, when added to dataset).
-
getObject
-
Returns the object of the triple.
-
getOntModel
-
Returns an OntModel with this model as baseModel.
-
getOntModel
-
Returns an OntModel.
-
getOntModelForBaseModel
-
Creates an OntModel that wraps an existing base model.
-
getParsedNamespaces
-
Returns the models namespaces.
-
getParsedNamespaces
-
Returns the models namespaces.
-
getPredicate
-
Returns the predicate of the triple.
-
getResModel
-
Returns a ResModel with this model as baseModel. This is the same as ModelFactory::getResModelForBaseModel($this).
-
getResModel
-
Returns a ResModel.
-
getResModelForBaseModel
-
Creates a ResModel that wraps an existing base model.
-
getSparqlClient
-
Creates a SparqlClient.
-
getStatementIterator
-
Returns a StatementIterator for traversing the MemModel.
-
getSubject
-
Returns the subject of the triple.
-
getURI
-
Returns the URI of the resource.
-
Statement.php
-
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the DbModel to a file.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
-
setBaseURI
-
Set a base URI for the MemModel.
-
setBaseURI
-
Set a base URI for the DbModel.
-
setDatatype
-
Sets the datatype of the literal.
-
setLanguage
-
Sets the language of the literal.
-
size
-
Number of triples in the MemModel
-
size
-
Return the number of statements in this DbModel.
-
sparqlPrepare
-
Prepares a sparql query and returns a prepared statement that can be executed with data later on.
-
sparqlQuery
-
Performs a SPARQL query against a model. The model is converted to an RDF Dataset. The result can be retrived in SPARQL Query Results XML Format or as an array containing the variables an their bindings.
-
Statement
-
The parameters to constructor are instances of classes and not just strings
-
Statement
-
An RDF statement.
-
subject
-
Alias for getSubject()
-
subtract
-
Returns a new MemModel that is the subtraction of another model from this MemModel.
-
subtract
-
Return a new MemModel that is the subtraction of another model from this DbModel.