-
$anon
-
-
$arrOutput
-
-
$associatedGraphSet
-
Holds a reference to the associated RDF dataset
-
$associatedModel
-
Holds a reference to the assoiated ResModel / OntModel
-
add
-
Adds a new triple to the MemModel without checking if the statement is already in the MemModel.
-
add
-
Adds a new triple to the MemModel without checking if the statement is already in the MemModel.
-
add
-
Adds a new triple to the Model without checking if the statement is already in the Model.
-
add
-
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
-
Add a new triple to this DbModel.
-
add
-
Adds a new triple to the Model without checking if the statement is already in the Model.
-
add
-
Add a new value to a container.
-
add
-
Add the given value to the end of the list.
-
addAll
-
Add all named graphs of the other dataset to this dataset.
-
addAll
-
Adds all named graphs of the other dataset to this dataset.
-
addAtIndex
-
Insert a new member into the sequence at the specified position.
-
addComment
-
Add the given comment to this resource.
-
addConstraint
-
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
-
Add a resource representing the domain of this property.
-
addExpression
-
Adds an expression string.
-
addFrom
-
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
-
Adds another model to this MemModel.
-
addModel
-
Adds another model to this MemModel.
-
addModel
-
Adds another model to this MemModel.
-
addModel
-
Add the given model to this DbModel.
-
addNamedGraph
-
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
-
Adds a named graph to the query object.
-
addNamespace
-
Adds a namespace and prefix to the model.
-
addNamespace
-
Adds a namespace and prefix to the model.
-
addNamespace
-
Adds a namespace and prefix to the model.
-
addNamespacePrefix
-
Adds a new prefix/namespace combination.
-
addNSPrefix
-
Adds a new namespace prefix to use.
-
addOptional
-
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
-
Adds a prefix to the list of prefixes.
-
addProperty
-
Add a property to this resource.
-
addProperty
-
Add a property to this resource.
-
addQuad
-
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
-
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
-
Add a resource representing the range of this property.
-
addRDFType
-
Add the given class as one of the rdf:type's for this resource.
-
addSeeAlso
-
Add a resource that is declared to provided additional information about the definition of this resource.
-
addSubClass
-
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
-
Adds a pointer to a union graphPattern.
-
addVar
-
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
-
-
ALL_VALUES_FROM
-
-
ANNOTATION_PROPERTY
-
-
append
-
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
-
Applies stuff :) Expands namespace prefixes etc.
-
array_concat
-
Concatenates two arrays
-
asClass
-
Answer a view of this resource as a class
-
asIndividual
-
Answer a view of this resource as an Individual
-
asOntProperty
-
Answer a view of this resource as a property
-
$containerType
-
Holds a ResResource of this container type rdf:Seq, rdf:Alt, or rdf:Bag
-
$counter
-
-
$current
-
The current NamedGraph
-
$current
-
The current NamedGraph
-
$current
-
The current NamedGraph.
-
$current
-
The current NamedGraph
-
$currentResource
-
The current resource
-
canAbbreviateValue
-
-
CARDINALITY
-
-
channel
-
Parses the rss channel/ atom feed.
-
checkDtypeLang
-
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
-
Chooses a node color.
-
clear
-
Deletes all NamedGraphs from the set.
-
clear
-
Deletes all NamedGraphs from the set.
-
ClientQuery
-
ClientQuery Object to run a SPARQL Query against a SPARQL server.
-
close
-
Close the DbStore.
-
close
-
Close the MemModel and free up resources held.
-
close
-
Close this DbModel
-
collectNamespace
-
-
collectNamespaces
-
-
COMMENT
-
Answer the predicate that denotes comment annotation on an ontology element.
-
COMMENT
-
Answer the predicate that denotes comment annotation on an ontology element.
-
compare
-
Compares two statements and returns integer less than, equal to, or greater than zero.
-
compare
-
Compares two models.
-
compareTriples
-
Compares the Triples in the lists.
-
COMPLEMENT_OF
-
-
concatenate
-
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
-
Return a reference to a new list cell whose head is value and whose tail is this list.
-
Constraint
-
Represents a constraint. A value constraint is a boolean- valued expression of variables and RDF Terms.
-
constructGraph
-
Constructs a result graph.
-
contains
-
Tests if the Model contains the given triple.
-
contains
-
Check if the DbModel contains the given statement.
-
contains
-
Tests if the Model contains the given statement.
-
contains
-
Determine whether the container contains a value
-
contains
-
Answer true if the given node appears as the value of a value of any of the cells of this list.
-
contains
-
Tests if the MemModel contains the given triple.
-
containsAll
-
Determine if all of the statements in a model are also contained in this model.
-
containsAll
-
Determine if all of the statements in the given model are also contained in this DbModel.
-
containsAll
-
Determine if all of the statements in a model are also contained in this MemModel.
-
containsAny
-
Determine if any of the statements in a model are also contained in this model.
-
containsAny
-
Determine if any of the statements in a model are also contained in this MemModel.
-
containsAny
-
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
-
Tells wether the Dataset contains a quad or quads matching a pattern.
-
containsQuad
-
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
-
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
-
Returns the number of NamedGraphs in the set. Empty graphs are counted.
-
countGraphs
-
Returns the number of NamedGraphs in the set. Empty graphs are counted.
-
countQuads
-
Counts the Quads in the RDF dataset. Identical Triples in different NamedGraphs are counted individually.
-
countQuads
-
Counts the Quads in the RDF dataset. Identical Triples in different NamedGraphs are counted individually.
-
countResults
-
Returns the number of results.
-
createAlt
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
Returns the current item
-
current
-
Returns the current matching statement.
-
current
-
Returns the current item.
-
current
-
Returns the current statement.
-
current
-
Returns the current item.
-
current
-
Returns the current item.
-
current
-
Returns the current item
-
current
-
Returns the current result.
-
current
-
Returns the current item
-
ClientQuery.php
-
-
Constraint.php
-
-
$findDeadEnds
-
Array that holds combinations of inference rules with distinct find-querys, that don't lead to any inference.
-
$findGraph
-
The graph to look in.
-
$findGraphName
-
The graphName Resource to search for.
-
$findLiteralWithLang
-
If set, each resource will first be checked, if it's language fits.
-
$findObject
-
The object Resource to search for.
-
$findObject
-
The object Resource to search for
-
$findPredicate
-
The predicate Resource to search for.
-
$findPredicate
-
The predicate Resource to search for
-
$findSubject
-
The subject Resource to search for
-
$findSubject
-
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
-
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
-
Filter the result-set of query variables by evaluating each filter from the AND clause of the RDQL query.
-
filterWs
-
Removes all whitespace tokens from list
-
find
-
General method to search for triples in the DbModel.
-
find
-
General method to search for triples.
-
find
-
General method to search for triples.
-
find
-
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
-
Searches for triples and returns the number of matches.
-
findCount
-
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
-
Iterator for traversing statements matching a searchpattern.
-
FindIterator
-
Constructor
-
findRegex
-
Method to search for triples using Perl-style regular expressions.
-
findRegex
-
Method to search for triples using Perl-style regular expressions.
-
findRegex
-
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
-
This makes bNodes out of variables like _:a etc.
-
fixAnon
-
Fix the resourcetext for a blanknode where the _: construct was used
-
FUNCTIONAL_PROPERTY
-
-
FilterFunctions.php
-
-
FindIterator.php
-
-
$getSPO
-
If the resource, we're intrested in is the subject (s), predicate(p), or object (o) of the found statements
-
$graphIterator
-
Iterator over all graphs of the RDF dataset.
-
$graphKey
-
key value in the current graph.
-
$graphName
-
Name of the NamedGraphMem.
-
$graphName
-
Name of the NamedGraphMem.
-
$graphName
-
Name of the NamedGraphDb
-
$graphs
-
List of all NamedGraphs.
-
$graphSet
-
Reference to the graphSet
-
$graphSet
-
Reference to the graphSet
-
generateModel
-
Main function
-
generateModel
-
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
-
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
-
Returns the value of the list element at the specified position or null.
-
getAllVars
-
Returns a list with all used variables.
-
getAssociatedModel
-
Get the reference to the assocoated model.
-
getAssociatedModel
-
Get the reference to the assocoated model.
-
getBase
-
-
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
-
Return current baseURI.
-
getBaseURI
-
Return current baseURI.
-
getBlanknodeLabel
-
Returns an unused Bnode label.
-
getComment
-
Answer the comment string for this object. If there is more than one such resource, an arbitrary selection is made.
-
getConstraint
-
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
-
Returns a NamedGraphSetMem.
-
getDatasetName
-
Returns the Datasets name.
-
getDatasetName
-
Returns the Datasets name.
-
getDatatype
-
Returns the datatype of the literal.
-
getDbModel
-
Returns a new DbModel using the database connection supplied by $dbStore.
-
getDbStore
-
Returns a database connection with the given parameters.
-
getDefault
-
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
-
Answer a OntClass that represents the domain class of this property.
-
getElementText
-
-
getEntailment
-
-
getExpression
-
Returns the expression string.
-
getFN
-
Gets the full URI of a qname token.
-
getFromNamedPart
-
-
getFromPart
-
-
getGraphName
-
Returns the graph name.
-
getGraphName
-
Returns the graph name.
-
getGraphName
-
Returns the graph name.
-
getGraphname
-
Returns the graphname.
-
getGraphWithOffset
-
Returns the NamedGraph with a specific offset in the dataset.
-
getHead
-
Get the value that is associated with the head of the list.
-
getID
-
Returns the ID of the blank node.
-
getId
-
Returns the GraphPatterns id.
-
getIndexType
-
Returns the indextype: -1 if there is no index, 0 if there are indices over S,P,O(separate),
- if there is an index over SPO, 2 if there is an index over SP and 3 if
there is an index over SO.
-
getInfModelB
-
Returns a InfModelB.
-
getInfModelF
-
Returns a InfModelF.
-
getInstanceRdfType
-
returns the rdf:type, that this distinct resource is instance of.
-
getIsAnon
-
Determine whether this resource is an anonymous resource
-
getIsDefinedBy
-
Answer a resource that is declared to provide a definition of this resource.
-
getLabel
-
Returns the label of the resource, which is the URI of the resource.
-
getLabel
-
Returns the string value of the literal.
-
getLabel
-
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
-
Returns the language of the literal.
-
getLocalName
-
Delivers the Localname (without the namespace prefix) out of the URI of a Resource.
-
getLocalName
-
Returns the local name of the resource.
-
getMember
-
Get the member at a given index
-
getMembers
-
Get an array of all resources that are values of this container
-
getMemModel
-
Create a MemModel containing all the triples of the current DbModel.
-
getMemModel
-
Create a MemModel containing all the triples (including inferred statements) of the current InfModelF.
-
getMemModel
-
Create a MemModel containing all the triples (including inferred statements) of the current InfModelB.
-
getMemModel
-
Returns a MemModel.
-
getMemModelByRDQL
-
Perform an RDQL query on this Model. Should work with all types of models.
-
getModel
-
Create a new instance of DbModel with the given $modelURI and load the corresponding values of modelID and baseURI from the database.
-
getModel
-
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
-
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
-
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
-
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
-
Returns the object.
-
getObject
-
Returns the Triples Object.
-
getObject
-
Returns the object of the triple.
-
getObjs
-
Gets a list of triples with same predicate e.g. :Gunnar :likes "Cheese", "Wine".
-
getOntModel
-
Returns an OntModel.
-
getOntModel
-
Returns an OntModel with this model as baseModel.
-
getOntModelForBaseModel
-
Creates an OntModel that wraps an existing base model.
-
getOptional
-
Returns a pointer to an optional graph pattern.
-
getOrd
-
Converts an ordinal RDF resource to an integer.
-
getParsedNamespaces
-
Returns the models namespaces.
-
getParsedNamespaces
-
Returns the models namespaces.
-
getParsedNamespaces
-
Returns the models namespaces.
-
getPointer
-
Returns a pointer to the token which caused the exception.
-
getPovs
-
Gets a list of triples with same subject e.g. :Gunnar :firstname "Gunnar" ; :lastname "Grimnes.
-
getPredicate
-
Returns the predicate of the triple.
-
getPredicate
-
Returns the Triples Predicate.
-
getPredicate
-
Returns the predicate.
-
getPrefix
-
Short Prefix for known Namespaces by given URI
-
getPrefixes
-
-
getPrefixes
-
Returns an array with prefixes=>namespace mappings
-
getProperty
-
Answer a statement find(s, p, null) with ResResources(ResLiterals) from this model.
-
getProperty
-
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
-
Answer a OntClass that represents the range class of this property.
-
getRDFType
-
Answer the rdf:type (ie the class) of this resource.
-
getResModel
-
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
-
Returns the labels of the result as array.
-
getResultPart
-
-
getResultVars
-
-
getSchema
-
Returns a model, containing all Statements, having a Predicate, that is supported by the inference.
-
getSeeAlso
-
Answer a resource that provides additional information about this resource.
-
getSolutionModifier
-
Gets the solution modifiers of the query.
-
getSpan
-
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
-
Answer a class that is the sub-class of this class.
-
getSubject
-
Returns the Triples Subject.
-
getSubject
-
Returns the subject.
-
getSubject
-
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
-
Get the list that is the tail of this list.
-
getTrigger
-
-
getTriplePattern
-
Returns the triple pattern of the graph pattern.
-
getUnion
-
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
-
Returns the URI of the resource.
-
getValueQuoteType
-
-
getVocabulary
-
Answer a reference to the ontology language profile that governs the ontology model to which this ontology resource is attached.
-
GraphPattern
-
Constructor
-
GraphPattern
-
A graph pattern which consists of triple patterns, optional or union graph patterns and filters.
-
GRDDLParser
-
A GRDDLParser.
-
guessName
-
Delivers the name out of the URI (without the namespace prefix).
-
guessNamespace
-
Extracts the namespace prefix out of a URI.
-
guessPrefix
-
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
-
-
GRDDLParser.php
-
-
$indexArr
-
Array containing the search indices
-
$indexed
-
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
-
Array that holds the position of the infered statements in the model.
-
$infRules
-
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
-
Is true, if this resource is an anonymous node.
-
IteratorAllGraphsDb.php
-
-
IteratorAllGraphsMem.php
-
-
IteratorFindQuadsDb.php
-
-
IteratorFindQuadsMem.php
-
-
image
-
Parses the image if there is one.
-
IMPORTS
-
-
INCOMPATIBLE_WITH
-
-
index
-
Builds a search index for the statements in the MemModel.
-
indexOf
-
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
-
Return the index of a given member of the sequence.
-
Individual
-
Constructor You can supply a uri
-
Individual
-
Interface that encapsulates an individual in an ontology, sometimes referred to as a fact or assertion.
-
InfModel
-
Constructor You can supply a base_uri
-
InfModel
-
A InfModel Model extends a MemModel , by adding the ability to infer statements from known statements and RDFS/OWL-Schematas.
-
InfModel.php
-
-
InfModelB.php
-
-
InfModelF.php
-
-
InfRule.php
-
-
InfStatement.php
-
-
InfModelB
-
Constructor You can supply a base_uri
-
InfModelB
-
A InfModelB extends the InfModel Class, with a backward chaining algorithm.
-
InfModelF
-
Constructor You can supply a base_uri.
-
InfModelF
-
A InfModelF extends the InfModel Class, with a forward chaining algorithm.
-
infRule
-
Constructor
-
InfRule
-
This class represents a single rule in a RDFS inference model.
-
InfStatement
-
An RDF statement which was entailed by a inference rule.
-
intersect
-
Returns a new MemModel containing all the statements which are in both this MemModel and another.
-
intersect
-
Returns a new model containing all the statements which are in both this model and another.
-
intersect
-
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
-
-
iriCheck
-
Checks if $token is an IRI.
-
isAlt
-
Returns true, if this resource is a container from type rdf:Alt
-
isBag
-
Returns true, if this resource is a container from type rdf:Bag
-
isDefinedBy
-
Answer true if this resource is defined by the given resource.
-
isEmpty
-
Checks if MemModel is empty
-
isEmpty
-
Returns true, if this list is empty
-
isEmpty
-
Tells wether the set contains any NamedGraphs.
-
isEmpty
-
Checks if MemModel is empty
-
isEmpty
-
Check if this DbModel is empty.
-
isEmpty
-
Tells wether the set contains any NamedGraphs.
-
isIndexed
-
Returns true if there is an index, false if not.
-
isOuterFilter
-
Returns true if this constraint is an outer filter- false if not.
-
isRDF
-
Tests if the URI of a resource belongs to the RDF syntax/model namespace.
-
isSeq
-
Returns true, if this resource is a container from type rdf:Seq
-
isSetup
-
Checks if tables are setup for RAP
-
isValid
-
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
-
Returns FALSE if argument is a whitespace character
-
IS_DEFINED_BY
-
Answer the predicate that denotes isDefinedBy annotation on an ontology element
-
IS_DEFINED_BY
-
Answer the predicate that denotes isDefinedBy annotation on an ontology element
-
is_valid_id
-
IDs which contain CombiningChars or Extenders (see http://www.w3.org/TR/REC-xml-names/#NT-NCName) are assumed to be invalid.
-
items
-
Parses the rss items/ atom entries.
-
IteratorAllGraphsDb
-
Constructor.
-
IteratorAllGraphsDb
-
Implementation of a Graph iterator.
-
IteratorAllGraphsMem
-
Constructor.
-
IteratorAllGraphsMem
-
Implementation of a Graph iterator.
-
IteratorFindQuadsDb
-
Constructor.
-
IteratorFindQuadsDb
-
Implementation of a quad iterator.
-
IteratorFindQuadsMem
-
Implementation of a quad iterator.
-
IteratorFindQuadsMem
-
Constructor.
-
iterFind
-
Returns a FindIterator for traversing the MemModel.
-
IterFind
-
Constructor.
-
IterFind
-
Implementation of a find-iterator which delivers statements or quads.
-
iterFind
-
Returns a FindIterator for traversing the MemModel.
-
Individual.php
-
-
IterFind.php
-
-
$label
-
Label of the literal
-
$lang
-
-
$lang
-
Language of the literal
-
LABEL
-
Answer the predicate that denotes label annotation on an ontology element
-
LABEL
-
Answer the predicate that denotes label annotation on an ontology element
-
lang
-
Evaluates the lang() function. Returns lang tag of a Literal.
-
langMatches
-
Evaluates the langMatches() function. Return true if the lang tag matches false if not.
-
listClasses
-
Answer an array that ranges over all of the various forms of class description resource in this model.
-
listComments
-
Answer an array of all of the comment literals for this resource.
-
listDomain
-
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
-
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
-
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
-
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
-
Answer an array of values of a given RDF property for this resource as $returnType, or null if it doesn't have one.
-
listRange
-
Answer an array of all of the declared range classes of this property.
-
listRDFTypes
-
Answer an array of the RDF classes to which this resource belongs.
-
listSeeAlso
-
Answer an array of all of the resources that are declared to provide addition information about this resource.
-
listStuff
-
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
-
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
-
Constructor
-
Literal
-
An RDF literal.
-
literalCheck
-
Checks if $token is a Literal.
-
load
-
Load a model from a file containing RDF, N3 or N-Triples.
-
load
-
Load a model from a file containing RDF, N3, N-Triples or a xhtml document containing RDF.
-
load
-
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
-
-
$parsedNamespaces
-
-
$parsedNamespaces
-
Array of namespaces
-
$parsedQuery
-
Parsed query variables and constraints.
-
$parsedQuery
-
Parsed query variables and constraints.
-
$parsedQuery
-
Parsed query variables and constraints.
-
$parseError
-
-
$position
-
Current position StatementIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single MemModel.
-
$position
-
Current position RdqlResultIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single Rdql result.
-
$position
-
Current position FindIterator does not use the build in PHP array iterator, so you can use serveral iterators on a single MemModel.
-
$pred
-
Predicate of the statement
-
$predicate
-
-
$prefixes
-
-
$prefixes
-
-
parse
-
Main function of SparqlResultParser
-
parse
-
Main function of SparqlParser. Parses a query string.
-
parse
-
This parses a N3 string and prints out the triples
-
parse2model
-
This parses a N3 string and returns a memmodel
-
parseAnd
-
Parse the AND clause of an Rdql query
-
parseAsk
-
Sets result form to 'ASK'.
-
parseBase
-
Parses the BASE part of the query.
-
parseBrackettedExpression
-
Parses a bracketted expression.
-
parseCollection
-
Parses an RDF collection.
-
parseConstraint
-
Parses a value constraint.
-
parseConstruct
-
Parses the CONSTRUCT clause.
-
parseDescribe
-
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
-
Parse from a file
-
parseFilter
-
Check if a filter from the AND clause contains an equal number of '(' and ')' and parse filter expressions.
-
parseFrom
-
Parses the FROM clause.
-
parseFrom
-
Parse the FROM/SOURCES clause of an Rdql query When the parsing of this clause is finished, parseWhere() will be called.
-
parseGraph
-
Parses a GRAPH clause.
-
parseGraphPattern
-
Parses a graph pattern.
-
parseLiteral
-
Parses a literal.
-
parseModifier
-
Parses the solution modifiers of a query.
-
parseNode
-
Parses a String to an RDF node.
-
parseOrderCondition
-
Parses order conditions of a query.
-
parsePrefix
-
Adds a new namespace prefix to the query object.
-
parseQuery
-
Parse the given RDQL query string and return an array with query variables and constraints.
-
parseQuery
-
Starts parsing the tokenized SPARQL Query.
-
parseResult
-
-
parseSelect
-
Parses the SELECT part of a query.
-
parseSelect
-
Parse the SELECT clause of an Rdql query.
-
parseString
-
Parse an XML string
-
parseTriplePattern
-
Parses a triple pattern.
-
parseUsing
-
Parse the USING clause of an Rdql query
-
parseWhere
-
Parses the WHERE clause.
-
parseWhere
-
' Parse the WHERE clause of an Rdql query.
-
posns
-
Returns an array with all indexes where item appears in list
-
predicate
-
Alias for getPredicate()
-
preselectGraphs
-
Looks in from and from named part of the query and adds the graphs to the graphlist.
-
previous
-
Returns the previous result.
-
previous
-
Returns the previous statement.
-
PRIOR_VERSION
-
-
PROPERTY
-
-
putModel
-
Store a MemModel or another DbModel from a different DbStore in the database.
-
$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
-
Holds a resResource of the type, which is this ontResource of.
-
$RDF_NS
-
-
$rdf_parser
-
-
$rdf_qnames
-
-
$rdf_qname_prefix
-
-
$RdqlResult
-
Reference to the Rdql result
-
$res
-
-
$res
-
-
$resourcetext
-
-
$resourcetext_taken
-
-
$resParser
-
-
$returnAsQuads
-
boolean value, if the results should be returned as Quads
-
$returnAsTriples
-
boolean value, if the results should be returned as triples.
-
$returnAsTriples
-
boolean value, if the results should be returned as triples.
-
$returnType
-
Defines the type of resource, we'd like to receive.
-
$rsIndexes
-
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
-
-
RdfsVocabulary.php
-
-
RANGE
-
Answer the predicate that denotes the domain of a property.
-
RANGE
-
Answer the predicate that denotes the domain of a property.
-
RdfParser
-
An RDF paser.
-
RdfSerializer
-
An RDF seralizer.
-
RdfSerializer
-
Constructor
-
RdfsVocabulary
-
RDFS vocabulary items
-
RDFUtil
-
Useful utility methods.
-
rdf_get_base
-
-
rdf_get_xml_parser
-
-
rdf_parse
-
-
rdf_parser_create
-
-
rdf_parser_free
-
-
rdf_set_base
-
-
RdqlDbEngine.php
-
-
RdqlEngine.php
-
-
RdqlMemEngine.php
-
-
RdqlParser.php
-
-
RdqlResultIterator.php
-
-
RdqlDbEngine
-
This class performs as RDQL query on a DbModel.
-
RdqlEngine
-
Some general methods common for RdqlMemEngine and RdqlDbEngine
-
RdqlMemEngine
-
This class performes as RDQL query on a MemModel.
-
RdqlParser
-
This class contains methods for parsing an Rdql query string into PHP variables.
-
rdqlQuery
-
Perform an RDQL query on this MemModel.
-
rdqlQuery
-
Perform an RDQL query on this MemModel.
-
rdqlQuery
-
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
-
Iterator for traversing Rdql results.
-
RdqlResultIterator
-
Constructor
-
regex
-
Evaluates the regex() function. Returns true if the regex is matched false if not.
-
reify
-
Reifies a statement.
-
reify
-
Reifies the MemModel.
-
reify
-
Reify the DbModel.
-
relativizeURI
-
-
remove
-
Removes the triple from the MemModel.
-
remove
-
Removes the statement of ResResources(ResTriples) from the MemModel.
-
remove
-
Removes the triple from the MemModel.
-
remove
-
Remove the given value from this list.
-
remove
-
Remove a value from the container.
-
remove
-
Remove the given triple from this DbModel.
-
remove
-
Removes the triple from the MemModel.
-
removeAll
-
Delete all the statements with predicate p for this resource from its associated model.
-
removeAtIndex
-
Remove the member at the specified index.
-
removeComment
-
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
-
Remove the given class from the stated domain(s) of this property.
-
removeHead
-
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
-
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
-
Deletes a Quad from the RDF dataset.
-
removeQuad
-
Deletes a Quad from the RDF dataset.
-
removeRange
-
Remove the given class from the stated range(es) of this property.
-
removeRDFType
-
Remove the statement that this resource is of the given RDF type.
-
removeSeeAlso
-
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
-
Renames the models Blanknodes.
-
replace
-
Replace the value at the i'th position in the list with the given value
-
replace
-
General method to replace nodes of a DbModel.
-
replace
-
General method to replace nodes of a MemModel.
-
replace
-
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
-
Callback function for replacing "this" elements with the right RDF uri.
-
ResAlt
-
This interface defines methods for accessing RDF Alternative resources.
-
ResAlt
-
Constructor You can supply a URI
-
ResBag
-
Constructor You can supply a URI
-
ResBag
-
This interface defines methods for accessing RDF Bag resources.
-
ResContainer
-
Constructor You can supply a URI
-
ResContainer
-
An RDF Container.
-
reset
-
Readies this object for serializing another model
-
reset
-
Readies this object for serializing another model
-
ResIterator
-
Constructor.
-
ResIterator
-
Implementation of a resource iterator.
-
ResList
-
Constructor You can supply a URI
-
ResList
-
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
-
Constructor You have to supply a string.
-
ResLiteral
-
An RDF literal.
-
ResModel
-
Constructor You have to supply a memmodel/dbmodel/infmodel to save the statements.
-
ResModel
-
A ResModel provides an resource centric view on an underlying RDF model.
-
ResAlt.php
-
-
ResBag.php
-
-
ResContainer.php
-
-
ResIterator.php
-
-
ResList.php
-
-
ResLiteral.php
-
-
ResModel.php
-
-
ResProperty.php
-
-
ResResource.php
-
-
ResSeq.php
-
-
Resource
-
An RDF resource.
-
Resource
-
Constructor Takes an URI or a namespace/localname combination
-
ResProperty
-
Constructor You can supply a URI
-
ResProperty
-
An RDF Property.
-
ResResource
-
An RDF Resource.
-
ResResource
-
Constructor You can supply a uri
-
ResSeq
-
Constructor You can supply a URI
-
ResSeq
-
This interface defines methods for accessing RDF Sequence resources.
-
RESTRICTION
-
-
returnResult
-
Returns the query result.
-
returnResult
-
Generates the result object.
-
rewind
-
Resets iterator list to start.
-
rewind
-
Resets iterator list to start
-
rewind
-
Resets iterator list to start.
-
rewind
-
Resets iterator list to start
-
rewind
-
Resets iterator list to start
-
rewind
-
Resets iterator list to start
-
RssParser
-
RSS/ATOM Parser
-
RdfParser.php
-
-
RdfSerializer.php
-
-
RssParser.php
-
-
RdfUtil.php
-
-
$searchObject
-
The object to search for.
-
$searchPredicate
-
The predicate to search for.
-
$searchSubject
-
The subject to search for.
-
$server
-
-
$setName
-
Name of the DatasetMem.
-
$setName
-
Name of the Dataset
-
$sort_model
-
-
$statement
-
Statement
-
$statementRuleIndex
-
Array of the connection between the infrules and the statement that assigned those rules.
-
$strXmlData
-
-
$stylelinks
-
Stylesheet link
-
$subj
-
Subject of the statement
-
$subject
-
Searchpattern
-
$supportedInference
-
Array of URI-Strings that produces Infrules.
-
Statement.php
-
-
sameListAs
-
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
-
-
SAME_CLASS_AS
-
-
SAME_INDIVIDUAL_AS
-
-
SAME_PROPERTY_AS
-
-
saveAs
-
Serializes a model and saves it into a file.
-
saveAs
-
Serializes a model and saves it into a file.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the DbModel to a file.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the MemModel to a file.
-
saveAs
-
Serializes a model and saves it into a file.
-
saveAs
-
Saves the RDF,N3 or N-Triple serialization of the full InfModelB (including inferred triples) to a file.
-
SEE_ALSO
-
Answer the predicate that denotes seeAlso annotation on an ontology element
-
SEE_ALSO
-
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
-
Selects the result variables and builds a result table.
-
serialize
-
Serializes a model to N Triple syntax.
-
serialize
-
Serializes a model to RDF syntax.
-
serialize
-
Serializes a model to N3 syntax.
-
serializeToFile
-
Serialize the Dataset to File
-
serializeToFile
-
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
-
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
-
Sets the base part.
-
setBaseURI
-
Set a base URI for the MemModel.
-
setBaseURI
-
Set a base URI for the DbModel.
-
setBaseURI
-
Set a base URI for the MemModel.
-
setComment
-
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
-
Sets the datatype of the literal.
-
setDefault
-
Set the default value of this container.
-
setDefaultGraph
-
Overwrites the existting default graph.
-
setDefaultGraph
-
Overwrites the existting default graph.
-
setDomain
-
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
-
Sets, if BlankNode labels should be replaced by the generic label from the constants.php file
-
setGraphName
-
Sets the graph name.
-
setGraphname
-
Sets the graphname.
-
setGraphName
-
Sets the graph name.
-
setGraphName
-
Sets the graph name.
-
setHead
-
Update the head of the list to have the given value, and return the previous value.
-
setId
-
Sets the GraphPatterns Id.
-
setInstanceRdfType
-
Sets the rdf:type, that this distinct resource is instance of.
-
setIsAnon
-
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
-
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
-
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
-
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
-
Add a resource that is declared to provided additional information about the definition of this resource
-
setSolutionModifier
-
Sets a solution modifier.
-
setSubClass
-
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
-
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
-
Sets the trigger of this rule The values can be NULL to match anything or be a node that has to be matched.
-
setURI
-
Sets the URI of this resource
-
setVocabulary
-
Sets the reference to the assoiated vocabulary
-
size
-
Returns the number values in the container.
-
size
-
Number of statements in the MemModel
-
size
-
Return the number of statements in this DbModel.
-
size
-
Number of all inferable triples in the Model.
-
size
-
Number of triples in the MemModel
-
SOME_VALUES_FROM
-
-
sortVars
-
Sorts the results.
-
SPARQL.php
-
-
SparqlClient.php
-
-
SparqlEngine.php
-
-
SparqlParser.php
-
-
SparqlParserException.php
-
-
SparqlClient
-
Constructor of SparlClient.
-
SparqlClient
-
Client for querying a sparql server.
-
SparqlEngine
-
This engine executes SPARQL queries against an RDF Datatset.
-
SparqlParser
-
Constructor of SparqlParser
-
SparqlParser
-
Parses a SPARQL Query string and returns a Query Object.
-
SparqlParserException
-
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
-
Performs a SPARQL query against an RDF Dataset.
-
SparqlResultParser
-
Parses an xml document in SPARQL Result XML Format.
-
startParsing
-
Start parsing of the tokenized query string.
-
Statement
-
The parameters to constructor are instances of classes and not just strings
-
Statement
-
An RDF statement.
-
StatementIterator
-
Iterator for traversing models.
-
StatementIterator
-
Constructor
-
statementize
-
Does the real work, returns a list of subject, predicate, object triples.
-
statementsorter
-
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
-
Alias for getSubject()
-
subtract
-
Return a new MemModel that is the subtraction of another model from this DbModel.
-
subtract
-
Returns a new MemModel that is the subtraction of another model from this MemModel.
-
subtract
-
Returns a new model that is the subtraction of another model from this model.
-
SUB_CLASS_OF
-
Answer the predicate that denotes that one class is a sub-class of another.
-
SUB_CLASS_OF
-
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
-
Answer the predicate that denotes that one property is a sub-property of another.
-
sy
-
Adds the sy namespace.
-
SYMMETRIC_PROPERTY
-
-
SparqlResultParser.php
-
-
StatementIterator.php
-
-
_addInfRule
-
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
-
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
-
Check if the query string of the given clause contains an undesired ','.
-
_checkGraphs
-
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
-
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
-
FastForward until next token which is not blank.
-
_findInIndex
-
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
-
-
_generateSql_SelectVar
-
Generate a piece of an sql select statement for a variable.
-
_generate_anonymous_uri
-
-
_getAttributes
-
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
-
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
-
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
-
Executes the GET Request.
-
_indexOpr
-
adds/removes a statement into/from an index.
-
_infFind
-
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
-
Initialize Read all needed data into the set.
-
_isDefined
-
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
-
-
_istalpha
-
-
_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
-
-
_node2ResNode
-
converts a Resource,Blanknode,Literal into a ResResource, ResProperty, or ResLiteral
-
_node2string
-
Serialize node to a TriX string
-
_nodeEqualsFind
-
Checks, if a single node matches a single find pattern.
-
_parse_uri
-
-
_populateGraphSet
-
Populates the graphSet with namedGraphs and triples.
-
_pop_element
-
-
_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
-
-
_resolve_uri_reference
-
-
_rewind
-
Rewind until next token which is not blank.
-
_serialize
-
Serialize the dataset to a TriX string
-
_split_name
-
-
_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
-
Check if $token is the first token of a valid URI (<URI>) and return the whole URI string
-
_validateVar
-
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
-