With latest RAP 0.9.6 I have run following code to load data from Notation3 file into memory model.
define('RDFAPI_INCLUDE_DIR', 'rdfapi-php/api/');
require_once(RDFAPI_INCLUDE_DIR . 'RdfAPI.php');
$model = ModelFactory::getDefaultModel();
$model->load('sample-people.n3');
$model->writeAsHtmlTable();
I got following error and could not see model HTML dump
Warning: array_slice() expects parameter 2 to be long, string given in /Users/padacek/Sites/4IZ440RapSamples/rdfapi-php/api/syntax/N3Parser.php on line 395
Fatal error: Prefix not declared: gd: in /Users/padacek/Sites/4IZ440RapSamples/rdfapi-php/api/syntax/N3Parser.php on line 603
Please note that the prefix is properly set in N3. File was validated agains a N3 validator, and also succesfully loaded by Jena, RDF.rb, and ARC2. The file loaded is attached to this case.
Sample data which raised this error