From: Richard C. <ri...@cy...> - 2006-06-17 15:34:06
|
Hi Roberto, Concerning the first part of your mail: The VCard vocabulary must be included or the tutorial code won't work: On 17 Jun 2006, at 14:55, Roberto SL wrote: > 1. Error: Resource expected as predicate, no blank node allowed. in > xx/xx/Statement.php on line 66 > > Here is the code taken from the tutorial about MemModel > (http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/tutorial/ > usingthemodelapi.htm ) and which is generating that error: > > <?php > > define("RDFAPI_INCLUDE_DIR", "../rdfapi-php/api/"); > include(RDFAPI_INCLUDE_DIR . "RdfAPI.php"); include(RDFAPI_INCLUDE_DIR . "vocabulary/VCARD.php"); It works if you add this line. The documentation should of course mention this. I've added this line to the tutorial in CVS. I think Tobias will publish it to the website with the next release. Best, Richard |