Full index

Package indexes


a b c d e f g h i j k l m n o p q r s t u v w _
a
top
$anon
N3Serializer::$anon in N3Serializer.php
$arrOutput
SparqlResultParser::$arrOutput in SparqlResultParser.php
$associatedGraphSet
IteratorAllGraphsMem::$associatedGraphSet in IteratorAllGraphsMem.php
Holds a reference to the associated RDF dataset
$associatedModel
Holds a reference to the assoiated ResModel / OntModel
add
MemModel::add() in MemModel.php
Adds a new triple to the MemModel without checking if the statement is already in the MemModel.
add
InfModelF::add() in InfModelF.php
Adds a new triple to the MemModel without checking if the statement is already in the MemModel.
add
InfModel::add() in InfModel.php
Adds a new triple to the Model without checking if the statement is already in the Model.
add
InfModelB::add() in InfModelB.php
Adds a new triple to the Model without checking, if the statement is already in the Model. So if you want a duplicate free Model use the addWithoutDuplicates() function (which is slower then add())
add
DbModel::add() in DbModel.php
Add a new triple to this DbModel.
add
ResModel::add() in ResModel.php
Adds a new triple to the Model without checking if the statement is already in the Model.
add
ResContainer::add() in ResContainer.php
Add a new value to a container.
add
ResList::add() in ResList.php
Add the given value to the end of the list.
addAll
DatasetDb::addAll() in DatasetDb.php
Add all named graphs of the other dataset to this dataset.
addAll
DatasetMem::addAll() in DatasetMem.php
Adds all named graphs of the other dataset to this dataset.
addAtIndex
ResSeq::addAtIndex() in ResSeq.php
Insert a new member into the sequence at the specified position.
addComment
OntResource::addComment() in OntResource.php
Add the given comment to this resource.
addConstraint
GraphPattern::addConstraint() in GraphPattern.php
Adds a Constraint to the GraphPattern.
addConstructGraphPattern
Adds a construct graph pattern to the query.
addDefaultGraph
Adds a default graph to the query object.
addDomain
OntProperty::addDomain() in OntProperty.php
Add a resource representing the domain of this property.
addExpression
Constraint::addExpression() in Constraint.php
Adds an expression string.
addFrom
Query::addFrom() in Query.php
Adds a graphuri to the from part.
addFromNamed
Adds a graphuri to the from named part.
addGraphPattern
Adds a graph pattern to the result part.
addIsDefinedBy
Add a resource that is declared to provide a definition of this resource.
addLabelProperty
Add the given Label to this resource
addModel
InfModelF::addModel() in InfModelF.php
Adds another model to this MemModel.
addModel
MemModel::addModel() in MemModel.php
Adds another model to this MemModel.
addModel
ResModel::addModel() in ResModel.php
Adds another model to this MemModel.
addModel
DbModel::addModel() in DbModel.php
Add the given model to this DbModel.
addNamedGraph
DatasetMem::addNamedGraph() in DatasetMem.php
Adds a NamedGraph to the set. Will replace a NamedGraph with the same name that is already in the set.
addNamedGraph
Adds a NamedGraph to the set.
addNamedGraph
ClientQuery::addNamedGraph() in ClientQuery.php
Adds a named graph to the query object.
addNamespace
Adds a namespace and prefix to the model.
addNamespace
MemModel::addNamespace() in MemModel.php
Adds a namespace and prefix to the model.
addNamespace
ResModel::addNamespace() in ResModel.php
Adds a namespace and prefix to the model.
addNamespacePrefix
Adds a new prefix/namespace combination.
addNSPrefix
N3Serializer::addNSPrefix() in N3Serializer.php
Adds a new namespace prefix to use.
addOptional
GraphPattern::addOptional() in GraphPattern.php
Adds a pointer to an optional graphPattern.
addParsedNamespaces
Adds the namespaces to the model. This method is called by the parser. !!!! addParsedNamespaces() not overwrites manual added namespaces in the model !!!!
addParsedNamespaces
Adds the namespaces to the model. This method is called by the parser. !!!! addParsedNamespaces() not overwrites manual added namespaces in the model !!!!
addParsedNamespaces
Adds the namespaces to the model. This method is called by the parser. !!!! addParsedNamespaces() not overwrites manual added namespaces in the model !!!!
addPrefix
Query::addPrefix() in Query.php
Adds a prefix to the list of prefixes.
addProperty
ResResource::addProperty() in ResResource.php
Add a property to this resource.
addProperty
OntResource::addProperty() in OntResource.php
Add a property to this resource.
addQuad
DatasetDb::addQuad() in DatasetDb.php
Adds a quad to the Dataset. The argument must not contain any wildcards. If the quad is already present, nothing happens. A new named graph will automatically be created if necessary.
addQuad
DatasetMem::addQuad() in DatasetMem.php
Adds a quad to the Dataset. The argument must not contain any wildcards. If the quad is already present, nothing happens. A new named graph will automatically be created if necessary.
addRange
OntProperty::addRange() in OntProperty.php
Add a resource representing the range of this property.
addRDFType
OntResource::addRDFType() in OntResource.php
Add the given class as one of the rdf:type's for this resource.
addSeeAlso
OntResource::addSeeAlso() in OntResource.php
Add a resource that is declared to provided additional information about the definition of this resource.
addSubClass
OntClass::addSubClass() in OntClass.php
Add a sub-class of this class.
addSubProperty
Add a sub-property of this property.
addSuperClass
Add a super-class of this class.
addSuperProperty
Add a super-property of this property.
addTriplePattern
Adds a List of QueryTriples to the GraphPattern.
addUnion
GraphPattern::addUnion() in GraphPattern.php
Adds a pointer to a union graphPattern.
addVar
Query::addVar() in Query.php
Adds a new variable to the variable list.
addVariable
Adds a variable to the list of result variables.
addWithoutDuplicates
Alias for the method add().
addWithoutDuplicates
Checks if a new statement is already in the Model and adds the statement, if it is not in the Model.
addWithoutDuplicates
Checks if a new statement is already in the MemModel and adds the statement, if it is not in the MemModel.
addWithoutDuplicates
Checks if a new statement is already in the MemModel and adds the statement, if it is not in the MemModel.
add_statement_to_model
Adds a new statement to the model This method is called by generateModel().
ALL_DIFFERENT
OWLVocabulary::ALL_DIFFERENT() in OWLVocabulary.php
ALL_VALUES_FROM
ANNOTATION_PROPERTY
append
ResList::append() in ResList.php
Answer a new list that is formed by adding each element of
applyInference
Entails every statement and adds the entailments if not already in the model.
applyStuff
N3Parser::applyStuff() in N3Parser.php
Applies stuff :) Expands namespace prefixes etc.
array_concat
N3Parser::array_concat() in N3Parser.php
Concatenates two arrays
asClass
OntResource::asClass() in OntResource.php
Answer a view of this resource as a class
asIndividual
OntResource::asIndividual() in OntResource.php
Answer a view of this resource as an Individual
asOntProperty
OntResource::asOntProperty() in OntResource.php
Answer a view of this resource as a property
b
top
$baseURI
Model::$baseURI in Model.php
Base URI of the Model.
$bncounter
SparqlResultParser::$bncounter in SparqlResultParser.php
$bNode
N3Parser::$bNode in N3Parser.php
$bNodeCount
Model::$bNodeCount in Model.php
Number of the last assigned bNode.
BACKWARD_COMPATIBLE_WITH
BlankNode
BlankNode::BlankNode() in Blanknode.php
Constructor You can supply a label or You supply a model and a unique ID is gernerated.
BlankNode
BlankNode in Blanknode.php
An RDF blank node.
bNodeCheck
SparqlParser::bNodeCheck() in SparqlParser.php
Checks if $token is a Blanknode.
bnodeID
N3Parser::bnodeID() in N3Parser.php
Generates a new node id.
buildSortArray
ModelComparator::buildSortArray() in ModelComparator.php
Builds a sorted array.
buildVarmap
SparqlEngine::buildVarmap() in SparqlEngine.php
Sorts the result table.
buildXmlResult
SparqlEngine::buildXmlResult() in SparqlEngine.php
Generates an xml string from a given result table.
Blanknode.php
Blanknode.php in Blanknode.php
c
top
$containerType
ResContainer::$containerType in ResContainer.php
Holds a ResResource of this container type rdf:Seq, rdf:Alt, or rdf:Bag
$counter
SparqlResultParser::$counter in SparqlResultParser.php
$current
IteratorAllGraphsMem::$current in IteratorAllGraphsMem.php
The current NamedGraph
$current
IteratorAllGraphsDb::$current in IteratorAllGraphsDb.php
The current NamedGraph
$current
IteratorFindQuadsMem::$current in IteratorFindQuadsMem.php
The current NamedGraph.
$current
IterFind::$current in IterFind.php
The current NamedGraph
$currentResource
The current resource
canAbbreviateValue
CARDINALITY
OWLVocabulary::CARDINALITY() in OWLVocabulary.php
channel
RssParser::channel() in RssParser.php
Parses the rss channel/ atom feed.
checkDtypeLang
SparqlParser::checkDtypeLang() in SparqlParser.php
Checks if there is a datatype given and appends it to the node.
checkEntailment
Checks, if this rule could entail a statement that matches a find of $subject,$predicate,$object.
checkForDoubleAttributes
checkIntBindings
Checks it there are internal bindings between variables.
checkTrigger
Checks, if the statement satisfies the trigger.
chooseColor
RDFUtil::chooseColor() in RdfUtil.php
Chooses a node color.
clear
DatasetDb::clear() in DatasetDb.php
Deletes all NamedGraphs from the set.
clear
DatasetMem::clear() in DatasetMem.php
Deletes all NamedGraphs from the set.
ClientQuery
ClientQuery in ClientQuery.php
ClientQuery Object to run a SPARQL Query against a SPARQL server.
close
DbStore::close() in DbStore.php
Close the DbStore.
close
MemModel::close() in MemModel.php
Close the MemModel and free up resources held.
close
DbModel::close() in DbModel.php
Close this DbModel
collectNamespace
collectNamespaces
COMMENT
OWLVocabulary::COMMENT() in OWLVocabulary.php
Answer the predicate that denotes comment annotation on an ontology element.
COMMENT
RdfsVocabulary::COMMENT() in RdfsVocabulary.php
Answer the predicate that denotes comment annotation on an ontology element.
compare
Statement::compare() in Statement.php
Compares two statements and returns integer less than, equal to, or greater than zero.
compare
ModelComparator::compare() in ModelComparator.php
Compares two models.
compareTriples
ModelComparator::compareTriples() in ModelComparator.php
Compares the Triples in the lists.
COMPLEMENT_OF
OWLVocabulary::COMPLEMENT_OF() in OWLVocabulary.php
concatenate
ResList::concatenate() in ResList.php
Change the tail of this list to point to the given list, so that this list becomes the list of the concatenation of the elements of both lists. This is a side-effecting operation on this list; for a non side-effecting alternative, see append.
configSortModel
Serializer congiguration: Sort Model Flag if the serializer should sort the model by subject before serializing.
configUseAttributes
Serializer congiguration: Use Attributes Flag if the serializer should serialize triples as XML attributes where possible.
configUseEntities
Serializer congiguration: Use Entities Flag if the serializer should use entities for URIs.
configUseQnames
Serializer congiguration: Use Qnames Flag if the serializer should use qualified names for RDF reserved words.
configUseXmlDeclaration
Serializer congiguration: Use XML Declaration Flag if the serializer should start documents with the xml declaration <?xml version="1.0" encoding="UTF-8" ?>.
cons
ResList::cons() in ResList.php
Return a reference to a new list cell whose head is value and whose tail is this list.
Constraint
Constraint in Constraint.php
Represents a constraint. A value constraint is a boolean- valued expression of variables and RDF Terms.
constructGraph
SparqlEngine::constructGraph() in SparqlEngine.php
Constructs a result graph.
contains
InfModelB::contains() in InfModelB.php
Tests if the Model contains the given triple.
contains
DbModel::contains() in DbModel.php
Check if the DbModel contains the given statement.
contains
ResModel::contains() in ResModel.php
Tests if the Model contains the given statement.
contains
ResContainer::contains() in ResContainer.php
Determine whether the container contains a value
contains
ResList::contains() in ResList.php
Answer true if the given node appears as the value of a value of any of the cells of this list.
contains
MemModel::contains() in MemModel.php
Tests if the MemModel contains the given triple.
containsAll
ResModel::containsAll() in ResModel.php
Determine if all of the statements in a model are also contained in this model.
containsAll
DbModel::containsAll() in DbModel.php
Determine if all of the statements in the given model are also contained in this DbModel.
containsAll
MemModel::containsAll() in MemModel.php
Determine if all of the statements in a model are also contained in this MemModel.
containsAny
ResModel::containsAny() in ResModel.php
Determine if any of the statements in a model are also contained in this model.
containsAny
MemModel::containsAny() in MemModel.php
Determine if any of the statements in a model are also contained in this MemModel.
containsAny
DbModel::containsAny() in DbModel.php
Determine if any of the statements in the given model are also contained in this DbModel.
containsNamedGraph
Tells wether the Dataset contains a NamedGraph.
containsNamedGraph
Tells wether the Dataset contains a NamedGraph.
containsQuad
DatasetDb::containsQuad() in DatasetDb.php
Tells wether the Dataset contains a quad or quads matching a pattern.
containsQuad
DatasetMem::containsQuad() in DatasetMem.php
Tells wether the Dataset contains a quad or quads matching a pattern.
containsResource
Determine if the node (ResResource / ResLiteral) $node appears in any statement of this model.
copy
ResList::copy() in ResList.php
Answer a list that contains all of the elements of this list in the same order, but is a duplicate copy in the underlying model.
countGraphs
DatasetMem::countGraphs() in DatasetMem.php
Returns the number of NamedGraphs in the set. Empty graphs are counted.
countGraphs
DatasetDb::countGraphs() in DatasetDb.php
Returns the number of NamedGraphs in the set. Empty graphs are counted.
countQuads
DatasetDb::countQuads() in DatasetDb.php
Counts the Quads in the RDF dataset. Identical Triples in different NamedGraphs are counted individually.
countQuads
DatasetMem::countQuads() in DatasetMem.php
Counts the Quads in the RDF dataset. Identical Triples in different NamedGraphs are counted individually.
countResults
RdqlResultIterator::countResults() in RdqlResultIterator.php
Returns the number of results.
createAlt
ResModel::createAlt() in ResModel.php
Create a new RDF Container from type rdf:Alt This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
createBag
ResModel::createBag() in ResModel.php
Create a new RDF Container from type rdf:Bag This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
createGraph
DatasetMem::createGraph() in DatasetMem.php
Creates a new NamedGraph and adds it to the set. An existing graph with the same name will be replaced.The name of the NamedGraph to be created ; must be an URI
createGraph
DatasetDb::createGraph() in DatasetDb.php
Creates a new NamedGraph and adds it to the set. An existing graph with the same name will be replaced. But the old namedGraph remains in the database.
createIndividual
Answer a resource that represents an Individual node in this model.
createInstance
Answer a resource that represents an instance of this OntClass and Individual node in this model.
createList
ResModel::createList() in ResModel.php
Create a new RDF Collection from type rdf:List This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
createLiteral
Create an untyped literal from a String value with a specified language.
createOntClass
Answer a resource that represents a class description node in this model.
createOntProperty
Answer a resource that represents an OntProperty node in this model.
createOrd
RDFUtil::createOrd() in RdfUtil.php
Creates ordinal RDF resource out of an integer.
createProperty
Create a new Property associated with this model.
createResource
Create a new resource associated with this model.
createSeq
ResModel::createSeq() in ResModel.php
Create a new RDF Container from type rdf:Seq This method may return an existing container with the correct URI and model, or it may construct a fresh one, as it sees fit.
createTables
Create tables and indexes for the given database type.
createTypedLiteral
Create a literal from a String value with the $dtype Datatype An existing literal of the right value may be returned, or a fresh one created.
current
IteratorAllGraphsDb::current() in IteratorAllGraphsDb.php
Returns the current item
current
FindIterator::current() in FindIterator.php
Returns the current matching statement.
current
IteratorAllGraphsMem::current() in IteratorAllGraphsMem.php
Returns the current item.
current
StatementIterator::current() in StatementIterator.php
Returns the current statement.
current
IteratorFindQuadsDb::current() in IteratorFindQuadsDb.php
Returns the current item.
current
IteratorFindQuadsMem::current() in IteratorFindQuadsMem.php
Returns the current item.
current
IterFind::current() in IterFind.php
Returns the current item
current
RdqlResultIterator::current() in RdqlResultIterator.php
Returns the current result.
current
ResIterator::current() in ResIterator.php
Returns the current item
ClientQuery.php
ClientQuery.php in ClientQuery.php
Constraint.php
Constraint.php in Constraint.php
d
top
$DAML_NS
N3Parser::$DAML_NS in N3Parser.php
$datasetDb
IteratorAllGraphsDb::$datasetDb in IteratorAllGraphsDb.php
Holds a reference to the associated datasetDb
$datasetDb
IteratorFindQuadsDb::$datasetDb in IteratorFindQuadsDb.php
Holds a reference to the associated datasetDb.
$dbConn
DbStore::$dbConn in DbStore.php
Database connection object
$dbConn
DbModel::$dbConn in DbModel.php
Database connection object.
$dbConnection
DatasetDb::$dbConnection in DatasetDb.php
Reference to databse connection.
$dbResultSet
IteratorAllGraphsDb::$dbResultSet in IteratorAllGraphsDb.php
Holds a reference to the associated DB resultSet
$dbResultSet
IteratorFindQuadsDb::$dbResultSet in IteratorFindQuadsDb.php
Holds a reference to the associated DB resultSet.
$dbStore
DatasetDb::$dbStore in DatasetDb.php
Reference to the dbStore Object.
$debug
N3Serializer::$debug in N3Serializer.php
$debug
NTripleSerializer::$debug in NTripleSerializer.php
$debug
N3Parser::$debug in N3Parser.php
$default
ClientQuery::$default in ClientQuery.php
$defaultGraph
DatasetMem::$defaultGraph in DatasetMem.php
Reference to a Memmodel that holds the default graph.
$doclink
GRDDLParser::$doclink in GRDDLParser.php
Document link
$domdoc
GRDDLParser::$domdoc in GRDDLParser.php
DomDocument
$done
N3Serializer::$done in N3Serializer.php
$dtype
Literal::$dtype in Literal.php
Datatype of the literal
$dtype
SparqlResultParser::$dtype in SparqlResultParser.php
Dataset
Dataset in Dataset.php
Dataset implementation.
Dataset.php
Dataset.php in Dataset.php
DatasetDb.php
DatasetDb.php in DatasetDb.php
DatasetMem.php
DatasetMem.php in DatasetMem.php
DatasetDb
DatasetDb in DatasetDb.php
Dataset implementation.
DatasetDb
DatasetDb::DatasetDb() in DatasetDb.php
Constructor You can supply a Dataset name.
datasetExists
Check if the Dataset with the given $datasetName is already stored in the database
DatasetMem
DatasetMem in DatasetMem.php
In-memory implementation of a RDF dataset.
DatasetMem
DatasetMem::DatasetMem() in DatasetMem.php
Constructor.
DATATYPE
OWLVocabulary::DATATYPE() in OWLVocabulary.php
DATATYPE_PROPERTY
DATATYPE_RESTRICTION
DATA_RANGE
OWLVocabulary::DATA_RANGE() in OWLVocabulary.php
dateTime
dateTime() in FilterFunctions.php
Evaluates the dateTime() function.Tries to convert a date string into a unix timestamp.
DbModel
DbModel::DbModel() in DbModel.php
Constructor Do not call this directly.
DbModel
DbModel in DbModel.php
This class provides methods for manipulating DbModels from DbStore.
DbStore
DbStore::DbStore() in DbStore.php
Constructor: Set the database connection with the given parameters.
DbStore
DbStore in DbStore.php
DbStore is a persistent store of RDF data using relational database technology.
dc
RssParser::dc() in RssParser.php
Adds the dc namespace.
delete
DbModel::delete() in DbModel.php
Remove this DbModel from database and clean up.
DEPRECATED_CLASS
DEPRECATED_PROPERTY
describeGraph
SparqlEngine::describeGraph() in SparqlEngine.php
Builds a describing named graph. To define an attribute list for a several rdf:type look at constants.php
DIFFERENT_FROM
OWLVocabulary::DIFFERENT_FROM() in OWLVocabulary.php
DISJOINT_WITH
OWLVocabulary::DISJOINT_WITH() in OWLVocabulary.php
distinct
SparqlEngine::distinct() in SparqlEngine.php
Eliminates duplicate results.
DISTINCT_MEMBERS
doLists
N3Parser::doLists() in N3Parser.php
Makes lists of elements in list into a seperate array element.
DOMAIN
OWLVocabulary::DOMAIN() in OWLVocabulary.php
Answer the predicate that denotes the domain of a property.
DOMAIN
RdfsVocabulary::DOMAIN() in RdfsVocabulary.php
Answer the predicate that denotes the domain of a property.
doNamespaces
N3Serializer::doNamespaces() in N3Serializer.php
Makes ns0, ns1 etc. prefixes for unknown prefixes.
doResource
N3Serializer::doResource() in N3Serializer.php
Fill in $resourcetext for a single resource.
doURI
N3Serializer::doURI() in N3Serializer.php
Format a single URI
dtypeCheck
SparqlParser::dtypeCheck() in SparqlParser.php
Checks if the Node is a typed Literal.
DbModel.php
DbModel.php in DbModel.php
DbStore.php
DbStore.php in DbStore.php
e
top
$entailment
InfRule::$entailment in InfRule.php
Array, that hold the entailment subject in key ['s'], the entailment predicate in ['p'], and the entailment object in ['o'].
entail
InfRule::entail() in InfRule.php
Returns a infered InfStatement by evaluating the statement with the entailment rule.
entailStatement
Entails a statement by recursively using the _entailStatementRec method.
equals
Quad::equals() in Quad.php
Checks if two quads are equal.
equals
ResResource::equals() in ResResource.php
Checks if the resource equals another resource.
equals
BlankNode::equals() in Blanknode.php
Checks if two blank nodes are equal.
equals
Resource::equals() in Resource.php
Checks if the resource equals another resource.
equals
Literal::equals() in Literal.php
Checks if ihe literal equals another literal.
equals
DbModel::equals() in DbModel.php
Check if two models are equal.
equals
ResModel::equals() in ResModel.php
Checks if two models are equal.
equals
MemModel::equals() in MemModel.php
Checks if two models are equal.
equals
Statement::equals() in Statement.php
Checks if two statements are equal.
EQUIVALENT_CLASS
EQUIVALENT_PROPERTY
error
SparqlParser::error() in SparqlParser.php
Error reporting.
escapeValue
RDFUtil::escapeValue() in RdfUtil.php
Escapes < > and &
expandLists
N3Parser::expandLists() in N3Parser.php
This makes [ ] lists into bnodes.
f
top
$findDeadEnds
InfModelB::$findDeadEnds in InfModelB.php
Array that holds combinations of inference rules with distinct find-querys, that don't lead to any inference.
$findGraph
IterFind::$findGraph in IterFind.php
The graph to look in.
$findGraphName
IteratorFindQuadsMem::$findGraphName in IteratorFindQuadsMem.php
The graphName Resource to search for.
$findLiteralWithLang
If set, each resource will first be checked, if it's language fits.
$findObject
IteratorFindQuadsMem::$findObject in IteratorFindQuadsMem.php
The object Resource to search for.
$findObject
IterFind::$findObject in IterFind.php
The object Resource to search for
$findPredicate
IteratorFindQuadsMem::$findPredicate in IteratorFindQuadsMem.php
The predicate Resource to search for.
$findPredicate
IterFind::$findPredicate in IterFind.php
The predicate Resource to search for
$findSubject
IterFind::$findSubject in IterFind.php
The subject Resource to search for
$findSubject
IteratorFindQuadsMem::$findSubject in IteratorFindQuadsMem.php
The subject Resource to search for.
fillConstraintString
Builds an evaluation string to determine wether the result passes the filter or not. This string is evaluatet by the php buildin eval() function
filterPatterns
SparqlEngine::filterPatterns() in SparqlEngine.php
Filters the pattern results.
filterQueryResult
Filter tuples containing variables matching all patterns from the WHERE clause of an RDQL query. As a result of a database query using ADOdb these tuples are returned as an ADORecordSet object, which is then passed to this function.
filterTuples
RdqlMemEngine::filterTuples() in RdqlMemEngine.php
Filter the result-set of query variables by evaluating each filter from the AND clause of the RDQL query.
filterWs
N3Parser::filterWs() in N3Parser.php
Removes all whitespace tokens from list
find
DbModel::find() in DbModel.php
General method to search for triples in the DbModel.
find
MemModel::find() in MemModel.php
General method to search for triples.
find
InfModelB::find() in InfModelB.php
General method to search for triples.
find
ResModel::find() in ResModel.php
General method to search for triples.
findAllQueryVariables
Find all query variables used in the WHERE clause.
findAsIterator
Returns a FindIterator for traversing the MemModel.
findAsIterator
Returns a FindIterator for traversing the MemModel.
findCount
MemModel::findCount() in MemModel.php
Searches for triples and returns the number of matches.
findCount
DbModel::findCount() in DbModel.php
Search for triples and return the number of matches.
findFirstMatchingStatement
Search for triples and return the first matching statement.
findFirstMatchingStatement
Searches for triples and returns the first matching statement.
findFirstMatchingStatement
Searches for triples and returns the first matching statement.
findFirstMatchingStatement
Searches for triples and returns the first matching statement.
findFirstMatchOff
Searches for triples and returns the first matching statement from a given offset.
findForward
Searches for triples using find() and tracks forward blank nodes until the final objects in the retrieved subgraphs are all named resources.
findInDefaultGraph
Finds Statements that match a pattern in the default Graph. The argument may contain wildcards.
findInDefaultGraph
Finds Statements that match a pattern in the default Graph. The argument may contain wildcards.
findInNamedGraphs
Finds Statements that match a quad pattern. The argument may contain wildcards.
findInNamedGraphs
Finds Statements that match a quad pattern. The argument may contain wildcards.
FindIterator
FindIterator in FindIterator.php
Iterator for traversing statements matching a searchpattern.
FindIterator
FindIterator::FindIterator() in FindIterator.php
Constructor
findRegex
InfModel::findRegex() in InfModel.php
Method to search for triples using Perl-style regular expressions.
findRegex
DbModel::findRegex() in DbModel.php
Method to search for triples using Perl-style regular expressions.
findRegex
MemModel::findRegex() in MemModel.php
Method to search for triples using Perl-style regular expressions.
findTriplesMatchingPattern
Search in $memModel for triples matching one pattern from the WHERE clause.
findTuplesMatchingAllPatterns
Find triples matching all patterns of an RDQL query and return an array with variables from all patterns and their corresponding values.
findTuplesMatchingOnePattern
Find tuples matching one pattern and return an array with pattern variables and their corresponding values (instances of object Node).
findTuplesMatchingOnePattern
Finds Tuples matching one TriplePattern.
findVocabulary
Returns all tripels of a certain vocabulary.
findVocabulary
Return all tripels of a certain vocabulary.
findVocabulary
Returns all tripels of a certain vocabulary.
fixAnon
N3Parser::fixAnon() in N3Parser.php
This makes bNodes out of variables like _:a etc.
fixAnon
N3Serializer::fixAnon() in N3Serializer.php
Fix the resourcetext for a blanknode where the _: construct was used
FUNCTIONAL_PROPERTY
FilterFunctions.php
FilterFunctions.php in FilterFunctions.php
FindIterator.php
FindIterator.php in FindIterator.php
g
top
$getSPO
ResIterator::$getSPO in ResIterator.php
If the resource, we're intrested in is the subject (s), predicate(p), or object (o) of the found statements
$graphIterator
IteratorFindQuadsMem::$graphIterator in IteratorFindQuadsMem.php
Iterator over all graphs of the RDF dataset.
$graphKey
IteratorFindQuadsMem::$graphKey in IteratorFindQuadsMem.php
key value in the current graph.
$graphName
Quad::$graphName in Quad.php
Name of the NamedGraphMem.
$graphName
NamedGraphMem::$graphName in NamedGraphMem.php
Name of the NamedGraphMem.
$graphName
NamedGraphDb::$graphName in NamedGraphDb.php
Name of the NamedGraphDb
$graphs
DatasetMem::$graphs in DatasetMem.php
List of all NamedGraphs.
$graphSet
TriXParser::$graphSet in TriXParser.php
Reference to the graphSet
$graphSet
TriXSerializer::$graphSet in TriXSerializer.php
Reference to the graphSet
generateModel
Main function
generateModel
GRDDLParser::generateModel() in GRDDLParser.php
generates a MemModel and creates the DomDocument.
generateModel
Generate a new MemModel from an URI or file.
generateModel
Generates a new MemModel from a URI, a file or from memory.
generateSql
RdqlDbEngine::generateSql() in RdqlDbEngine.php
Generate an SQL string to query the database for tuples matching all patterns of $parsedQuery.
generateSql_FromClause
Generate SQL FROM clause
generateSql_SelectClause
Generate SQL SELECT clause.
generateSql_WhereClause
Generate an SQL WHERE clause
get
ResList::get() in ResList.php
Returns the value of the list element at the specified position or null.
getAllVars
Query::getAllVars() in Query.php
Returns a list with all used variables.
getAssociatedModel
Get the reference to the assocoated model.
getAssociatedModel
Get the reference to the assocoated model.
getBase
Query::getBase() in Query.php
getBaseMemModel
Create a MemModel containing only the base triples (without inferred statements) of the current InfModelB.
getBaseMemModel
Create a MemModel containing only the base triples (without inferred statements) of the current InfModelF.
getBaseURI
Model::getBaseURI() in Model.php
Return current baseURI.
getBaseURI
ResModel::getBaseURI() in ResModel.php
Return current baseURI.
getBlanknodeLabel
Returns an unused Bnode label.
getComment
OntResource::getComment() in OntResource.php
Answer the comment string for this object. If there is more than one such resource, an arbitrary selection is made.
getConstraint
GraphPattern::getConstraint() in GraphPattern.php
Returns a constraint if there is one false if not.
getConstructPattern
Returns the constcutGraphPattern of the query if there is one.
getContentInArray
Get all values in the list as an array of ResResources
getCurrentPosition
Returns the current position of the iterator.
getCurrentPosition
Returns the current position of the iterator.
getDatasetDb
Create a new instance of DatasetDb with the given $datasetName and load the corresponding values from the database.
getDatasetMem
ModelFactory::getDatasetMem() in ModelFactory.php
Returns a NamedGraphSetMem.
getDatasetName
Returns the Datasets name.
getDatasetName
Returns the Datasets name.
getDatatype
Literal::getDatatype() in Literal.php
Returns the datatype of the literal.
getDbModel
ModelFactory::getDbModel() in ModelFactory.php
Returns a new DbModel using the database connection supplied by $dbStore.
getDbStore
ModelFactory::getDbStore() in ModelFactory.php
Returns a database connection with the given parameters.
getDefault
ResAlt::getDefault() in ResAlt.php
Return the default value for this resource
getDefaultDbModel
Returns a DbModel with the database connection defined in constants.php.
getDefaultGraph
Returns a reference to the defaultGraph
getDefaultGraph
Returns a reference to the defaultGraph.
getDefaultModel
Returns a MemModel.
getDomain
OntProperty::getDomain() in OntProperty.php
Answer a OntClass that represents the domain class of this property.
getElementText
RdfSerializer::getElementText() in RdfSerializer.php
getEntailment
getExpression
Constraint::getExpression() in Constraint.php
Returns the expression string.
getFN
SparqlParser::getFN() in SparqlParser.php
Gets the full URI of a qname token.
getFromNamedPart
getFromPart
getGraphName
Returns the graph name.
getGraphName
NamedGraphDb::getGraphName() in NamedGraphDb.php
Returns the graph name.
getGraphName
NamedGraphMem::getGraphName() in NamedGraphMem.php
Returns the graph name.
getGraphname
GraphPattern::getGraphname() in GraphPattern.php
Returns the graphname.
getGraphWithOffset
Returns the NamedGraph with a specific offset in the dataset.
getHead
ResList::getHead() in ResList.php
Get the value that is associated with the head of the list.
getID
BlankNode::getID() in Blanknode.php
Returns the ID of the blank node.
getId
GraphPattern::getId() in GraphPattern.php
Returns the GraphPatterns id.
getIndexType
MemModel::getIndexType() in MemModel.php
Returns the indextype: -1 if there is no index, 0 if there are indices over S,P,O(separate),
  1. 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
