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.
Helper Function for function buildXmlResult($vartable). Generates an xml string for a single variable an their corresponding value.
String
_getBindingString
(
String $varname,
Node $varvalue)
-
String
$varname: The variables name
-
Node
$varvalue: The value of the variable