Constructs a result graph.
-
array
$arVartable: A table containing the result vars and their bindings
-
GraphPattern
$constructPattern: The CONSTRUCT pattern
Converts the database results into the output format and returns the result.
-
array
$arVartable: Variable table
-
Query
$query: SPARQL query object
-
SparqlEngine
$engine: Sparql Engine to query the database
Implementation of:
- SparqlEngine_ResultRenderer::convertFromResult()
- Converts the database results into the desired output format and returns the result.
Builds a describing named graph. To define an attribute list for a several rdf:type look at constants.php
MemModel
describeGraph
(
array $arVartable)
Tries to determine the rdf:type of the variable.
-
Node
$var: The variable
-
MemModel
$resultGraph: The result graph which describes the Resource
Search the attributes listed in $list in the dataset.
Modifies $resultGraph
void
_getAttributes
(
Array $list,
MemModel $resultGraph,
$varvalue)
-
Array
$list: List containing the attributes
-
MemModel
$resultGraph: The result graph which describes the Resource
-
$varvalue