ModelFactory::getInfModelB() in ModelFactory.php
Returns a InfModelB.
getInfModelF
ModelFactory::getInfModelF() in ModelFactory.php
Returns a InfModelF.
getInstanceRdfType
returns the rdf:type, that this distinct resource is instance of.
getIsAnon
ResResource::getIsAnon() in ResResource.php
Determine whether this resource is an anonymous resource
getIsDefinedBy
Answer a resource that is declared to provide a definition of this resource.
getLabel
Resource::getLabel() in Resource.php
Returns the label of the resource, which is the URI of the resource.
getLabel
Literal::getLabel() in Literal.php
Returns the string value of the literal.
getLabel
BlankNode::getLabel() in Blanknode.php
Returns the ID of the blank node.
getLabelObject
Reurns the URI, text or bNode identifier of the statements's object.
getLabelPredicate
Returns the URI of the statements's predicate.
getLabelProperty
Answer the label ResLiteral for this object.
getLabelSubject
Returns the URI or bNode identifier of the statements's subject.
getLanguage
Literal::getLanguage() in Literal.php
Returns the language of the literal.
getLocalName
Delivers the Localname (without the namespace prefix) out of the URI of a Resource.
getLocalName
Resource::getLocalName() in Resource.php
Returns the local name of the resource.
getMember
ResSeq::getMember() in ResSeq.php
Get the member at a given index
getMembers
ResContainer::getMembers() in ResContainer.php
Get an array of all resources that are values of this container
getMemModel
DbModel::getMemModel() in DbModel.php
Create a MemModel containing all the triples of the current DbModel.
getMemModel
InfModelF::getMemModel() in InfModelF.php
Create a MemModel containing all the triples (including inferred statements) of the current InfModelF.
getMemModel
InfModelB::getMemModel() in InfModelB.php
Create a MemModel containing all the triples (including inferred statements) of the current InfModelB.
getMemModel
ModelFactory::getMemModel() in ModelFactory.php
Returns a MemModel.
getMemModelByRDQL
Perform an RDQL query on this Model. Should work with all types of models.
getModel
DbStore::getModel() in DbStore.php
Create a new instance of DbModel with the given $modelURI and load the corresponding values of modelID and baseURI from the database.
getModel
ResModel::getModel() in ResModel.php
Returns a reference to the underlying model (Mem/DB/InfModel) that contains the statements
getModifiedFind
Returns a find-query that matches statements, whose entailed statements would match the supplied find query.
getNamedGraph
Returns the NamedGraph with a specific name from the Dataset.
getNamedGraph
DatasetMem::getNamedGraph() in DatasetMem.php
Returns the NamedGraph with a specific name from the Dataset.
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
Resource::getNamespace() in Resource.php
Returns the namespace of the resource. May return null.
getNamespace
Extracts the namespace prefix out of the URI of a Resource.
getNamespaceEnd
Position of the namespace end
getNewDatasetDb
Create a new instance of DatasetDb with the given $datasetName and insert the DatasetDb variables into the database.
getNewModel
DbStore::getNewModel() in DbStore.php
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).
getNewPattern
Generates a new GraphPattern. If it is a CONSTRUCT graph pattern $constr has to set to TRUE FALSE if not.
getNextNamespacePrefix
getNodeTypeName
Get Node Type.
getObject
Quad::getObject() in Quad.php
Returns the object.
getObject
QueryTriple::getObject() in QueryTriple.php
Returns the Triples Object.
getObject
Statement::getObject() in Statement.php
Returns the object of the triple.
getObjs
N3Parser::getObjs() in N3Parser.php
Gets a list of triples with same predicate e.g. :Gunnar :likes "Cheese", "Wine".
getOntModel
ModelFactory::getOntModel() in ModelFactory.php
Returns an OntModel.
getOntModel
Returns an OntModel with this model as baseModel.
getOntModelForBaseModel
Creates an OntModel that wraps an existing base model.
getOptional
GraphPattern::getOptional() in GraphPattern.php
Returns a pointer to an optional graph pattern.
getOrd
RDFUtil::getOrd() in RdfUtil.php
Converts an ordinal RDF resource to an integer.
getParsedNamespaces
Returns the models namespaces.
getParsedNamespaces
Returns the models namespaces.
getParsedNamespaces
Returns the models namespaces.
getPointer
SparqlParserException::getPointer() in SparqlParserException.php
Returns a pointer to the token which caused the exception.
getPovs
N3Parser::getPovs() in N3Parser.php
Gets a list of triples with same subject e.g. :Gunnar :firstname "Gunnar" ; :lastname "Grimnes.
getPredicate
Statement::getPredicate() in Statement.php
Returns the predicate of the triple.
getPredicate
QueryTriple::getPredicate() in QueryTriple.php
Returns the Triples Predicate.
getPredicate
Returns the predicate.
getPrefix
RDFUtil::getPrefix() in RdfUtil.php
Short Prefix for known Namespaces by given URI
getPrefixes
getPrefixes
N3Parser::getPrefixes() in N3Parser.php
Returns an array with prefixes=>namespace mappings
getProperty
ResModel::getProperty() in ResModel.php
Answer a statement find(s, p, null) with ResResources(ResLiterals) from this model.
getProperty
ResResource::getProperty() in ResResource.php
Answer some statement (this, p, O) in the associated model.
getPropertyValue
Answer the value of a given RDF property for this resource as $returnType, or null if it doesn't have one. If there is more than one RDF statement with the given property for the current value, it is not defined which of the values will be returned.
getRange
OntProperty::getRange() in OntProperty.php
Answer a OntClass that represents the range class of this property.
getRDFType
OntResource::getRDFType() in OntResource.php
Answer the rdf:type (ie the class) of this resource.
getResModel
ModelFactory::getResModel() in ModelFactory.php
Returns a ResModel.
getResModel
Returns a ResModel with this model as baseModel. This is the same as ModelFactory::getResModelForBaseModel($this).
getResModelForBaseModel
Creates a ResModel that wraps an existing base model.
getResultForm
getResultLabels
RdqlResultIterator::getResultLabels() in RdqlResultIterator.php
Returns the labels of the result as array.
getResultPart
getResultVars
getSchema
InfModel::getSchema() in InfModel.php
Returns a model, containing all Statements, having a Predicate, that is supported by the inference.
getSeeAlso
OntResource::getSeeAlso() in OntResource.php
Answer a resource that provides additional information about this resource.
getSolutionModifier
Gets the solution modifiers of the query.
getSpan
N3Parser::getSpan() in N3Parser.php
Gets a slice of an array.
getSparqlClient
Creates a SparqlClient.
getStatement
Returns the statement(subject,predicate,object).
getStatementIterator
Returns a StatementIterator for traversing the Model.
getStatementIterator
Returns a StatementIterator for traversing the MemModel.
getStatements
Returns an array of triples extracted from the list of n3 tokens
getSubClass
OntClass::getSubClass() in OntClass.php
Answer a class that is the sub-class of this class.
getSubject
QueryTriple::getSubject() in QueryTriple.php
Returns the Triples Subject.
getSubject
Quad::getSubject() in Quad.php
Returns the subject.
getSubject
Statement::getSubject() in Statement.php
Returns the subject of the triple.
getSubProperty
Answer a property that is the sub-property of this property.
getSuperClass
Answer a class that is the super-class of this class.
getSuperProperty
Answer a property that is the super-property of this property.
getTail
ResList::getTail() in ResList.php
Get the list that is the tail of this list.
getTrigger
InfRule::getTrigger() in InfRule.php
getTriplePattern
Returns the triple pattern of the graph pattern.
getUnion
GraphPattern::getUnion() in GraphPattern.php
Returns a pointer to a union graph pattern.
getUniqueResourceURI
Internal method, that returns a resource URI that is unique for the Model.
getUniqueResourceURI
Internal method, that returns a resource URI that is unique for the Model.
getURI
Resource::getURI() in Resource.php
Returns the URI of the resource.
getValueQuoteType
getVocabulary
OntResource::getVocabulary() in OntResource.php
Answer a reference to the ontology language profile that governs the ontology model to which this ontology resource is attached.
GraphPattern
GraphPattern::GraphPattern() in GraphPattern.php
Constructor
GraphPattern
GraphPattern in GraphPattern.php
A graph pattern which consists of triple patterns, optional or union graph patterns and filters.
GRDDLParser
GRDDLParser in GRDDLParser.php
A GRDDLParser.
guessName
RDFUtil::guessName() in RdfUtil.php
Delivers the name out of the URI (without the namespace prefix).
guessNamespace
Extracts the namespace prefix out of a URI.
guessPrefix
RDFUtil::guessPrefix() in RdfUtil.php
Short Prefix for known and/or parsed Namespaces by given URI and Model Uses $default_prefixes defined in constants.php and getParsedNamespaces() Returns FALSE if no matching prefix is found
GraphPattern.php
GraphPattern.php in GraphPattern.php
GRDDLParser.php
GRDDLParser.php in GRDDLParser.php
h
top
hasComment
OntResource::hasComment() in OntResource.php
Answer true if this resource has the given comment.
hasDefaultGraph
Returns true, if a defaultGraph exists. False otherwise.
hasDefaultGraph
Returns true, if an defaultGraph exists. False otherwise .
hasDomain
OntProperty::hasDomain() in OntProperty.php
Answer true if the given resource a class specifying the domain of this property.
hashCode
Statement::hashCode() in Statement.php
Retruns the hash code of the triple.
hasLabelProperty
Answer true if this resource has the given label.
hasNext
RdqlResultIterator::hasNext() in RdqlResultIterator.php
Returns TRUE if there are more results.
hasNext
StatementIterator::hasNext() in StatementIterator.php
Returns TRUE if there are more statements.
hasNext
FindIterator::hasNext() in FindIterator.php
Returns TRUE if there are more matching statements.
hasPrevious
RdqlResultIterator::hasPrevious() in RdqlResultIterator.php
Returns TRUE if the first result has not been reached.
hasPrevious
StatementIterator::hasPrevious() in StatementIterator.php
Returns TRUE if the first statement has not been reached.
hasProperty
ResResource::hasProperty() in ResResource.php
Determine whether this resource has any values for a given property.
hasRange
OntProperty::hasRange() in OntProperty.php
Answer true if the given resource a class specifying the range of this property.
hasRDFType
OntResource::hasRDFType() in OntResource.php
Answer true if this resource has the given rdf:type.
hasSeeAlso
OntResource::hasSeeAlso() in OntResource.php
Answer true if this resource has the given resource as a source of additional information.
hasSubclass
OntClass::hasSubclass() in OntClass.php
Answer true if the given class is a sub-class of this class.
hasSubProperty
Answer true if the given property is a sub-property of this property.
hasSuperClass
Answer true if the given class is a super-class of this class.
hasSuperProperty
Answer true if the given property is a super-property of this property.
HAS_VALUE
OWLVocabulary::HAS_VALUE() in OWLVocabulary.php
i
top
$indexArr
MemModel::$indexArr in MemModel.php
Array containing the search indices
$indexed
MemModel::$indexed in MemModel.php
depending on which index is used this variable is -1,0,1,2 or 3
$inferenceEnabled
Variable that influences the habbit when adding statements.
$infPos
InfModelF::$infPos in InfModelF.php
Array that holds the position of the infered statements in the model.
$infRules
InfModel::$infRules in InfModel.php
Array that holds the objects of the class Infrule, which were assigned by the _addToInference() function
$infRulesEntailIndex
Array of the infRule entailments and the matching infrules.
$infRulesTriggerIndex
Array of the infRule triggers and the matching infrules.
$isAnon
ResResource::$isAnon in ResResource.php
Is true, if this resource is an anonymous node.
IteratorAllGraphsDb.php
IteratorAllGraphsDb.php in IteratorAllGraphsDb.php
IteratorAllGraphsMem.php
IteratorAllGraphsMem.php in IteratorAllGraphsMem.php
IteratorFindQuadsDb.php
IteratorFindQuadsDb.php in IteratorFindQuadsDb.php
IteratorFindQuadsMem.php
IteratorFindQuadsMem.php in IteratorFindQuadsMem.php
image
RssParser::image() in RssParser.php
Parses the image if there is one.
IMPORTS
OWLVocabulary::IMPORTS() in OWLVocabulary.php
INCOMPATIBLE_WITH
index
MemModel::index() in MemModel.php
Builds a search index for the statements in the MemModel.
indexOf
ResList::indexOf() in ResList.php
Get the Position of the first occurrence of the given value in the list, or -1 if the value is not in the list.
indexOf
ResSeq::indexOf() in ResSeq.php
Return the index of a given member of the sequence.
Individual
Individual::Individual() in Individual.php
Constructor You can supply a uri
Individual
Individual in Individual.php
Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion.
InfModel
InfModel::InfModel() in InfModel.php
Constructor You can supply a base_uri
InfModel
InfModel in InfModel.php
A InfModel Model extends a MemModel , by adding the ability to infer statements from known statements and RDFS/OWL-Schematas.
InfModel.php
InfModel.php in InfModel.php
InfModelB.php
InfModelB.php in InfModelB.php
InfModelF.php
InfModelF.php in InfModelF.php
InfRule.php
InfRule.php in InfRule.php
InfStatement.php
InfStatement.php in InfStatement.php
InfModelB
InfModelB::InfModelB() in InfModelB.php
Constructor You can supply a base_uri
InfModelB
InfModelB in InfModelB.php
A InfModelB extends the InfModel Class, with a backward chaining algorithm.
InfModelF
InfModelF::InfModelF() in InfModelF.php
Constructor You can supply a base_uri.
InfModelF
InfModelF in InfModelF.php
A InfModelF extends the InfModel Class, with a forward chaining algorithm.
infRule
InfRule::infRule() in InfRule.php
Constructor
InfRule
InfRule in InfRule.php
This class represents a single rule in a RDFS inference model.
InfStatement
InfStatement in InfStatement.php
An RDF statement which was entailed by a inference rule.
intersect
MemModel::intersect() in MemModel.php
Returns a new MemModel containing all the statements which are in both this MemModel and another.
intersect
ResModel::intersect() in ResModel.php
Returns a new model containing all the statements which are in both this model and another.
intersect
DbModel::intersect() in DbModel.php
Return a new MemModel containing all the statements which are in both this model and the given model.
INTERSECTION_OF
INVERSE_FUNCTIONAL_PROPERTY
INVERSE_OF
OWLVocabulary::INVERSE_OF() in OWLVocabulary.php
iriCheck
SparqlParser::iriCheck() in SparqlParser.php
Checks if $token is an IRI.
isAlt
ResContainer::isAlt() in ResContainer.php
Returns true, if this resource is a container from type rdf:Alt
isBag
ResContainer::isBag() in ResContainer.php
Returns true, if this resource is a container from type rdf:Bag
isDefinedBy
OntResource::isDefinedBy() in OntResource.php
Answer true if this resource is defined by the given resource.
isEmpty
MemModel::isEmpty() in MemModel.php
Checks if MemModel is empty
isEmpty
ResList::isEmpty() in ResList.php
Returns true, if this list is empty
isEmpty
DatasetDb::isEmpty() in DatasetDb.php
Tells wether the set contains any NamedGraphs.
isEmpty
ResModel::isEmpty() in ResModel.php
Checks if MemModel is empty
isEmpty
DbModel::isEmpty() in DbModel.php
Check if this DbModel is empty.
isEmpty
DatasetMem::isEmpty() in DatasetMem.php
Tells wether the set contains any NamedGraphs.
isIndexed
MemModel::isIndexed() in MemModel.php
Returns true if there is an index, false if not.
isOuterFilter
Constraint::isOuterFilter() in Constraint.php
Returns true if this constraint is an outer filter- false if not.
isRDF
RDFUtil::isRDF() in RdfUtil.php
Tests if the URI of a resource belongs to the RDF syntax/model namespace.
isSeq
ResContainer::isSeq() in ResContainer.php
Returns true, if this resource is a container from type rdf:Seq
isSetup
DbStore::isSetup() in DbStore.php
Checks if tables are setup for RAP
isValid
ResList::isValid() in ResList.php
Answer true if the list is well-formed, by checking that each node is correctly typed, and has a head and tail pointer from the correct vocabulary
isWS
N3Parser::isWS() in N3Parser.php
Returns FALSE if argument is a whitespace character
IS_DEFINED_BY
RdfsVocabulary::IS_DEFINED_BY() in RdfsVocabulary.php
Answer the predicate that denotes isDefinedBy annotation on an ontology element
IS_DEFINED_BY
OWLVocabulary::IS_DEFINED_BY() in OWLVocabulary.php
Answer the predicate that denotes isDefinedBy annotation on an ontology element
is_valid_id
RdfParser::is_valid_id() in RdfParser.php
IDs which contain CombiningChars or Extenders (see http://www.w3.org/TR/REC-xml-names/#NT-NCName) are assumed to be invalid.
items
RssParser::items() in RssParser.php
Parses the rss items/ atom entries.
IteratorAllGraphsDb
Constructor.
IteratorAllGraphsDb
IteratorAllGraphsDb in IteratorAllGraphsDb.php
Implementation of a Graph iterator.
IteratorAllGraphsMem
Constructor.
IteratorAllGraphsMem
IteratorAllGraphsMem in IteratorAllGraphsMem.php
Implementation of a Graph iterator.
IteratorFindQuadsDb
Constructor.
IteratorFindQuadsDb
IteratorFindQuadsDb in IteratorFindQuadsDb.php
Implementation of a quad iterator.
IteratorFindQuadsMem
IteratorFindQuadsMem in IteratorFindQuadsMem.php
Implementation of a quad iterator.
IteratorFindQuadsMem
Constructor.
iterFind
DbModel::iterFind() in DbModel.php
Returns a FindIterator for traversing the MemModel.
IterFind
IterFind::IterFind() in IterFind.php
Constructor.
IterFind
IterFind in IterFind.php
Implementation of a find-iterator which delivers statements or quads.
iterFind
MemModel::iterFind() in MemModel.php
Returns a FindIterator for traversing the MemModel.
Individual.php
Individual.php in Individual.php
IterFind.php
IterFind.php in IterFind.php
j
top
joinOptionalTuples
Joins OPTIONAL pattern results.
joinResults
SparqlEngine::joinResults() in SparqlEngine.php
Joins the results of the different Graphpatterns.
joinTuples
SparqlEngine::joinTuples() in SparqlEngine.php
Perform an SQL-like inner join on two resultSets.
joinTuples
RdqlMemEngine::joinTuples() in RdqlMemEngine.php
Perform an SQL-like inner join on two resultSets.
k
top
$key
IterFind::$key in IterFind.php
The current position
$key
ResIterator::$key in ResIterator.php
The current position
$key
IteratorAllGraphsDb::$key in IteratorAllGraphsDb.php
The current position
$key
IteratorFindQuadsMem::$key in IteratorFindQuadsMem.php
The current position.
$key
IteratorAllGraphsMem::$key in IteratorAllGraphsMem.php
The current position
key
IteratorAllGraphsDb::key() in IteratorAllGraphsDb.php
Returns the key of the current item
key
ResIterator::key() in ResIterator.php
Returns the key of the current item
key
IterFind::key() in IterFind.php
Returns the key of the current item
key
IteratorFindQuadsDb::key() in IteratorFindQuadsDb.php
Returns the key of the current item.
key
IteratorFindQuadsMem::key() in IteratorFindQuadsMem.php
Returns the key of the current item.
key
IteratorAllGraphsMem::key() in IteratorAllGraphsMem.php
Returns the key of the current item.
l
top
$label
Literal::$label in Literal.php
Label of the literal
$lang
SparqlResultParser::$lang in SparqlResultParser.php
$lang
Literal::$lang in Literal.php
Language of the literal
LABEL
OWLVocabulary::LABEL() in OWLVocabulary.php
Answer the predicate that denotes label annotation on an ontology element
LABEL
RdfsVocabulary::LABEL() in RdfsVocabulary.php
Answer the predicate that denotes label annotation on an ontology element
lang
lang() in FilterFunctions.php
Evaluates the lang() function. Returns lang tag of a Literal.
langMatches
langMatches() in FilterFunctions.php
Evaluates the langMatches() function. Return true if the lang tag matches false if not.
listClasses
OntModel::listClasses() in OntModel.php
Answer an array that ranges over all of the various forms of class description resource in this model.
listComments
OntResource::listComments() in OntResource.php
Answer an array of all of the comment literals for this resource.
listDomain
OntProperty::listDomain() in OntProperty.php
Answer an array of all of the declared domain classes of this property.
listGraphNames
Returns the names of the namedGraphs in this set as strings in an array.
listGraphNames
Returns the names of the namedGraphs in this set as strings in an array.
listify
N3Parser::listify() in N3Parser.php
Returns a list with the elements between start and end as one quoted string
listInstances
Answer an ResIterator over the individuals in the model that have this class among their types.
listIsDefinedBy
Answer an array of all of the resources that are declared to define this resource.
listLabelProperties
Answer an array of all of the label literals for this resource, with the given language, if $language is set.
listModels
DbStore::listModels() in DbStore.php
List all DbModels stored in the database.
listNamedGraphs
Returns an iterator over all NamedGraphs in the set.
listNamedGraphs
Returns an iterator over all NamedGraphs in the set.
listObjects
ResModel::listObjects() in ResModel.php
Returns a ResIterator with all objects in a model.
listObjectsOfProperty
Returns a ResIterator with all objects with a given property and property value.
listProperties
List all the values with the property p as statements in an array.
listProperty
OntResource::listProperty() in OntResource.php
Answer an array of values of a given RDF property for this resource as $returnType, or null if it doesn't have one.
listRange
OntProperty::listRange() in OntProperty.php
Answer an array of all of the declared range classes of this property.
listRDFTypes
OntResource::listRDFTypes() in OntResource.php
Answer an array of the RDF classes to which this resource belongs.
listSeeAlso
OntResource::listSeeAlso() in OntResource.php
Answer an array of all of the resources that are declared to provide addition information about this resource.
listStuff
N3Parser::listStuff() in N3Parser.php
Apply doLists for all different types of list.
listSubClasses
Answer an array over the classes that are declared to be sub-classes of this class.
listSubjects
ResModel::listSubjects() in ResModel.php
Returns a ResIterator with all subjects in a model.
listSubjectsWithProperty
Returns a ResIterator with all subjects with a given property and property value.
listSubProperties
Answer an array of all the properties that are declared to be sub-properties of this property. Each element of the iterator will be an OntProperty.
listSuperClasses
Answer an array over the classes that are declared to be super-classes of this class.
listSuperProperties
Answer an array of all the properties that are declared to be super-properties of this property. Each element of the iterator will be an OntProperty.
Literal
Literal::Literal() in Literal.php
Constructor
Literal
Literal in Literal.php
An RDF literal.
literalCheck
SparqlParser::literalCheck() in SparqlParser.php
Checks if $token is a Literal.
load
InfModelF::load() in InfModelF.php
Load a model from a file containing RDF, N3 or N-Triples.
load
Model::load() in Model.php
Load a model from a file containing RDF, N3, N-Triples or a xhtml document containing RDF.
load
ResModel::load() in ResModel.php
Load a model from a file containing RDF, N3 or N-Triples.
loadFromFile
Load a Dataset from a File
loadFromString
Load a Datset from a string
Literal.php
Literal.php in Literal.php
m
top
$mode
SparqlResultParser::$mode in SparqlResultParser.php
$model
ResLiteral::$model in ResLiteral.php
Holds a reference to the associated model
$model
RdfParser::$model in RdfParser.php
$model
NTripleSerializer::$model in NTripleSerializer.php
$model
N3Serializer::$model in N3Serializer.php
$model
ResModel::$model in ResModel.php
Holds a reference to the assoiated memmodel/dbmodel/infmodel
$model
StatementIterator::$model in StatementIterator.php
Reference to the MemModel
$model
FindIterator::$model in FindIterator.php
Reference to the MemModel
$model
ResResource::$model in ResResource.php
Holds a reference to the associated model
$modelID
DbModel::$modelID in DbModel.php
Database internal modelID.
$modelURI
DbModel::$modelURI in DbModel.php
Unique model URI.
$m_attributeStatements
$m_baseURI
RdfSerializer::$m_baseURI in RdfSerializer.php
$m_contentStatements
$m_currentSubject
$m_defaultNamespaces
$m_groupTypeStatement
$m_namespaces
RdfSerializer::$m_namespaces in RdfSerializer.php
$m_nextAutomaticPrefixIndex
$m_out
RdfSerializer::$m_out in RdfSerializer.php
$m_rdfAboutElementText
$m_rdfIDElementText
$m_rdfResourceElementText
$m_statements
RdfSerializer::$m_statements in RdfSerializer.php
MAGIC_STRING
MAGIC_STRING in N3Serializer.php
matchPattern
SparqlEngine::matchPattern() in SparqlEngine.php
Finds tuples that match one graph pattern.
matchPatterns
SparqlEngine::matchPatterns() in SparqlEngine.php
Matches all graph Patterns against the dataset and generates an array which contains the result sets for every given GraphPattern.
matchStatement
Internal method that checks, if a statement matches a S, P, O or NULL combination.
MAX_CARDINALITY
MemModel
MemModel in MemModel.php
A MemModel is an RDF Model, which is stored in the main memory.
MemModel
MemModel::MemModel() in MemModel.php
Constructor You can supply a base_uri
MIN_CARDINALITY
Model
Model::Model() in Model.php
Notice for people who are used to work with older versions of RAP.
Model
Model in Model.php
Abstract superclass of MemModel and DbModel. A model is a programming interface to an RDF graph.
MemModel.php
MemModel.php in MemModel.php
Model.php
Model.php in Model.php
ModelFactory.php
ModelFactory.php in ModelFactory.php
ModelComparator
ModelComparator in ModelComparator.php
This class compares to models. This comparator bases on the labelling algorithm described in <href="http://www.hpl.hp.com/techreports/2003/HPL-2003-142.pdf" >Signing RDF Graphs</href> by Jeremy J. Carroll.
modelExists
DbStore::modelExists() in DbStore.php
Check if the DbModel with the given modelURI is already stored in the database
ModelFactory
ModelFactory in ModelFactory.php
ModelFactory is a static class which provides methods for creating different types of RAP models. RAP models have to be created trough a ModelFactory instead of creating them directly with the 'new' operator because of RAP's dynamic code inclusion mechanism.
moveFirst
StatementIterator::moveFirst() in StatementIterator.php
Moves the pointer to the first statement.
moveFirst
RdqlResultIterator::moveFirst() in RdqlResultIterator.php
Moves the pointer to the first result.
moveLast
StatementIterator::moveLast() in StatementIterator.php
Moves the pointer to the last statement.
moveLast
RdqlResultIterator::moveLast() in RdqlResultIterator.php
Moves the pointer to the last result.
moveTo
RdqlResultIterator::moveTo() in RdqlResultIterator.php
Moves the pointer to a specific result.
moveTo
StatementIterator::moveTo() in StatementIterator.php
Moves the pointer to a specific statement.
ModelComparator.php
ModelComparator.php in ModelComparator.php
n
top
$named
ClientQuery::$named in ClientQuery.php
NamedGraphDb.php
NamedGraphDb.php in NamedGraphDb.php
NamedGraphMem.php
NamedGraphMem.php in NamedGraphMem.php
Node.php
Node.php in Node.php
N3Parser
N3Parser::N3Parser() in N3Parser.php
Constructor
N3Parser
N3Parser in N3Parser.php
PHP Notation3 Parser
N3Serializer
N3Serializer in N3Serializer.php
An abstract object.
N3Serializer
N3Serializer::N3Serializer() in N3Serializer.php
Constructor
n3tolist
N3Parser::n3tolist() in N3Parser.php
Main work-horse function. This converts a N3 string to a list of statements
NamedGraphDb
NamedGraphDb::NamedGraphDb() in NamedGraphDb.php
Constructor Do not call this directly.
NamedGraphDb
NamedGraphDb in NamedGraphDb.php
Persistent NamedGraph implementation that extends a DbModel.
NamedGraphMem
NamedGraphMem in NamedGraphMem.php
NamedGraph implementation that extends a MemModel with a name.
NamedGraphMem
NamedGraphMem::NamedGraphMem() in NamedGraphMem.php
Constructor You have to supply a graph name. You can supply a URI.
NAMESPACE
RdfsVocabulary::NAMESPACE() in RdfsVocabulary.php
Answer the string that is the namespace prefix for this vocabulary
NAMESPACE
OWLVocabulary::NAMESPACE() in OWLVocabulary.php
next
RdqlResultIterator::next() in RdqlResultIterator.php
Returns the next result array.
next
StatementIterator::next() in StatementIterator.php
Returns the next statement.
next
ResIterator::next() in ResIterator.php
Moves Iterator to the next item in the list
next
IteratorAllGraphsMem::next() in IteratorAllGraphsMem.php
Moves Iterator to the next item in the list.
next
IterFind::next() in IterFind.php
Moves Iterator to the next item in the list
next
IteratorFindQuadsDb::next() in IteratorFindQuadsDb.php
Moves Iterator to the next item in the list.
next
IteratorAllGraphsDb::next() in IteratorAllGraphsDb.php
Moves Iterator to the next item in the list
next
IteratorFindQuadsMem::next() in IteratorFindQuadsMem.php
Moves Iterator to the next item in the list.
next
FindIterator::next() in FindIterator.php
Returns the next matching statement.
Node
Node in Node.php
An abstract RDF node.
notComment
N3Parser::notComment() in N3Parser.php
Returns true if the string is not a comment
NOTHING
OWLVocabulary::NOTHING() in OWLVocabulary.php
NTripleSerializer
Constructor
NTripleSerializer
NTripleSerializer in NTripleSerializer.php
PHP N-Triple Serializer
N3Parser.php
N3Parser.php in N3Parser.php
N3Serializer.php
N3Serializer.php in N3Serializer.php
NTripleSerializer.php
NTripleSerializer.php in NTripleSerializer.php
o
top
$obj
Statement::$obj in Statement.php
Object of the statement
$object
FindIterator::$object in FindIterator.php
$output
SparqlClient::$output in SparqlClient.php
$OWL_NS
N3Parser::$OWL_NS in N3Parser.php
Object
Object in Object.php
An abstract object.
object
Statement::object() in Statement.php
Alias for getObject()
OBJECT_CLASS
OWLVocabulary::OBJECT_CLASS() in OWLVocabulary.php
OBJECT_PROPERTY
OBJECT_RESTRICTION
ONE_OF
OWLVocabulary::ONE_OF() in OWLVocabulary.php
ONTCLASS
RdfsVocabulary::ONTCLASS() in RdfsVocabulary.php
Answer the resource that represents the class 'class' in this vocabulary.
ONTCLASS
OWLVocabulary::ONTCLASS() in OWLVocabulary.php
Answer the resource that represents the class 'class' in this vocabulary.
OntClass
OntClass::OntClass() in OntClass.php
Constructor You can supply a uri
OntClass
OntClass in OntClass.php
Class that represents an ontology node characterising a class description.
OntModel
OntModel::OntModel() in OntModel.php
Constructor.
OntModel
OntModel in OntModel.php
Enhanced view of the model that is known to contain ontology data, under a
OntClass.php
OntClass.php in OntClass.php
OntModel.php
OntModel.php in OntModel.php
OntProperty.php
OntProperty.php in OntProperty.php
OntResource.php
OntResource.php in OntResource.php
OntVocabulary.php
OntVocabulary.php in OntVocabulary.php
OWLVocabulary.php
OWLVocabulary.php in OWLVocabulary.php
ONTOLOGY
OWLVocabulary::ONTOLOGY() in OWLVocabulary.php
OntProperty
OntProperty::OntProperty() in OntProperty.php
Constructor.
OntProperty
OntProperty in OntProperty.php
Class encapsulating a property in an ontology.
OntResource
OntResource::OntResource() in OntResource.php
Constructor You can supply a uri
OntResource
OntResource in OntResource.php
Provides a common super-type for all of the abstractions in this ontology representation package.
OntVocabulary
OntVocabulary in OntVocabulary.php
Base Class that encapsulates the elements of a general vocabulary
ON_PROPERTY
OWLVocabulary::ON_PROPERTY() in OWLVocabulary.php
OWLVocabulary
OWLVocabulary in OWLVocabulary.php
OWL vocabulary items
Object.php
Object.php in Object.php
p
top
$parsedNamespaces
$parsedNamespaces
Array of namespaces
$parsedQuery
RdqlDbEngine::$parsedQuery in RdqlDbEngine.php
Parsed query variables and constraints.
$parsedQuery
RdqlParser::$parsedQuery in RdqlParser.php
Parsed query variables and constraints.
$parsedQuery
RdqlMemEngine::$parsedQuery in RdqlMemEngine.php
Parsed query variables and constraints.
$parseError
N3Parser::$parseError in N3Parser.php
$position
StatementIterator::$position in StatementIterator.php
Current position StatementIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single MemModel.
$position
RdqlResultIterator::$position in RdqlResultIterator.php
Current position RdqlResultIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single Rdql result.
$position
FindIterator::$position in FindIterator.php
Current position FindIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single MemModel.
$pred
Statement::$pred in Statement.php
Predicate of the statement
$predicate
FindIterator::$predicate in FindIterator.php
$prefixes
N3Serializer::$prefixes in N3Serializer.php
$prefixes
ClientQuery::$prefixes in ClientQuery.php
parse
SparqlResultParser::parse() in SparqlResultParser.php
Main function of SparqlResultParser
parse
SparqlParser::parse() in SparqlParser.php
Main function of SparqlParser. Parses a query string.
parse
N3Parser::parse() in N3Parser.php
This parses a N3 string and prints out the triples
parse2model
N3Parser::parse2model() in N3Parser.php
This parses a N3 string and returns a memmodel
parseAnd
RdqlParser::parseAnd() in RdqlParser.php
Parse the AND clause of an Rdql query
parseAsk
SparqlParser::parseAsk() in SparqlParser.php
Sets result form to 'ASK'.
parseBase
SparqlParser::parseBase() in SparqlParser.php
Parses the BASE part of the query.
parseBrackettedExpression
Parses a bracketted expression.
parseCollection
Parses an RDF collection.
parseConstraint
Parses a value constraint.
parseConstruct
SparqlParser::parseConstruct() in SparqlParser.php
Parses the CONSTRUCT clause.
parseDescribe
SparqlParser::parseDescribe() in SparqlParser.php
Adds a new variable to the query and sets result form to 'DESCRIBE'.
parseExpression
Parses an expression.
parseExpressions
Parse expressions inside the passed filter: 1) regex equality expressions: ?var [~~ | =~ | !~ ] REG_EX 2a) string equality expressions: ?var [eq | ne] "literal"@lang^^dtype.
parseFile
TriXParser::parseFile() in TriXParser.php
Parse from a file
parseFilter
RdqlParser::parseFilter() in RdqlParser.php
Check if a filter from the AND clause contains an equal number of '(' and ')' and parse filter expressions.
parseFrom
SparqlParser::parseFrom() in SparqlParser.php
Parses the FROM clause.
parseFrom
RdqlParser::parseFrom() in RdqlParser.php
Parse the FROM/SOURCES clause of an Rdql query When the parsing of this clause is finished, parseWhere() will be called.
parseGraph
SparqlParser::parseGraph() in SparqlParser.php
Parses a GRAPH clause.
parseGraphPattern
Parses a graph pattern.
parseLiteral
SparqlParser::parseLiteral() in SparqlParser.php
Parses a literal.
parseModifier
SparqlParser::parseModifier() in SparqlParser.php
Parses the solution modifiers of a query.
parseNode
SparqlParser::parseNode() in SparqlParser.php
Parses a String to an RDF node.
parseOrderCondition
Parses order conditions of a query.
parsePrefix
SparqlParser::parsePrefix() in SparqlParser.php
Adds a new namespace prefix to the query object.
parseQuery
RdqlParser::parseQuery() in RdqlParser.php
Parse the given RDQL query string and return an array with query variables and constraints.
parseQuery
SparqlParser::parseQuery() in SparqlParser.php
Starts parsing the tokenized SPARQL Query.
parseResult
SparqlClient::parseResult() in SparqlClient.php
parseSelect
SparqlParser::parseSelect() in SparqlParser.php
Parses the SELECT part of a query.
parseSelect
RdqlParser::parseSelect() in RdqlParser.php
Parse the SELECT clause of an Rdql query.
parseString
TriXParser::parseString() in TriXParser.php
Parse an XML string
parseTriplePattern
Parses a triple pattern.
parseUsing
RdqlParser::parseUsing() in RdqlParser.php
Parse the USING clause of an Rdql query
parseWhere
SparqlParser::parseWhere() in SparqlParser.php
Parses the WHERE clause.
parseWhere
RdqlParser::parseWhere() in RdqlParser.php
' Parse the WHERE clause of an Rdql query.
posns
N3Parser::posns() in N3Parser.php
Returns an array with all indexes where item appears in list
predicate
Statement::predicate() in Statement.php
Alias for getPredicate()
preselectGraphs
Looks in from and from named part of the query and adds the graphs to the graphlist.
previous
RdqlResultIterator::previous() in RdqlResultIterator.php
Returns the previous result.
previous
StatementIterator::previous() in StatementIterator.php
Returns the previous statement.
PRIOR_VERSION
OWLVocabulary::PRIOR_VERSION() in OWLVocabulary.php
PROPERTY
OWLVocabulary::PROPERTY() in OWLVocabulary.php
putModel
DbStore::putModel() in DbStore.php
Store a MemModel or another DbModel from a different DbStore in the database.
q
top
$query
ClientQuery::$query in ClientQuery.php
Quad.php
Quad.php in Quad.php
qnameCheck
SparqlParser::qnameCheck() in SparqlParser.php
Checks if $token is a qname.
Quad
Quad::Quad() in Quad.php
Constructor Creates a Quad from four Nodes.
Quad
Quad in Quad.php
A Triple in a RDF dataset, consisting of four Jena Nodes: graphName, subject, predicate, and object.
query
SparqlClient::query() in SparqlClient.php
Main function of SparqlClient.
Query
Query::Query() in Query.php
Constructor
Query
Query in Query.php
The Class Query represents a SPARQL query.
query
ClientQuery::query() in ClientQuery.php
Adds the SPARQL query string to the query object.
queryModel
RdqlMemEngine::queryModel() in RdqlMemEngine.php
Perform an RDQL Query on the given MemModel.
queryModel
SparqlEngine::queryModel() in SparqlEngine.php
The query engines main method.
queryModel
RdqlDbEngine::queryModel() in RdqlDbEngine.php
Perform an RDQL Query on the given DbModel.
QueryTriple
QueryTriple::QueryTriple() in QueryTriple.php
Constructor
QueryTriple
QueryTriple in QueryTriple.php
Represents a query triple.
Query.php
Query.php in Query.php
QueryTriple.php
QueryTriple.php in QueryTriple.php
r
top
$rdfFirstResource
Holds a ResResource with the uri rdf:first
$rdfNilResource
Holds a ResResource with the uri rdf:nil
$rdfRestResource
Holds a ResResource with the uri rdf:rest
$rdfType
OntResource::$rdfType in OntResource.php
Holds a resResource of the type, which is this ontResource of.
$RDF_NS
N3Parser::$RDF_NS in N3Parser.php
$rdf_parser
RdfParser::$rdf_parser in RdfParser.php
$rdf_qnames
RdfSerializer::$rdf_qnames in RdfSerializer.php
$rdf_qname_prefix
$RdqlResult
RdqlResultIterator::$RdqlResult in RdqlResultIterator.php
Reference to the Rdql result
$res
NTripleSerializer::$res in NTripleSerializer.php
$res
N3Serializer::$res in N3Serializer.php
$resourcetext
N3Serializer::$resourcetext in N3Serializer.php
$resourcetext_taken
$resParser
SparqlResultParser::$resParser in SparqlResultParser.php
$returnAsQuads
IterFind::$returnAsQuads in IterFind.php
boolean value, if the results should be returned as Quads
$returnAsTriples
IteratorFindQuadsMem::$returnAsTriples in IteratorFindQuadsMem.php
boolean value, if the results should be returned as triples.
$returnAsTriples
IteratorFindQuadsDb::$returnAsTriples in IteratorFindQuadsDb.php
boolean value, if the results should be returned as triples.
$returnType
ResIterator::$returnType in ResIterator.php
Defines the type of resource, we'd like to receive.
$rsIndexes
RdqlDbEngine::$rsIndexes in RdqlDbEngine.php
When an RDQL query is performed on a DbModel, in first step the engine searches in database for triples matching the Rdql-WHERE clause. A recordSet is returned.
Resource.php
Resource.php in Resource.php
RdfsVocabulary.php
RdfsVocabulary.php in RdfsVocabulary.php
RANGE
RdfsVocabulary::RANGE() in RdfsVocabulary.php
Answer the predicate that denotes the domain of a property.
RANGE
OWLVocabulary::RANGE() in OWLVocabulary.php
Answer the predicate that denotes the domain of a property.
RdfParser
RdfParser in RdfParser.php
An RDF paser.
RdfSerializer
RdfSerializer in RdfSerializer.php
An RDF seralizer.
RdfSerializer
RdfSerializer::RdfSerializer() in RdfSerializer.php
Constructor
RdfsVocabulary
RdfsVocabulary in RdfsVocabulary.php
RDFS vocabulary items
RDFUtil
RDFUtil in RdfUtil.php
Useful utility methods.
rdf_get_base
RdfParser::rdf_get_base() in RdfParser.php
rdf_get_xml_parser
rdf_parse
RdfParser::rdf_parse() in RdfParser.php
rdf_parser_create
rdf_parser_free
rdf_set_base
RdfParser::rdf_set_base() in RdfParser.php
RdqlDbEngine.php
RdqlDbEngine.php in RdqlDbEngine.php
RdqlEngine.php
RdqlEngine.php in RdqlEngine.php
RdqlMemEngine.php
RdqlMemEngine.php in RdqlMemEngine.php
RdqlParser.php
RdqlParser.php in RdqlParser.php
RdqlResultIterator.php
RdqlResultIterator.php in RdqlResultIterator.php
RdqlDbEngine
RdqlDbEngine in RdqlDbEngine.php
This class performs as RDQL query on a DbModel.
RdqlEngine
RdqlEngine in RdqlEngine.php
Some general methods common for RdqlMemEngine and RdqlDbEngine
RdqlMemEngine
RdqlMemEngine in RdqlMemEngine.php
This class performes as RDQL query on a MemModel.
RdqlParser
RdqlParser in RdqlParser.php
This class contains methods for parsing an Rdql query string into PHP variables.
rdqlQuery
MemModel::rdqlQuery() in MemModel.php
Perform an RDQL query on this MemModel.
rdqlQuery
ResModel::rdqlQuery() in ResModel.php
Perform an RDQL query on this MemModel.
rdqlQuery
DbModel::rdqlQuery() in DbModel.php
Perform an RDQL query on this DbModel.
rdqlQueryAsIterator
Perform an RDQL query on this MemModel.
rdqlQueryAsIterator
Perform an RDQL query on this DBModel.
rdqlQueryAsIterator
Perform an RDQL query on this MemModel.
RdqlResultIterator
RdqlResultIterator in RdqlResultIterator.php
Iterator for traversing Rdql results.
RdqlResultIterator
Constructor
regex
regex() in FilterFunctions.php
Evaluates the regex() function. Returns true if the regex is matched false if not.
reify
Statement::reify() in Statement.php
Reifies a statement.
reify
MemModel::reify() in MemModel.php
Reifies the MemModel.
reify
DbModel::reify() in DbModel.php
Reify the DbModel.
relativizeURI
RdfSerializer::relativizeURI() in RdfSerializer.php
remove
InfModelB::remove() in InfModelB.php
Removes the triple from the MemModel.
remove
ResModel::remove() in ResModel.php
Removes the statement of ResResources(ResTriples) from the MemModel.
remove
InfModelF::remove() in InfModelF.php
Removes the triple from the MemModel.
remove
ResList::remove() in ResList.php
Remove the given value from this list.
remove
ResContainer::remove() in ResContainer.php
Remove a value from the container.
remove
DbModel::remove() in DbModel.php
Remove the given triple from this DbModel.
remove
MemModel::remove() in MemModel.php
Removes the triple from the MemModel.
removeAll
ResResource::removeAll() in ResResource.php
Delete all the statements with predicate p for this resource from its associated model.
removeAtIndex
Remove the member at the specified index.
removeComment
OntResource::removeComment() in OntResource.php
Remove the statement that the given ResLiteral is a comment on this resource.
removeComments
Remove comments from the passed query string.
removeDefinedBy
Remove the statement that this resource is defined by the given resource.
removeDomain
OntProperty::removeDomain() in OntProperty.php
Remove the given class from the stated domain(s) of this property.
removeHead
ResList::removeHead() in ResList.php
Remove the head of the list. The tail of the list remains in the model. Note that no changes are made to list cells that point to this list cell as their tail.
removeInfered
Removes all infered statements from the model but keeps the infernece rules.
removeLabelProperty
Remove the statement that the given ResLiteral is a label on this resource.
removeList
ResList::removeList() in ResList.php
Remove all of the components of this list from the model.
removeNamedGraph
Removes a NamedGraph from the set. Nothing happens if no graph with that name is contained in the set.
removeNamedGraph
Removes a NamedGraph from the set. Nothing happens if no graph with that name is contained in the set.
removeNamedGraphDb
Removes the graph with all statements from the database.
removeNamespace
removes a single namespace from the model
removeNamespace
removes a single namespace from the model
removeNamespace
removes a single namespace from the model
removeProperties
Delete all the properties for this resource from the associated model.
removeProperty
Remove the specific property-value pair from this resource.
removeQuad
DatasetMem::removeQuad() in DatasetMem.php
Deletes a Quad from the RDF dataset.
removeQuad
DatasetDb::removeQuad() in DatasetDb.php
Deletes a Quad from the RDF dataset.
removeRange
OntProperty::removeRange() in OntProperty.php
Remove the given class from the stated range(es) of this property.
removeRDFType
OntResource::removeRDFType() in OntResource.php
Remove the statement that this resource is of the given RDF type.
removeSeeAlso
OntResource::removeSeeAlso() in OntResource.php
Remove the statement indicating the given resource as a source of additional information about this resource.
removeSubClass
Remove the given class from the sub-classes of this class.
removeSubProperty
Remove the given property from the sub-properties of this property.
removeSuperClass
Remove the given class from the super-classes of this class.
removeSuperProperty
Remove the given property from the super-properties of this property.
renameBlanks
ModelComparator::renameBlanks() in ModelComparator.php
Renames the models Blanknodes.
replace
ResList::replace() in ResList.php
Replace the value at the i'th position in the list with the given value
replace
DbModel::replace() in DbModel.php
General method to replace nodes of a DbModel.
replace
InfModel::replace() in InfModel.php
General method to replace nodes of a MemModel.
replace
MemModel::replace() in MemModel.php
General method to replace nodes of a MemModel.
replaceNamespacePrefixes
Replace all namespace prefixes in the pattern and constraint clause of an rdql query with the namespaces declared in the USING clause and default namespaces.
replace_a_type
Callback function for replacing "a" elements with the right RDF uri.
replace_equal
Callback function for replacing "=" elements with the right DAML+OIL uri.
replace_this
N3Parser::replace_this() in N3Parser.php
Callback function for replacing "this" elements with the right RDF uri.
ResAlt
ResAlt in ResAlt.php
This interface defines methods for accessing RDF Alternative resources.
ResAlt
ResAlt::ResAlt() in ResAlt.php
Constructor You can supply a URI
ResBag
ResBag::ResBag() in ResBag.php
Constructor You can supply a URI
ResBag
ResBag in ResBag.php
This interface defines methods for accessing RDF Bag resources.
ResContainer
ResContainer::ResContainer() in ResContainer.php
Constructor You can supply a URI
ResContainer
ResContainer in ResContainer.php
An RDF Container.
reset
NTripleSerializer::reset() in NTripleSerializer.php
Readies this object for serializing another model
reset
N3Serializer::reset() in N3Serializer.php
Readies this object for serializing another model
ResIterator
ResIterator::ResIterator() in ResIterator.php
Constructor.
ResIterator
ResIterator in ResIterator.php
Implementation of a resource iterator.
ResList
ResList::ResList() in ResList.php
Constructor You can supply a URI
ResList
ResList in ResList.php
Implementation of an rdf:Collection (rdf:List) Provides a convenience encapsulation for lists formed from chains of RDF statements arranged to form a head/tail cons-cell structure.
ResLiteral
ResLiteral::ResLiteral() in ResLiteral.php
Constructor You have to supply a string.
ResLiteral
ResLiteral in ResLiteral.php
An RDF literal.
ResModel
ResModel::ResModel() in ResModel.php
Constructor You have to supply a memmodel/dbmodel/infmodel to save the statements.
ResModel
ResModel in ResModel.php
A ResModel provides an resource centric view on an underlying RDF model.
ResAlt.php
ResAlt.php in ResAlt.php
ResBag.php
ResBag.php in ResBag.php
ResContainer.php
ResContainer.php in ResContainer.php
ResIterator.php
ResIterator.php in ResIterator.php
ResList.php
ResList.php in ResList.php
ResLiteral.php
ResLiteral.php in ResLiteral.php
ResModel.php
ResModel.php in ResModel.php
ResProperty.php
ResProperty.php in ResProperty.php
ResResource.php
ResResource.php in ResResource.php
ResSeq.php
ResSeq.php in ResSeq.php
Resource
Resource in Resource.php
An RDF resource.
Resource
Resource::Resource() in Resource.php
Constructor Takes an URI or a namespace/localname combination
ResProperty
ResProperty::ResProperty() in ResProperty.php
Constructor You can supply a URI
ResProperty
ResProperty in ResProperty.php
An RDF Property.
ResResource
ResResource in ResResource.php
An RDF Resource.
ResResource
ResResource::ResResource() in ResResource.php
Constructor You can supply a uri
ResSeq
ResSeq::ResSeq() in ResSeq.php
Constructor You can supply a URI
ResSeq
ResSeq in ResSeq.php
This interface defines methods for accessing RDF Sequence resources.
RESTRICTION
OWLVocabulary::RESTRICTION() in OWLVocabulary.php
returnResult
SparqlClient::returnResult() in SparqlClient.php
Returns the query result.
returnResult
SparqlEngine::returnResult() in SparqlEngine.php
Generates the result object.
rewind
IteratorFindQuadsDb::rewind() in IteratorFindQuadsDb.php
Resets iterator list to start.
rewind
IterFind::rewind() in IterFind.php
Resets iterator list to start
rewind
IteratorFindQuadsMem::rewind() in IteratorFindQuadsMem.php
Resets iterator list to start.
rewind
IteratorAllGraphsMem::rewind() in IteratorAllGraphsMem.php
Resets iterator list to start
rewind
IteratorAllGraphsDb::rewind() in IteratorAllGraphsDb.php
Resets iterator list to start
rewind
ResIterator::rewind() in ResIterator.php
Resets iterator list to start
RssParser
RssParser in RssParser.php
RSS/ATOM Parser
RdfParser.php
RdfParser.php in RdfParser.php
RdfSerializer.php
RdfSerializer.php in RdfSerializer.php
RssParser.php
RssParser.php in RssParser.php
RdfUtil.php
RdfUtil.php in RdfUtil.php
s
top
$searchObject
ResIterator::$searchObject in ResIterator.php
The object to search for.
$searchPredicate
The predicate to search for.
$searchSubject
ResIterator::$searchSubject in ResIterator.php
The subject to search for.
$server
SparqlClient::$server in SparqlClient.php
$setName
DatasetMem::$setName in DatasetMem.php
Name of the DatasetMem.
$setName
DatasetDb::$setName in DatasetDb.php
Name of the Dataset
$sort_model
RdfSerializer::$sort_model in RdfSerializer.php
$statement
Quad::$statement in Quad.php
Statement
$statementRuleIndex
Array of the connection between the infrules and the statement that assigned those rules.
$strXmlData
SparqlResultParser::$strXmlData in SparqlResultParser.php
$stylelinks
GRDDLParser::$stylelinks in GRDDLParser.php
Stylesheet link
$subj
Statement::$subj in Statement.php
Subject of the statement
$subject
FindIterator::$subject in FindIterator.php
Searchpattern
$supportedInference
Array of URI-Strings that produces Infrules.
Statement.php
Statement.php in Statement.php
sameListAs
ResList::sameListAs() in ResList.php
Answer true if this list has the same elements in the same order as the given list. Note that the standard equals test just tests for equality of two given list cells.
SAME_AS
OWLVocabulary::SAME_AS() in OWLVocabulary.php
SAME_CLASS_AS
OWLVocabulary::SAME_CLASS_AS() in OWLVocabulary.php
SAME_INDIVIDUAL_AS
SAME_PROPERTY_AS
saveAs
NTripleSerializer::saveAs() in NTripleSerializer.php
Serializes a model and saves it into a file.
saveAs
N3Serializer::saveAs() in N3Serializer.php
Serializes a model and saves it into a file.
saveAs
ResModel::saveAs() in ResModel.php
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
saveAs
DbModel::saveAs() in DbModel.php
Saves the RDF,N3 or N-Triple serialization of the DbModel to a file.
saveAs
MemModel::saveAs() in MemModel.php
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
saveAs
RdfSerializer::saveAs() in RdfSerializer.php
Serializes a model and saves it into a file.
saveAs
InfModelB::saveAs() in InfModelB.php
Saves the RDF,N3 or N-Triple serialization of the full InfModelB (including inferred triples) to a file.
SEE_ALSO
RdfsVocabulary::SEE_ALSO() in RdfsVocabulary.php
Answer the predicate that denotes seeAlso annotation on an ontology element
SEE_ALSO
OWLVocabulary::SEE_ALSO() in OWLVocabulary.php
Answer the predicate that denotes seeAlso annotation on an ontology element
selectVariables
Remove all conditional variables from the result-set and leave only variables specified in the SELECT clause of the RDQL query.
selectVars
SparqlEngine::selectVars() in SparqlEngine.php
Selects the result variables and builds a result table.
serialize
NTripleSerializer::serialize() in NTripleSerializer.php
Serializes a model to N Triple syntax.
serialize
RdfSerializer::serialize() in RdfSerializer.php
Serializes a model to RDF syntax.
serialize
N3Serializer::serialize() in N3Serializer.php
Serializes a model to N3 syntax.
serializeToFile
Serialize the Dataset to File
serializeToFile
TriXSerializer::serializeToFile() in TriXSerializer.php
Serialize the dataset to a TriX string and save in file
serializeToString
Serialize the dataset to a TriX string
serializeToString
Serialize the Dataset to string
set
ResSeq::set() in ResSeq.php
Set the value at a given index in the sequence.
setAssociatedModel
Sets the reference to the assocoated model.
setAssociatedModel
Sets the reference to the assocoated model.
setBase
Query::setBase() in Query.php
Sets the base part.
setBaseURI
ResModel::setBaseURI() in ResModel.php
Set a base URI for the MemModel.
setBaseURI
DbModel::setBaseURI() in DbModel.php
Set a base URI for the DbModel.
setBaseURI
MemModel::setBaseURI() in MemModel.php
Set a base URI for the MemModel.
setComment
OntResource::setComment() in OntResource.php
Assert that the given string is the comment on this resource.
setDatasetName
Sets the Dataset name. Return true on success, false otherwise.
setDatasetName
Sets the Datasets name.
setDatatype
Literal::setDatatype() in Literal.php
Sets the datatype of the literal.
setDefault
ResAlt::setDefault() in ResAlt.php
Set the default value of this container.
setDefaultGraph
Overwrites the existting default graph.
setDefaultGraph
Overwrites the existting default graph.
setDomain
OntProperty::setDomain() in OntProperty.php
Assert that the given resource represents the class of individuals that form the domain of this property. Any existing domain statements for this property are removed.
setEntailment
Sets the entailment of this rule The values can be NULL to match anything or be a node that has to be matched.
setFindLiteralWithLang
Sets that only Literals with the matching language should be returned
setFixBnodes
N3Parser::setFixBnodes() in N3Parser.php
Sets, if BlankNode labels should be replaced by the generic label from the constants.php file
setGraphName
Sets the graph name.
setGraphname
GraphPattern::setGraphname() in GraphPattern.php
Sets the graphname.
setGraphName
NamedGraphDb::setGraphName() in NamedGraphDb.php
Sets the graph name.
setGraphName
NamedGraphMem::setGraphName() in NamedGraphMem.php
Sets the graph name.
setHead
ResList::setHead() in ResList.php
Update the head of the list to have the given value, and return the previous value.
setId
GraphPattern::setId() in GraphPattern.php
Sets the GraphPatterns Id.
setInstanceRdfType
Sets the rdf:type, that this distinct resource is instance of.
setIsAnon
ResResource::setIsAnon() in ResResource.php
Set whether this resource is an anonymous resource
setIsDefinedBy
Assert that the given resource provides a source of definitions about this resource.
setLabelProperty
Assert that the given string is the label on this resource.
setLanguage
Literal::setLanguage() in Literal.php
Sets the language of the literal.
setOuterFilter
Sets the filter type to outer or inner filter.
setOutputFormat
Sets the output format for a SELECT or ASK query. Possible formats are "xml" for Sparql Query Results XML Format (http://www.w3.org/TR/rdf-sparql-XMLres/) or array for the format described in our SparqlEngine.
setPropertyValue
Set the value of the given property of this ontology resource to the given value.
setRange
OntProperty::setRange() in OntProperty.php
Assert that the given resource represents the class of individuals that form the range of this property. Any existing range statements for this property are removed.
setRDFType
OntResource::setRDFType() in OntResource.php
Set the RDF type (ie the class) for this resource, replacing any existing rdf:type property. Any existing statements for the RDF type will first be removed.
setResultForm
Sets the result form.
setSeeAlso
OntResource::setSeeAlso() in OntResource.php
Add a resource that is declared to provided additional information about the definition of this resource
setSolutionModifier
Sets a solution modifier.
setSubClass
OntClass::setSubClass() in OntClass.php
Assert that this class is super-class of the given class.
setSubProperty
Assert that this property is super-property of the given property.
setSuperClass
Assert that this class is sub-class of the given class.
setSuperProperty
Assert that this property is sub-property of the given property.
setTail
ResList::setTail() in ResList.php
Update the list cell at the front of the list to have the given list as tail. The old tail is returned, and remains in the model.
setTrigger
InfRule::setTrigger() in InfRule.php
Sets the trigger of this rule The values can be NULL to match anything or be a node that has to be matched.
setURI
ResResource::setURI() in ResResource.php
Sets the URI of this resource
setVocabulary
OntResource::setVocabulary() in OntResource.php
Sets the reference to the assoiated vocabulary
size
ResContainer::size() in ResContainer.php
Returns the number values in the container.
size
ResModel::size() in ResModel.php
Number of statements in the MemModel
size
DbModel::size() in DbModel.php
Return the number of statements in this DbModel.
size
InfModelB::size() in InfModelB.php
Number of all inferable triples in the Model.
size
MemModel::size() in MemModel.php
Number of triples in the MemModel
SOME_VALUES_FROM
sortVars
SparqlEngine::sortVars() in SparqlEngine.php
Sorts the results.
SPARQL.php
SPARQL.php in SPARQL.php
SparqlClient.php
SparqlClient.php in SparqlClient.php
SparqlEngine.php
SparqlEngine.php in SparqlEngine.php
SparqlParser.php
SparqlParser.php in SparqlParser.php
SparqlParserException.php
SparqlParserException.php in SparqlParserException.php
SparqlClient
SparqlClient::SparqlClient() in SparqlClient.php
Constructor of SparlClient.
SparqlClient
SparqlClient in SparqlClient.php
Client for querying a sparql server.
SparqlEngine
SparqlEngine in SparqlEngine.php
This engine executes SPARQL queries against an RDF Datatset.
SparqlParser
SparqlParser::SparqlParser() in SparqlParser.php
Constructor of SparqlParser
SparqlParser
SparqlParser in SparqlParser.php
Parses a SPARQL Query string and returns a Query Object.
SparqlParserException
SparqlParserException in SparqlParserException.php
A SPARQL Parser Execption for better errorhandling.
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.
sparqlQuery
Dataset::sparqlQuery() in Dataset.php
Performs a SPARQL query against an RDF Dataset.
SparqlResultParser
SparqlResultParser in SparqlResultParser.php
Parses an xml document in SPARQL Result XML Format.
startParsing
RdqlParser::startParsing() in RdqlParser.php
Start parsing of the tokenized query string.
Statement
Statement::Statement() in Statement.php
The parameters to constructor are instances of classes and not just strings
Statement
Statement in Statement.php
An RDF statement.
StatementIterator
StatementIterator in StatementIterator.php
Iterator for traversing models.
StatementIterator
Constructor
statementize
N3Parser::statementize() in N3Parser.php
Does the real work, returns a list of subject, predicate, object triples.
statementsorter
statementsorter() in Statement.php
Comparison function for comparing two statements.
str
str() in FilterFunctions.php
Evaluates the str() function. Returns the string representation of a variable or RDF term.
str2unicode_nfc
converts a string to its unicode NFC form (e.g. \uHHHH or \UHHHHHHHH).
str2unicode_nfc
converts a string to its unicode NFC form (e.g. \uHHHH or \UHHHHHHHH).
subject
Statement::subject() in Statement.php
Alias for getSubject()
subtract
DbModel::subtract() in DbModel.php
Return a new MemModel that is the subtraction of another model from this DbModel.
subtract
MemModel::subtract() in MemModel.php
Returns a new MemModel that is the subtraction of another model from this MemModel.
subtract
ResModel::subtract() in ResModel.php
Returns a new model that is the subtraction of another model from this model.
SUB_CLASS_OF
RdfsVocabulary::SUB_CLASS_OF() in RdfsVocabulary.php
Answer the predicate that denotes that one class is a sub-class of another.
SUB_CLASS_OF
OWLVocabulary::SUB_CLASS_OF() in OWLVocabulary.php
Answer the predicate that denotes that one class is a sub-class of another.
SUB_PROPERTY_OF
Answer the predicate that denotes that one property is a sub-property of another.
SUB_PROPERTY_OF
RdfsVocabulary::SUB_PROPERTY_OF() in RdfsVocabulary.php
Answer the predicate that denotes that one property is a sub-property of another.
sy
RssParser::sy() in RssParser.php
Adds the sy namespace.
SYMMETRIC_PROPERTY
SparqlResultParser.php
SparqlResultParser.php in SparqlResultParser.php
StatementIterator.php
StatementIterator.php in StatementIterator.php
t
top
$tokens
RdqlParser::$tokens in RdqlParser.php
Query string divided into a sequence of tokens.
$Tokens
N3Parser::$Tokens in N3Parser.php
$trigger
InfRule::$trigger in InfRule.php
Array, that hold the trigger subject in key ['s'], the trigger predicate in ['p'], and the trigger object in ['o'].
$triples
MemModel::$triples in MemModel.php
Triples of the MemModel
$type
RssParser::$type in RssParser.php
TriXParser.php
TriXParser.php in TriXParser.php
TriXSerializer.php
TriXSerializer.php in TriXSerializer.php
tagClosed
SparqlResultParser::tagClosed() in SparqlResultParser.php
tagData
SparqlResultParser::tagData() in SparqlResultParser.php
tagOpen
SparqlResultParser::tagOpen() in SparqlResultParser.php
THING
OWLVocabulary::THING() in OWLVocabulary.php
toke
N3Parser::toke() in N3Parser.php
Returns a list of tokens
tokenize
SparqlParser::tokenize() in SparqlParser.php
Tokenizes the querystring.
tokenize
RdqlParser::tokenize() in RdqlParser.php
Divide the query string into tokens.
toNodes
RdqlDbEngine::toNodes() in RdqlDbEngine.php
Convert variable values of $queryResult to objects (Node).
toRDFNode
N3Parser::toRDFNode() in N3Parser.php
Constructs a RAP RDFNode from URI/Literal/Bnode
toString
MemModel::toString() in MemModel.php
Short Dump of the MemModel.
toString
Resource::toString() in Resource.php
Dumps resource.
toString
Object::toString() in Object.php
Serializes a object into a string
toString
InfModelB::toString() in InfModelB.php
Short Dump of the InfModelB.
toString
DbModel::toString() in DbModel.php
Short dump of the DbModel.
toString
Statement::toString() in Statement.php
Dumps the triple.
toString
InfModelF::toString() in InfModelF.php
Short Dump of the InfModelF.
toString
Literal::toString() in Literal.php
Dumps literal.
toString
Quad::toString() in Quad.php
Return a human-readable (sort of) string "graphname { s p o . }" describing the quad.
toString
RdqlDbEngine::toString() in RdqlDbEngine.php
Serialize variable values of $queryResult to string.
toString
BlankNode::toString() in Blanknode.php
Dumps bNode.
toString
RdqlMemEngine::toString() in RdqlMemEngine.php
Convert the variable values of $finalRes from objects to their string serialization.
toStringIncludingTriples
Dumps of the InfModelB including ALL inferable triples.
toStringIncludingTriples
Dump of the DbModel including all triples.
toStringIncludingTriples
Dumps of the MemModel including all triples.
toStringObject
Reurns a toString() serialization of the statements's object.
toStringPredicate
Returns a toString() serialization of the statements's predicate.
toStringSubject
Returns a toString() serialization of the statements's subject.
TRANSITIVE_PROPERTY
TriXParser
TriXParser::TriXParser() in TriXParser.php
Constructor Needs a reference to a graphSet
TriXParser
TriXParser in TriXParser.php
Temporary implementation of a TriX-Parser (Usable only with PHP > V5) Currently, it doesn't support any namespaces and has problems with typed literals.
TriXSerializer
TriXSerializer::TriXSerializer() in TriXSerializer.php
Constructor Needs a reference to a graphSet
TriXSerializer
TriXSerializer in TriXSerializer.php
Temporary implementation of a TriX-Serializer
TYPE
RdfsVocabulary::TYPE() in RdfsVocabulary.php
Answer the predicate that denotes the rdf:type property.
TYPE
OWLVocabulary::TYPE() in OWLVocabulary.php
Answer the predicate that denotes the rdf:type property.
u
top
$uri
Resource::$uri in Resource.php
URIref to the resource
$use_attributes
RdfSerializer::$use_attributes in RdfSerializer.php
$use_entities
RdfSerializer::$use_entities in RdfSerializer.php
$use_xml_declaration
uncomment
SparqlParser::uncomment() in SparqlParser.php
Removes comments in the query string. Comments are indicated by '#'.
UNION_OF
OWLVocabulary::UNION_OF() in OWLVocabulary.php
unite
MemModel::unite() in MemModel.php
Returns a new MemModel that is the set-union of the MemModel with another model.
unite
ResModel::unite() in ResModel.php
Returns a new Model that is the set-union of the model with another model.
unite
DbModel::unite() in DbModel.php
Return a new MemModel that is the set-union the model with another model.
uparse
N3Parser::uparse() in N3Parser.php
This parses a N3 string and calls func($subject, $predicate, $object) with each trioke
v
top
$valid
IterFind::$valid in IterFind.php
If the current resource is valid
$valid
ResIterator::$valid in ResIterator.php
If the current resource is valid
$valid
IteratorFindQuadsMem::$valid in IteratorFindQuadsMem.php
If the current resource is valid.
$valid
IteratorAllGraphsMem::$valid in IteratorAllGraphsMem.php
If the current resource is valid
$varlist
SparqlResultParser::$varlist in SparqlResultParser.php
$varname
SparqlResultParser::$varname in SparqlResultParser.php
$vocabulary
OntResource::$vocabulary in OntResource.php
Holds a reference to the assoiated vocabulary
$vocabulary
OntModel::$vocabulary in OntModel.php
Holds a reference to the assoiated vocabulary.
valid
ResIterator::valid() in ResIterator.php
Says if there are additional items left in the list
valid
IterFind::valid() in IterFind.php
Says if there are additional items left in the list
valid
IteratorAllGraphsMem::valid() in IteratorAllGraphsMem.php
Says if there are additional items left in the list.
valid
IteratorFindQuadsDb::valid() in IteratorFindQuadsDb.php
Says if there are additional items left in the list.
valid
IteratorFindQuadsMem::valid() in IteratorFindQuadsMem.php
Says if there are additional items left in the list.
valid
IteratorAllGraphsDb::valid() in IteratorAllGraphsDb.php
Says if there are additional items left in the list
varCheck
SparqlParser::varCheck() in SparqlParser.php
Checks if $token is a variable.
VERSION_INFO
OWLVocabulary::VERSION_INFO() in OWLVocabulary.php
visualize
Model::visualize() in Model.php
Alias for RDFUtil::visualiseGraph(&$model, $format, $short_prefix)
visualizeGraph
Generates a dot-file for drawing graphical output with the
w
top
writeAbsoluteResourceReference
writeAsHtml
InfModelB::writeAsHtml() in InfModelB.php
Writes the RDF serialization of the Model including ALL inferable triples as HTML.
writeAsHtml
DbModel::writeAsHtml() in DbModel.php
Write the RDF serialization of the _DbModel as HTML.
writeAsHtml
MemModel::writeAsHtml() in MemModel.php
Writes the RDF serialization of the MemModel as HTML.
writeAsHtmlTable
Writes the RDF serialization of the MemModel as HTML table.
writeAsHtmlTable
Writes the RDF serialization of the Model including ALL inferable triples as HTML table.
writeAsHtmlTable
Write the RDF serialization of the DbModel as HTML table.
writeAsHTMLTable
Writes the RDF serialization of the MemModel as HTML table.
writeAttributeStatements
writeContentStatements
writeDescriptions
writeEntityDeclarations
writeEscapedCDATA
writeGroup
RdfSerializer::writeGroup() in RdfSerializer.php
writeHTMLTable
Prints a MemModel as HTML table.
writeNamespaceDeclarations
writeQueryResultAsHtmlTable
Prints a query result as HTML table.
writeQueryResultAsHtmlTable
Prints a query result as HTML table.
writeRdfToString
Writes the RDF serialization of the MemModel as HTML table.
writeRdfToString
Writes the RDF serialization of the Model including ALL inferable triples.
writeRdfToString
Writes the RDF serialization of the MemModel as HTML table.
writeRdfToString
Write the RDF serialization of the DbModel to string.
writeResourceReference
writeSubjectURI
writeTextValue
RdfSerializer::writeTextValue() in RdfSerializer.php
_
top
_addInfRule
InfModel::_addInfRule() in InfModel.php
Adds an InfRule to the InfModel.
_addInfruleToIndex
Adds the URI or NULL to the Infrule trigger or entailment index.
_addStatementFromAnotherModel
Adds a statement from another model to this model.
_addToInference
This function analyses the statement's predicate and adds the matching infrule to the model.
_buildIntBindings
Marks triples with internal bindings.
_buildResultSet
Builds the resultset.
_buildurl
SparqlClient::_buildurl() in SparqlClient.php
Helper function that builds the url.
_character_data_handler
_checkBaseURI
If the URI doesn't end with # : or /, then a # is added to the URI.
_checkComma
RdqlParser::_checkComma() in RdqlParser.php
Check if the query string of the given clause contains an undesired ','.
_checkGraphs
SparqlEngine::_checkGraphs() in SparqlEngine.php
Evaluates the GRPAH clause if there is one. Checks if the GRAPH clause contains an IRI, variable or nothing.
_checkIntBindings
Check if the given triple meets pattern internal bindings e.g. (?x, ?z, ?x) ==> statement subject must be identical with the statement object
_checkNamespace
checks if a namespace is already in the model.
_checkRegExQuotation
Throw an error if the regular expression from the AND clause is not quoted.
_checkSelectVars
Check if all variables from the SELECT clause are defined in the WHERE clause
_clearWhiteSpaces
Remove whitespace-tokens from the array $this->tokens
_clear_element
_containsIndex
Checks if $statement is in index
_containsRow
Check if this DbModel contains the given row from the array fields[] of an ADORecordSet
_convertRecordSetToMemModel
Convert an ADORecordSet to a memory Model.
_convertRsRowToQueryResultRow
Converts a single row of ADORecordSet->fields array to the format of $queryResult array using pointers to indexes ($this->rsIndexes) in RecordSet->fields.
_copy_element
_createDynSqlPart_SPO
Create the dynamic part of an sql statement selecting triples with the given parameters ($subject, $predicate, $object).
_createTables_MsAccess
Create tables and indexes for MsAccess database
_createTables_mssql
Create tables and indexes for MSSQL database
_createTables_MySql
Create tables and indexes for MySQL database
_createUniqueDatasetID
Create a unique ID for the dataset to be insert into the datasets table.
_createUniqueModelID
Create a unique ID for the DbModel to be insert into the models table.
_determineType
SparqlEngine::_determineType() in SparqlEngine.php
Tries to determine the rdf:type of the variable.
_element2Resource
return a mathing resource tyoe
_end_collection
_end_element_handler
_end_literal_property
_entailStatementRec
Recursive method, that checks the statement with the trigger of every rule. If the trigger matches and entails new statements, those statements are recursively infered too.
_equalsLangDtype
Check if the lang and dtype of the passed object Literal are equal $lang and $dtype !!! Language only differentiates literals in rdf:XMLLiterals and plain literals (xsd:string).
_fastForward
SparqlParser::_fastForward() in SparqlParser.php
FastForward until next token which is not blank.
_findInIndex
MemModel::_findInIndex() in MemModel.php
finds a statement in an index. $pos is the Position in the index and $ind the adequate searchindex
_findMatchIndex
finds next or previous matching statement.
_findRuleEntailmentInIndex
Searches the Entailment-index for a matching Entailment and returns an array of infRule positions.
_findRuleTriggerInIndex
Searches the trigger-index for a matching trigger and returns an array of infRule positions.
_generateRDF
GRDDLParser::_generateRDF() in GRDDLParser.php
_generateSql_SelectVar
Generate a piece of an sql select statement for a variable.
_generate_anonymous_uri
_getAttributes
SparqlEngine::_getAttributes() in SparqlEngine.php
Search the attributes listed in $list in the dataset.
_getBindingString
Helper Function for function buildXmlResult($vartable). Generates an xml string for a single variable an their corresponding value.
_getListElement
Returns the list element at the $index position.
_getMemberIndexNrFromMembershipPropertyLabel
Get the ordinal number from a membership property rdf:_n
_getMembershipPropertyWithIndex
Get a membership property rdf:_n with index $int
_getNextResource
Returns the next Resource (subject, predicate, or object of the next matching statement).
_getNodeFlag
' Return the flag of the Node object.
_getRecordSet
Get an ADORecordSet with array fields[] containing a representation of
_getResourceAs
Returns the $resource as an instance of the type specified in $this->returnType.
_getRestElement
Get the associated rdf:rest Resource from the suplied ResList element
_getStyles
GRDDLParser::_getStyles() in GRDDLParser.php
gets the used xsl stylesheets.
_getSubAttributeStatementsRec
Returns an array of ResResources that are recursively connected by $attribute in subProperty direction.
_getSuperAttributeStatementsRec
Returns an array of ResResources that are recursively connected by $attribute in superProperty direction.
_getValue
ResList::_getValue() in ResList.php
Get the value associated to the $listResource by the rdf:first property
_handle_collection_element
_handle_property_attributes
_handle_property_element
_handle_resource_element
_handle_xml_end_element
_handle_xml_start_element
_http_get
SparqlClient::_http_get() in SparqlClient.php
Executes the GET Request.
_indexOpr
MemModel::_indexOpr() in MemModel.php
adds/removes a statement into/from an index.
_infFind
InfModelB::_infFind() in InfModelB.php
This is the main inference method of the InfModelB The algorithm works as follows: Find all statements in the base model, that matches the current find-query.
_initialize
DatasetDb::_initialize() in DatasetDb.php
Initialize Read all needed data into the set.
_isDefined
RdqlParser::_isDefined() in RdqlParser.php
Check if the given variable is defined in the WHERE clause.
_isSetup_MsAccess
Checks if tables are setup for RAP (MsAccess)
_isSetup_MSSQL
Checks if tables are setup for RAP (MSSQL)
_isSetup_MySql
Checks if tables are setup for RAP (MySql)
_istalnum
RdfParser::_istalnum() in RdfParser.php
_istalpha
RdfParser::_istalpha() in RdfParser.php
_is_absolute_uri
_is_forbidden_rdf_node_element
_is_forbidden_rdf_property_attribute
_is_forbidden_rdf_property_element
_is_rdf_node_element
_is_rdf_ordinal
_is_rdf_property_attribute
_is_rdf_property_attribute_literal
_is_rdf_property_attribute_resource
_is_rdf_property_element
_join_name_and_declare_prefix
_new_element
RdfParser::_new_element() in RdfParser.php
_node2ResNode
converts a Resource,Blanknode,Literal into a ResResource, ResProperty, or ResLiteral
_node2string
TriXSerializer::_node2string() in TriXSerializer.php
Serialize node to a TriX string
_nodeEqualsFind
Checks, if a single node matches a single find pattern.
_parse_uri
RdfParser::_parse_uri() in RdfParser.php
_populateGraphSet
Populates the graphSet with namedGraphs and triples.
_pop_element
RdfParser::_pop_element() in RdfParser.php
_predicateLabelMatchesMembershipProperty
Checks, if a predicate label fits a container membership property rdf:_n
_push_element
_removeFromInference
This function checks, which infrules were added by the statement and removes those.
_replaceNamespacePrefix
Replace a prefix in a given QName and return a full URI.
_report_error
_report_statement
_report_warning
_resNode2Node
converts a ResResource, ResProperty, or ResLiteral into a Resource, Blanknode, or Literal
_resolve_id
RdfParser::_resolve_id() in RdfParser.php
_resolve_uri_reference
_rewind
SparqlParser::_rewind() in SparqlParser.php
Rewind until next token which is not blank.
_serialize
TriXSerializer::_serialize() in TriXSerializer.php
Serialize the dataset to a TriX string
_split_name
RdfParser::_split_name() in RdfParser.php
_start_element_handler
_start_ns_declaration_handler
_validateLiteral
Check if $token is the first token of a valid literal ("LITERAL") and return an array with literal properties (value, language, datatype).
_validateNCName
Check if the given token is a valid NCName.
_validatePrefix
Check if the given token is a valid namespace prefix.
_validateQName
Check if the given token is a valid QName.
_validateUri
RdqlParser::_validateUri() in RdqlParser.php
Check if $token is the first token of a valid URI (<URI>) and return the whole URI string
_validateVar
RdqlParser::_validateVar() in RdqlParser.php
Check if the given token is a valid variable name (?var).
_validateVarUri
Check if the given token is either a variable (?var) or the first token of an URI (<URI>).
_validateVarUriLiteral
Check if the given token is either a variable (?var) or the first token of either an URI (<URI>) or a literal ("Literal").
__construct
SparqlParserException::__construct() in SparqlParserException.php
a b c d e f g h i j k l m n o p q r s t u v w _