Parsing variable to SPARQL and get the result
Posted by mr.aizek on March 25, 2010 at 2:44am
Hi community. I am a research student and currently looking at RAP. I have this code as below but with some problems
:: CODE ::
<?php
// Determine the query execution runtime
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
$start = getmicrotime();
// Include RAP
define("RDFAPI_INCLUDE_DIR", "C:/xampp/htdocs/monokb/rdfapi-php/api/");
include (RDFAPI_INCLUDE_DIR . "RdfAPI.php");
include (RDFAPI_INCLUDE_DIR . "sparql/SparqlEngine.php");
//include (RDFAPI_INCLUDE_DIR . 'sparql/SparqlParser.php');