[sparql] element index

Package indexes

All elements
a b c d e f g h i j l m n o p q r s t u v w x _
_
top
_buildIntBindings
Marks triples with internal bindings.
_buildResultSet
Builds the resultset.
_buildurl
SparqlClient::_buildurl() in SparqlClient.php
Helper function that builds the url.
_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.
_determineType
Tries to determine the rdf:type of the variable.
_fastForward
SparqlParser::_fastForward() in SparqlParser.php
FastForward until next token which is not blank.
_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.
_http_get
SparqlClient::_http_get() in SparqlClient.php
Executes the GET Request.
_rewind
SparqlParser::_rewind() in SparqlParser.php
Rewind until next token which is not blank.
__construct
__construct
__construct
SparqlParserException::__construct() in SparqlParserException.php
__construct
SparqlEngineDb::__construct() in SparqlEngineDb.php
Use SparqlEngine::factory() to create the instance
__construct
SparqlEngine::__construct() in SparqlEngine.php
Use SparqlEngine::factory() instead of this constructor.
__construct
__construct
__construct
__construct
__construct
__toString
a
top
$arCastTypes
SQL types to cast XSD schema types to, so that they will get sorted correctly.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arCreationMethods
Defines the methods needed to create the types in $arVarAssignments.
$arDumbOperators
$arFuncParamNumbers
Number of parameters for the functions supported.
$arOperatorSwitches
List of operators and their counterpart if operands are switched.
$arPlaceholders
Array with placeholders of prepared statements variables.
$arPrepared
SparqlEngineDb::$arPrepared in SparqlEngineDb.php
Prepared SQL statements are stored in here.
$arrOutput
SparqlResultParser::$arrOutput in SparqlResultParser.php
$arTableColumnNames
Column names for subjects, predicates and objects for easy access via their character names (spo).
$arTypeNumbers
Defines the sort order for value types in the database, so that they get sorted correctly as the specs want it.
$arUnionVarAssignments
Array of arrays that contain all variable names which are to be found in the result of an sql statement in a union.
$arUsedVarAssignments
Array of variable name => table.col assignments for all variables used in the query not only the ones that shall be returned.
$arUsedVarTypes
Which variables have been used as which type? key is variable name, value is an array of max. three keys (s, p, o)
$arVarAssignments
Determines which variables can be found in which SQL result column.
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.
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.
addNamedGraph
ClientQuery::addNamedGraph() in ClientQuery.php
Adds a named graph to the query object.
addOptional
GraphPattern::addOptional() in GraphPattern.php
Adds a pointer to an optional graphPattern.
addPrefix
Query::addPrefix() in Query.php
Adds a prefix to the list of prefixes.
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.
b
top
$base
Query::$base in Query.php
The BASE part of the SPARQL query.
$bncounter
SparqlResultParser::$bncounter in SparqlResultParser.php
$bnodeCounter
Blanknode counter.
$bOptional
If the filter is in an optional statement
$bRealPrepared
SparqlEngineDb::$bRealPrepared in SparqlEngineDb.php
If the prepared statement is really prepared, or if we just emulate it.
$bWrap
If the result HTML should be wrapped in a div
$bWrap
If the result HTML should be wrapped in a div
balanceTree
SparqlParser::balanceTree() in SparqlParser.php
"Balances" the filter tree in the way that operators on the same level are nested according to their precedence defined in $operatorPrecedence array.
bNodeCheck
SparqlParser::bNodeCheck() in SparqlParser.php
Checks if $token is a Blanknode.
buildVarmap
SparqlEngine::buildVarmap() in SparqlEngine.php
Sorts the result table.
c
top
$constraint
GraphPattern::$constraint in GraphPattern.php
$constructPattern
If the query type is CONSTRUCT this variable contains the CONSTRUCT graph pattern.
$counter
SparqlResultParser::$counter in SparqlResultParser.php
$current_literal
SparqlResultParser::$current_literal in SparqlResultParser.php
checkDtypeLang
SparqlParser::checkDtypeLang() in SparqlParser.php
Checks if there is a datatype given and appends it to the node.
checkIntBindings
Checks it there are internal bindings between variables.
ClientQuery
ClientQuery in ClientQuery.php
ClientQuery Object to run a SPARQL Query against a SPARQL server.
compareTypeSet
Compares two type sets. Works like a normal comparision method that returns -1/0/1 for use in usort()
compareXsdType
Compares two XSD data types and returns the comparison number.
Constraint
Constraint in Constraint.php
Represents a constraint. A value constraint is a boolean- valued expression of variables and RDF Terms.
constructGraph
Constructs a result graph.
constructGraph
Constructs a result graph.
convertFromDbResults
Determines the correct renderer and calls it.
convertFromDbResults
Converts the database results into the desired output format and returns the result.
convertFromDbResults
Converts the database results into the desired output format and returns the result.
convertFromDbResults
Converts the database results into nice HTML.
convertFromDbResults
Converts the database results into nice HTML.
convertFromResult
Converts the database results into the output format and returns the result.
convertFromResult
Determines the correct renderer and calls it.
convertFromResult
Converts the database results into the output format and returns the result.
convertFromResult
Converts the database results into the desired output format and returns the result.
convertFromResult
Converts the database results into the output format and returns the result.
createBooleanValue
createEqualSelects
Creates SELECT statements that have the same number of columns.
createEquation
createFilterSql
Creates the SQL representing a Sparql FILTER.
createFromRecords
createFunction
createFunction_bound
Creates an sql statement that returns if the element is a blank node
createFunction_datatype
createFunction_isblank
Creates an sql statement that returns if the element is a blank node
createFunction_isiri
createFunction_isliteral
Creates an sql statement that returns the language of the object
createFunction_isuri
createFunction_lang
Creates an sql statement that returns the language of the object
createFunction_langmatches
Creates an sql statement that checks if the variable
createFunction_regex
Creates an sql statement that checks if the given part matches
createFunction_sameterm
Creates an sql statement that checks if both terms are the same
createFunction_str
Creates an sql statement that returns the string representation
createFunction_xsd_datetime
Creates an sql statement that returns the datetime representation
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createObjectFromDbRecordSetPart
Creates an RDF object object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createPredicateFromDbRecordSetPart
Creates an RDF predicate object contained in the given $dbRecordSet object.
createSingleTypeCheck
Creates sql to ensure the type between $val and variable $tree is the same.
createSql
Creates an SQL query string from the given Sparql query object.
createStatementFromDbRecordSetPart
Creates an RDF Statement object for one of the variables contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createSubjectFromDbRecordSetPart
Creates an RDF subject object contained in the given $dbRecordSet object.
createTableFromRecords
createTableFromRecords
createTreeSql
createTypeEquation
Generates sql code to make sure the datatypes of the two operands match
createValue
Creates an RDF object object contained in the given $dbRecordSet object.
createValue
Creates the sql for an element of type "value".
createVariableArray
Creates an array full of variables to be passed to the Execute() method of the database connection object.
ClientQuery.php
ClientQuery.php in ClientQuery.php
Constraint.php
Constraint.php in Constraint.php
d
top
$dataset
SparqlEngineDb::$dataset in SparqlEngineDb.php
RDF dataset object.
$dataset
SparqlEngine::$dataset in SparqlEngine.php
The RDF Dataset.
$dbConn
SparqlEngineDb::$dbConn in SparqlEngineDb.php
Database connection object.
$default
ClientQuery::$default in ClientQuery.php
$dtype
SparqlResultParser::$dtype in SparqlResultParser.php
dateTime
dateTime() in FilterFunctions.php
Evaluates the dateTime() function.Tries to convert a date string into a unix timestamp.
describeGraph
Builds a describing named graph. To define an attribute list for a several rdf:type look at constants.php
determineOffset
Determines the offset in the sqls, the position to start form.
distinct
SparqlEngine::distinct() in SparqlEngine.php
Eliminates duplicate results.
dtypeCheck
SparqlParser::dtypeCheck() in SparqlParser.php
Checks if the Node is a typed Literal.
Default.php
Default.php in Default.php
Default.php
Default.php in Default.php
e
top
$expression
Constraint::$expression in Constraint.php
The expression string.
error
SparqlParser::error() in SparqlParser.php
Error reporting.
execute
SparqlEngineDb::execute() in SparqlEngineDb.php
Execute a prepared statement by filling it with variables
execute
execute
Executes the given prepared statments, filling the placeholders with the given values.
execute
Execute the prepared statement and returns the result.
f
top
$fromNamedPart
Contains the FROM NAMED part of the SPARQL query.
$fromPart
Query::$fromPart in Query.php
Contains the FROM part of the SPARQL query.
factory
SparqlEngine::factory() in SparqlEngine.php
Creates a new instance of the SparqlEngine, depending on the given model. For example, if you pass a DbModel, you will get a SparqlEngine specialized on databases.
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.
findTuplesMatchingOnePattern
Finds Tuples matching one TriplePattern.
fixNegationInFuncName
fixWhere
Removes a leading AND from the where clause which would render the sql illegal.
FilterFunctions.php
FilterFunctions.php in FilterFunctions.php
FilterGenerator.php
FilterGenerator.php in FilterGenerator.php
g
top
$graphname
GraphPattern::$graphname in GraphPattern.php
Graphname. 0 if its in the default graph.
$graphPatternCounter
GraphPattern counter.
getAllVars
Query::getAllVars() in Query.php
Returns a list with all used variables.
getBase
Query::getBase() in Query.php
Returns the BASE part of the query.
getBlanknodeLabel
Returns an unused Bnode label.
getCastMethod
Returns the SQL statement needed to case the given variable to the given type.
getCol
getConstraint
GraphPattern::getConstraint() in GraphPattern.php
Returns a constraint if there is one false if not.
getConstructPattern
Returns the construvtGraphPattern of the query if there is one.
getConstructPatternVariables
Returns a list of variables used in the construct patterns.
getCount
getCount
Returns the number of rows that the given query will return.
getDataset
SparqlEngine::getDataset() in SparqlEngine.php
getDatatype
Returns the datatype of a variable if it is set.
getDatatypeCol
getDateConversionSql
getExpression
Constraint::getExpression() in Constraint.php
Returns the expression string.
getFromNamedPart
Returns the FROM NAMED clause of the query.
getFromPart
Returns the FROM clause of the query.
getFullUri
Query::getFullUri() in Query.php
Gets the full URI of a qname token.
getGraphname
GraphPattern::getGraphname() in GraphPattern.php
Returns the graphname.
getHead
getHtmlBlank
getHtmlBlank
getHtmlLiteral
getHtmlLiteral
getHtmlNull
getHtmlNull
getHtmlResource
getHtmlResource
getId
GraphPattern::getId() in GraphPattern.php
Returns the GraphPatterns id.
getIsCol
getLangCol
getLanguageTag
Returns the language of a variable if the tag is set (e.g. @en) Returns NULL if no language is set.
getLimitSql
Creates a sql LIMIT statement if the sparql query needs one.
getNewPattern
Generates a new GraphPattern. If it is a CONSTRUCT graph pattern $constr has to set to TRUE, FALSE if not.
getObject
QueryTriple::getObject() in QueryTriple.php
Returns the Triples Object.
getOptional
GraphPattern::getOptional() in GraphPattern.php
Returns a pointer to an optional graph pattern.
getOrderifiedSqls
Returns an array of sql statements that need to be executed and deliver the full result set when combined.
getPlaceholders
getPointer
SparqlParserException::getPointer() in SparqlParserException.php
Returns a pointer to the token which caused the exception.
getPredicate
QueryTriple::getPredicate() in QueryTriple.php
Returns the Triples Predicate.
getPrefixes
Returns the prefix map of the query.
getPreparedVariablePlaceholder
Returns a placeholder to be included in the sql statement.
getQuery
SparqlEngineDb::getQuery() in SparqlEngineDb.php
getQuery
SparqlEngine::getQuery() in SparqlEngine.php
getResultForm
Returns the type the result shall have.
getResultPart
Returns a list containing the graph patterns of the query.
getResultVars
Returns a list containing the result vars.
getResultXml
getSelect
getSolutionModifier
Gets the solution modifiers of the query.
getSpecialOrderVariables
Returns an array of variables that the result is going to be ordered by and that need to be sorted multiple times (because they may contain different data types)
getSpokenBoolean
getSqlCondition
Creates an SQL statement that checks for the value of some subject/predicate/object
getSqlEqualityCondition
Checks if the sentence part (subject, predicate or object) in $arNew has the same content as $arOld.
getSqlGenerator
SparqlEngineDb::getSqlGenerator() in SparqlEngineDb.php
getSqlOrderBy
Returns the ORDER BY sql query string if neccessary for the query. The returned string already has ORDER BY prefixed.
getSqlVariableName
getSqlVariableNameDatatype
getSqlVariableNameIs
getSqlVariableNameLanguage
getSqlVariableNameValue
getStringNullComparison
Returns the correct sql string comparison method.
getSubject
QueryTriple::getSubject() in QueryTriple.php
Returns the Triples Subject.
getTree
Constraint::getTree() in Constraint.php
getTriplePattern
Returns the triple pattern of the graph pattern.
getTripleSql
Creates some SQL statements from the given triple pattern array.
getTypeSets
Determines the type sets in the query results.
getTypesetWhereClause
Creates and returns the SQL WHERE clauses needed to get only data in the given typeset.
getTypeSorter
SparqlEngineDb::getTypeSorter() in SparqlEngineDb.php
getUnion
GraphPattern::getUnion() in GraphPattern.php
Returns a pointer to a union graph pattern.
getUsedVarAssignments
getUsedVarTypes
getValueCol
getVarAssignments
getVariableArrayFromRecordSet
Converts a ADORecordSet object into an array of "rows" that are subarrays of variable => value pairs.
getVariableArrayFromRecordSets
getVariables
QueryTriple::getVariables() in QueryTriple.php
Returns an array of all variables in this triple.
getVariables
GraphPattern::getVariables() in GraphPattern.php
Returns an array of all variables used in this graph pattern.
getXmlBlank
getXmlLiteral
getXmlNull
getXmlResource
getXsdTypeNumber
Returns the type number for an xsd data type.
GraphPattern
GraphPattern in GraphPattern.php
A graph pattern which consists of triple patterns, optional or union graph patterns and filters.
GraphPattern
GraphPattern::GraphPattern() in GraphPattern.php
Constructor
GraphPattern.php
GraphPattern.php in GraphPattern.php
h
top
HTML.php
HTML.php in HTML.php
HTML.php
HTML.php in HTML.php
i
top
$isConstructPattern
$isEmpty
Query::$isEmpty in Query.php
TRUE if the query is empty FALSE if not.
iriCheck
SparqlParser::iriCheck() in SparqlParser.php
Checks if $token is an IRI.
isEmpty
Query::isEmpty() in Query.php
Returns $isEmpty variable
isEmptyPattern
Checks if the graph pattern is empty (contains no usable data).
isNumber
isObject
Checks if the given tree element is a variable and the variable is actually an object in the database.
isObjectOrSubject
Checks if the given tree element is a variable and the variable is actually an object or a subject in the database.
isOuterFilter
Constraint::isOuterFilter() in Constraint.php
Returns true if this constraint is an outer filter- false if not.
isPlainString
Checks if the given tree element is a plain string (no variable)
isPreparedVariable
Checks if the given variable is a replacement for a prepared statement.
isResultVar
Checks if the given variable name is part of the result variables list.
isSpecialOrderVariable
Checks if a given variable name is a variable that needs special care when used in ORDER BY statements.
isValueButNotVariableNorString
isVariable
Checks if the given tree element is a variable
isVariable
Checks if the given subject/predicate/object is a variable name.
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.
l
top
$lang
SparqlResultParser::$lang in SparqlResultParser.php
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.
literalCheck
SparqlParser::literalCheck() in SparqlParser.php
Checks if $token is a Literal.
loadClass
Tries to load a given class if it doesn't exist, and returns true if the class can be used.
loadClass
Tries to load a given class if it doesn't exist, and returns true if the class can be used.
m
top
$mode
SparqlResultParser::$mode in SparqlResultParser.php
$modelID
SparqlEngineDb::$modelID in SparqlEngineDb.php
Internal ID for our graph model.
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.
mkVal
n
top
$named
ClientQuery::$named in ClientQuery.php
$nSqlVariableNameCount
$nUnionCount
Current UNION part number
o
top
$object
QueryTriple::$object in QueryTriple.php
The QueryTriples Object.
$open
GraphPattern::$open in GraphPattern.php
$operatorPrecedence
Which order operators are to be treated.
$optional
GraphPattern::$optional in GraphPattern.php
$outer
Constraint::$outer in Constraint.php
True if it is an outer filter, false if not.
$output
SparqlClient::$output in SparqlClient.php
orderTypeSets
Takes an array of type sets (as returned by getTypeSets()) and sorts the variables according to the SPARQL specs.
Offsetter.php
Offsetter.php in Offsetter.php
p
top
$patternId
GraphPattern::$patternId in GraphPattern.php
$pr
SparqlEngineDb::$pr in SparqlEngineDb.php
Prepared statments preparator instance
$predicate
QueryTriple::$predicate in QueryTriple.php
The QueryTriples Predicate.
$prefixes
ClientQuery::$prefixes in ClientQuery.php
$prefixes
Query::$prefixes in Query.php
Array that contains used prefixes and namespaces.
parse
SparqlParser::parse() in SparqlParser.php
Main function of SparqlParser. Parses a query string.
parse
SparqlResultParser::parse() in SparqlResultParser.php
Main function of SparqlResultParser
parseAsk
SparqlParser::parseAsk() in SparqlParser.php
Sets result form to 'ASK' and 'COUNT'.
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.
parseConstraintTree
Parses a constraint string recursively.
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.
parseFrom
SparqlParser::parseFrom() in SparqlParser.php
Parses the FROM clause.
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
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.
parseTriplePattern
Parses a triple pattern.
parseWhere
SparqlParser::parseWhere() in SparqlParser.php
Parses the WHERE clause.
prepare
SparqlParser::prepare() in SparqlParser.php
Set all internal variables to a clear state before we start parsing.
prepare
SparqlEngineDb::prepare() in SparqlEngineDb.php
Create a prepared statement that can be executed later.
prepareInDb
Converts the given queries into sql prepared statments,
preselectGraphs
Looks in from and from named part of the query and adds the graphs to the graphlist.
PreparedStatement.php
PreparedStatement.php in PreparedStatement.php
Preparator.php
Preparator.php in Preparator.php
PreparedStatement.php
PreparedStatement.php in PreparedStatement.php
q
top
$query
SparqlEngineDb::$query in SparqlEngineDb.php
Sparql Query object.
$query
SparqlParser::$query in SparqlParser.php
The query Object
$query
$query
ClientQuery::$query in ClientQuery.php
$query
SparqlEngine::$query in SparqlEngine.php
The query object.
$querystring
SparqlParser::$querystring in SparqlParser.php
The Querystring
qnameCheck
SparqlParser::qnameCheck() in SparqlParser.php
Checks if $token is a qname.
query
ClientQuery::query() in ClientQuery.php
Adds the SPARQL query string to the query object.
Query
Query::Query() in Query.php
Constructor
Query
Query in Query.php
The Class Query represents a SPARQL query.
query
SparqlClient::query() in SparqlClient.php
Main function of SparqlClient.
queryDb
SparqlEngineDb::queryDb() in SparqlEngineDb.php
Sends the sql to the database and returns the results.
queryModel
SparqlEngineDb::queryModel() in SparqlEngineDb.php
Query the database with the given SPARQL query.
queryModel
SparqlEngine::queryModel() in SparqlEngine.php
The query engine's main method.
queryMultiple
SparqlEngineDb::queryMultiple() in SparqlEngineDb.php
Executes multiple SQL queries and returns an array of results.
QueryTriple
QueryTriple in QueryTriple.php
Represents a query triple.
QueryTriple
QueryTriple::QueryTriple() in QueryTriple.php
Constructor
Query.php
Query.php in Query.php
QueryTriple.php
QueryTriple.php in QueryTriple.php
r
top
$resParser
SparqlResultParser::$resParser in SparqlResultParser.php
$resultForm
Query::$resultForm in Query.php
What form/type of result should be returned.
$resultPart
Query::$resultPart in Query.php
Contains the result part of the SPARQL query.
$resultVars
Query::$resultVars in Query.php
Array of result variables that shall be returned.
regex
regex() in FilterFunctions.php
Evaluates the regex() function. Returns true if the regex is matched false if not.
removeNull
Removes all NULL values from an array and returns it.
replacePlaceholders
Replaces the placeholders in the given SQL statement with real SQL prepared statements placeholders.
replacePlaceholdersCb
Callback method internally used by replacePlaceholders() method.
replacePlaceholdersWithVariables
Replaces all placeholders with their actual values.
replacePlaceholdersWithVariablesCb
Callback method internally used by replacePlaceholdersWithVariables() method.
replacePrefix
returnResult
SparqlClient::returnResult() in SparqlClient.php
Returns the query result.
ResultConverter.php
ResultConverter.php in ResultConverter.php
ResultRenderer.php
ResultRenderer.php in ResultRenderer.php
ResultConverter.php
ResultConverter.php in ResultConverter.php
ResultRenderer.php
ResultRenderer.php in ResultRenderer.php
s
top
$server
SparqlClient::$server in SparqlClient.php
$sg
SQL Generator
$sg
SparqlEngineDb::$sg in SparqlEngineDb.php
SQL generator instance
$solutionModifier
Optional solution modifier of the query.
$sops
SparqlParser::$sops in SparqlParser.php
Operators introduced by sparql
$sparqlEngine
$strXmlData
SparqlResultParser::$strXmlData in SparqlResultParser.php
$subject
QueryTriple::$subject in QueryTriple.php
The QueryTriples Subject.
selectVars
SparqlEngine::selectVars() in SparqlEngine.php
Selects the result variables and builds a result table.
setBase
Query::setBase() in Query.php
Sets the base part.
setData
Needs to be executed before getOrderifiedSqls and willBeDataDependent
setGraphname
GraphPattern::setGraphname() in GraphPattern.php
Sets the graphname.
setId
GraphPattern::setId() in GraphPattern.php
Sets the GraphPatterns Id.
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.
setResultForm
Sets the result form.
setSolutionModifier
Sets a solution modifier.
setTree
Constraint::setTree() in Constraint.php
sortVars
SparqlEngine::sortVars() in SparqlEngine.php
Sorts the results.
SparqlClient.php
SparqlClient.php in SparqlClient.php
SparqlEngine.php
SparqlEngine.php in SparqlEngine.php
SqlGenerator.php
SqlGenerator.php in SqlGenerator.php
SqlGeneratorException.php
SqlGeneratorException.php in SqlGeneratorException.php
SqlMerger.php
SqlMerger.php in SqlMerger.php
SparqlEngineDb.php
SparqlEngineDb.php in SparqlEngineDb.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.
SparqlEngineDb
SparqlEngineDb in SparqlEngineDb.php
SPARQL engine optimized for databases.
SparqlEngineDb_FilterGenerator
SparqlEngineDb_FilterGenerator in FilterGenerator.php
Generates SQL from Sparql FILTER parts
SparqlEngineDb_FilterGenerator_Value
Value class that holds some arbitrary value and a datatype.
SparqlEngineDb_Offsetter
SparqlEngineDb_Offsetter in Offsetter.php
Determines the offset in a row of sql queries.
SparqlEngineDb_Preparator
SparqlEngineDb_Preparator in Preparator.php
This class takes care of prepared statements: Preparing them in the database, replacing
SparqlEngineDb_PreparedStatement
SparqlEngineDb_PreparedStatement in PreparedStatement.php
A prepared statement that can be execute()d later multiple times with different variable values.
SparqlEngineDb_ResultConverter
SparqlEngineDb_ResultConverter in ResultConverter.php
Converts a database result into a proper rdf statement triple array
SparqlEngineDb_ResultRenderer
SparqlEngineDb_ResultRenderer in ResultRenderer.php
Result renderer interface that any result renderer needs to implement.
SparqlEngineDb_ResultRenderer_Default
Default RAP result renderer.
SparqlEngineDb_ResultRenderer_HTML
Sparql DB HTML result renderer.
SparqlEngineDb_ResultRenderer_XML
Sparql DB XML result renderer as defined by http://www.w3.org/TR/rdf-sparql-XMLres/
SparqlEngineDb_SqlGenerator
SparqlEngineDb_SqlGenerator in SqlGenerator.php
Creates sql statements from a Query object
SparqlEngineDb_SqlGeneratorException
SparqlEngineDb_SqlGeneratorException in SqlGeneratorException.php
Exception when generating the SQL statement
SparqlEngineDb_SqlMerger
SparqlEngineDb_SqlMerger in SqlMerger.php
Creates an sql string from an sql array
SparqlEngineDb_TypeSorter
SparqlEngineDb_TypeSorter in TypeSorter.php
Sorts database types as the Sparql specs want it.
SparqlEngine_PreparedStatement
SparqlEngine_PreparedStatement in PreparedStatement.php
A prepared statement that can be execute()d later multiple times with different variable values.
SparqlEngine_ResultConverter
SparqlEngine_ResultConverter in ResultConverter.php
Converts a memory result into a proper rdf statement triple array
SparqlEngine_ResultRenderer
SparqlEngine_ResultRenderer in ResultRenderer.php
Result renderer interface that any result renderer needs to implement.
SparqlEngine_ResultRenderer_Default
Default result renderer for SparqlEngine
SparqlEngine_ResultRenderer_HTML
XML result renderer for SparqlEngine
SparqlEngine_ResultRenderer_XML
XML result renderer for SparqlEngine
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.
SparqlResultParser
SparqlResultParser in SparqlResultParser.php
Parses an xml document in SPARQL Result XML Format.
str
str() in FilterFunctions.php
Evaluates the str() function. Returns the string representation of a variable or RDF term.
switchOperator
SparqlResultParser.php
SparqlResultParser.php in SparqlResultParser.php
t
top
$tmp
SparqlParser::$tmp in SparqlParser.php
Last parsed graphPattern
$tokens
SparqlParser::$tokens in SparqlParser.php
The tokenized Query
$tree
Constraint::$tree in Constraint.php
The expression tree
$triplePattern
GraphPattern::$triplePattern in GraphPattern.php
$ts
SparqlEngineDb::$ts in SparqlEngineDb.php
Type sorting instance
$type
$typeVariable
$typeXsdBoolean
$typeXsdDateTime
$typeXsdDouble
$typeXsdInteger
$typeXsdString
TypeSorter.php
TypeSorter.php in TypeSorter.php
tagClosed
SparqlResultParser::tagClosed() in SparqlResultParser.php
tagData
SparqlResultParser::tagData() in SparqlResultParser.php
tagOpen
SparqlResultParser::tagOpen() in SparqlResultParser.php
tokenize
SparqlParser::tokenize() in SparqlParser.php
Tokenizes the querystring.
u
top
$union
GraphPattern::$union in GraphPattern.php
$usedVars
Query::$usedVars in Query.php
List of all vars used in the query.
uncomment
SparqlParser::uncomment() in SparqlParser.php
Removes comments in the query string. Comments are indicated by '#'.
v
top
$value
$varDatatypes
Datatype of variables. NULL if the variable has no data type (e.g. ^^xsd::integer) set.
$varLanguages
Language of variables. NULL if the variable has no language tag (e.g. @en) set.
$varlist
SparqlResultParser::$varlist in SparqlResultParser.php
$varname
SparqlResultParser::$varname in SparqlResultParser.php
varCheck
SparqlParser::varCheck() in SparqlParser.php
Checks if $token is a variable.
w
top
willBeDataDependent
Returns wether the returned queries will depend on the data or not.
wrapCode
wrapCode
wrapCode
writeQueryResultAsHtmlTable
Prints a query result as HTML table.
x
top
XML.php
XML.php in XML.php
XML.php
XML.php in XML.php
a b c d e f g h i j l m n o p q r s t u v w x _