[sparql] element index

Package indexes

All elements
a b c d e f g i j l m n o p q r s t u v w _
_
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
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.
_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
SparqlParserException::__construct() in SparqlParserException.php
a
top
$arrOutput
SparqlResultParser::$arrOutput in SparqlResultParser.php
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
$bncounter
SparqlResultParser::$bncounter in SparqlResultParser.php
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
$counter
SparqlResultParser::$counter 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.
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.
ClientQuery.php
ClientQuery.php in ClientQuery.php
Constraint.php
Constraint.php in Constraint.php
d
top
$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
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.
FilterFunctions.php
FilterFunctions.php in FilterFunctions.php
g
top
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.
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 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
i
top
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
$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.
m
top
$mode
SparqlResultParser::$mode in SparqlResultParser.php
matchPattern
SparqlEngine::matchPattern() in SparqlEngine.php
Finds tuples that match one graph pattern.
matchPatterns
SparqlEngine::matchPatterns() in SparqlEngine.php
Matches all graph Patterns against the dataset and generates an array which contains the result sets for every given GraphPattern.
n
top
$named
ClientQuery::$named in ClientQuery.php
o
top
$output
SparqlClient::$output in SparqlClient.php
p
top
$prefixes
ClientQuery::$prefixes in ClientQuery.php
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'.
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.
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.
preselectGraphs
Looks in from and from named part of the query and adds the graphs to the graphlist.
q
top
$query
ClientQuery::$query in ClientQuery.php
qnameCheck
SparqlParser::qnameCheck() in SparqlParser.php
Checks if $token is a qname.
query
SparqlClient::query() in SparqlClient.php
Main function of SparqlClient.
Query
Query::Query() in Query.php
Constructor
query
ClientQuery::query() in ClientQuery.php
Adds the SPARQL query string to the query object.
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 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
regex
regex() in FilterFunctions.php
Evaluates the regex() function. Returns true if the regex is matched false if not.
returnResult
SparqlClient::returnResult() in SparqlClient.php
Returns the query result.
returnResult
SparqlEngine::returnResult() in SparqlEngine.php
Generates the result object.
s
top
$server
SparqlClient::$server in SparqlClient.php
$strXmlData
SparqlResultParser::$strXmlData in SparqlResultParser.php
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.
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.
sortVars
SparqlEngine::sortVars() in SparqlEngine.php
Sorts the results.
SparqlClient.php
SparqlClient.php in SparqlClient.php
SparqlEngine.php
SparqlEngine.php in SparqlEngine.php
SparqlParser.php
SparqlParser.php in SparqlParser.php
SparqlParserException.php
SparqlParserException.php in SparqlParserException.php
SparqlClient
SparqlClient in SparqlClient.php
Client for querying a sparql server.
SparqlClient
SparqlClient::SparqlClient() in SparqlClient.php
Constructor of SparlClient.
SparqlEngine
SparqlEngine in SparqlEngine.php
This engine executes SPARQL queries against an RDF Datatset.
SparqlParser
SparqlParser in SparqlParser.php
Parses a SPARQL Query string and returns a Query Object.
SparqlParser
SparqlParser::SparqlParser() in SparqlParser.php
Constructor of SparqlParser
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.
SparqlResultParser.php
SparqlResultParser.php in SparqlResultParser.php
t
top
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
uncomment
SparqlParser::uncomment() in SparqlParser.php
Removes comments in the query string. Comments are indicated by '#'.
v
top
$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
writeQueryResultAsHtmlTable
Prints a query result as HTML table.
a b c d e f g i j l m n o p q r s t u v w _