|
From: Saf H. <saf...@gm...> - 2005-09-15 09:08:15
|
Hi,
New to RDF and PHP so this may be a simple syntax issue:
Having consulted the tutorials and class details for statements, I'm
still unclear as to how to set the label of a statement. I don't want
to use the system-generated numbers e.g. by reifying a whole model - I
just want to give my statements names of my choice.
e.g.
<a><b><c> reify as: 'Matilda'
results in:
<Matilda><type><statement>
<Matilda><subj><a>
<Matilda><pred><b>
<Matilda><obj><c>
I keep getting an error message regarding not being able to pass
parameter 1 e.g. 'Matilda' whenever I use
$statement_x->reify("Matilda");
Please could someone provide a worked example?
I'm assuming 'Matilda' will be regarded as both a uri and url for this
statement resource, like any other type of resource. Is this true?
Thanks
Saf
|