[sparql] element index

Package indexes

All elements
a b c d e f g i j l m o p q r s t u v w _
_
top
_buildIntBindings
Marks triples with internal bindings.
_buildResultSet
Builds the resultset.
_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
SparqlEngine::_determineType() in SparqlEngine.php
Tries to determine the rdf:type of the variable.
_fastForward
SparqlParser::_fastForward() in SparqlParser.php
FastForward until next token which is not blank.
_getAttributes
SparqlEngine::_getAttributes() in SparqlEngine.php
Search the attributes listed in $list in the dataset.
_getBindindString
Helper Function for function buildXmlResult($vartable). Generates an xml string for a single variable an their corresponding value.
_rewind
SparqlParser::_rewind() in SparqlParser.php
Rewind until next token which is not blank.
__construct
SparqlParserException::__construct() in SparqlParserException.php
a
top
addConstraint
GraphPattern::addConstraint() in GraphPattern.php
Adds a Constraint to the GraphPattern.
addConstructGraphPattern
Adds a construct graph pattern to the query.
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.
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
bNodeCheck
SparqlParser::bNodeCheck() in SparqlParser.php
Checks if $token is a Blanknode.
buildVarmap
SparqlEngine::buildVarmap() in SparqlEngine.php
Sorts the result table.
buildXmlResult
SparqlEngine::buildXmlResult() in SparqlEngine.php
Generates an xml string from a given result table.
c
top
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.
Constraint
Constraint in Constraint.php
Represents a constraint. A value constraint is a boolean- valued expression of variables and RDF Terms.
constructGraph
SparqlEngine::constructGraph() in SparqlEngine.php
Constructs a result graph.
Constraint.php
Constraint.php in Constraint.php
d
top
describeGraph
SparqlEngine::describeGraph() in SparqlEngine.php
Builds a describing named graph. To define an attribute list for a several rdf:type look at constants.php
distinct
SparqlEngine::distinct() in SparqlEngine.php
Eliminates duplicate results.
dtypeCheck
SparqlParser::dtypeCheck() in SparqlParser.php
Checks if the Node is a typed Literal.
e
top
error
SparqlParser::error() in SparqlParser.php
Error reporting.
f
top
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.
g
top
$graphPatternCounter
getAllVars
Query::getAllVars() in Query.php
Returns a list with all used variables.
getBase
Query::getBase() in Query.php
getBlanknodeLabel
Returns an unused Bnode label.
getConstraint
GraphPattern::getConstraint() in GraphPattern.php
Returns a constraint if there is one false if not.
getConstructPattern
Returns the constcutGraphPattern of the query if there is one.
getExpression
Constraint::getExpression() in Constraint.php
Returns the expression string.
getFN
SparqlParser::getFN() in SparqlParser.php
Gets the full URI of a qname token.
getFromNamedPart
getFromPart
getGraphname
GraphPattern::getGraphname() in GraphPattern.php
Returns the graphname.
getId
GraphPattern::getId() in GraphPattern.php
Returns the GraphPatterns id.
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.
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
getResultForm
getResultPart
getResultVars
getSolutionModifier
Gets the solution modifiers of the query.
getSolutionModifiers
getSubject
QueryTriple::getSubject() in QueryTriple.php
Returns the Triples Subject.
getTriplePattern
Returns the triple pattern of the graph pattern.
getUnion
GraphPattern::getUnion() in GraphPattern.php
Returns a pointer to a union graph pattern.
GraphPattern
GraphPattern::GraphPattern() in GraphPattern.php
Constructor
GraphPattern
GraphPattern in GraphPattern.php
A graph pattern which consists of triple patterns, optional or union graph patterns and filters.
GraphPattern.php
GraphPattern.php in GraphPattern.php
i
top
$isConstructPattern
$isEmpty
Query::$isEmpty in Query.php
iriCheck
SparqlParser::iriCheck() in SparqlParser.php
Checks if $token is an IRI.
isOuterFilter
Constraint::isOuterFilter() in Constraint.php
Returns true if this constraint is an outer filter- false if not.
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
literalCheck
SparqlParser::literalCheck() in SparqlParser.php
Checks if $token is a Literal.
m
top
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.
o
top
$open
GraphPattern::$open in GraphPattern.php
p
top
$patternId
GraphPattern::$patternId in GraphPattern.php
$prefixes
Query::$prefixes in Query.php
parse
SparqlParser::parse() in SparqlParser.php
Main function of SparqlParser. Parses a query string.
parseAsk
SparqlParser::parseAsk() in SparqlParser.php
Sets result form to ''ASK''.
parseBase
SparqlParser::parseBase() in SparqlParser.php
Parses the BASE part of the query.
parseBrackettedExpression
Parses a bracketted expression.
parseCollection
Parses an RDF collection.
parseConstraint
Parses a value constraint.
parseConstruct
SparqlParser::parseConstruct() in SparqlParser.php
Parses the CONSTRUCT clause.
parseDescribe
SparqlParser::parseDescribe() in SparqlParser.php
Adds a new variable to the query and sets result form to ''DESCRIBE''.
parseExpression
Parses an expression.
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.
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.
preselectGraphs
Looks in from and from named part of the query and adds the graphs to the graphlist.
q
top
qnameCheck
SparqlParser::qnameCheck() in SparqlParser.php
Checks if $token is a qname.
Query
Query::Query() in Query.php
Constructor
Query
Query in Query.php
The Class Query represents a SPARQL query.
queryModel
SparqlEngine::queryModel() in SparqlEngine.php
The query engines main method.
QueryTriple
QueryTriple::QueryTriple() in QueryTriple.php
Constructor
QueryTriple
QueryTriple in QueryTriple.php
Represents a query triple.
QueryTriple.php
QueryTriple.php in QueryTriple.php
Query.php
Query.php in Query.php
r
top
returnResult
SparqlEngine::returnResult() in SparqlEngine.php
Generates the result object.
s
top
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.
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.
setResultForm
Sets the result form.
setSolutionModifier
Sets a solution modifier.
sortVars
SparqlEngine::sortVars() in SparqlEngine.php
Sorts the results.
SparqlEngine
SparqlEngine in SparqlEngine.php
This engine executes SPARQL queries against an RDF Datatset.
SparqlParser
SparqlParser::SparqlParser() in SparqlParser.php
Constructor of SparqlParser
SparqlParser
SparqlParser in SparqlParser.php
Parses a SPARQL Query string and returns a Query Object.
SparqlParserException
SparqlParserException in SparqlParserException.php
A SPARQL Parser Execption for better errorhandling.
SparqlEngine.php
SparqlEngine.php in SparqlEngine.php
SparqlParserException.php
SparqlParserException.php in SparqlParserException.php
SparqlParser.php
SparqlParser.php in SparqlParser.php
t
top
tokenize
SparqlParser::tokenize() in SparqlParser.php
Tokenizes the querystring.
u
top
$usedVars
Query::$usedVars in Query.php
v
top
varCheck
SparqlParser::varCheck() in SparqlParser.php
Checks if $token is a variable.
w
top
writeQueryResultAsHtmlTable
Prints a query result as HTML table.
a b c d e f g i j l m o p q r s t u v w _