RDF API for PHP

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mr.aizek's picture

Parsing variable to SPARQL and get the result

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');

Read more
Subscribe with RSS Syndicate content