[RDF] Re: ANNOUNCE: RDF::Service v0.01
Jonas Liljegren
jonas@liljegren.org
28 Sep 2000 20:11:43 +0200
Dan Brickley <Daniel.Brickley@bristol.ac.uk> writes:
> cool! Any chance of a pointer from http://www.uxn.nu/wraf/ to the
> API? (even if it's into the SourceForge CVS...)
Not much documentation yet.
And it will continue to change.
Here is a list, but it doesn't say much:
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/~checkout~/RDF-Service/doc/api.html?rev=1.3&content-type=text/html&cvsroot=wraf
This says a little more:
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/~checkout~/RDF-Service/doc/html/jumptable.html?rev=1.2&content-type=text/html&cvsroot=wraf
But I think that its more easy to just look at the examples. This
lists first and last name of all resources of type Person.
I don't like the method names and will probably change them.
<table>
[% FOREACH person = s.get("${NS_L}/Class#Person").objects_list %]
<tr>
<td>[% person.get_objects_list("${NS_L}/Property#first_name").0.value %]
<td>[% person.get_objects_list("${NS_L}/Property#last_name").0.value %]
</tr>
[% END %]
</table>
--
/ Jonas - http://jonas.liljegren.org/myself/en/index.html