NAME

RDF::Service::Interface::Base::V01

SYNOPSIS

PUBLIC METHODS

See the register() function in order to find out which methods applies to which namespaces and types.

connect( $module, $args )

$module is the module name (for example RDF::Service::Interface::Base::V01). $args is the connection args. A interface resource URI is created by combinding the $module with the $args to the form of a uri-escaped querystring. $args is a hashref. All args are used in the resource URI except the key 'passwd' that should be used for authentication.

create_model( $obj )

Create and returns a model $obj.

level()

This is used to sort a list of classses such that the most specific class comes first and RDFS:Resource comes last. The class has the value of one more than the highest value of the classes this class is RDFS:subClassOf.

desig()

Return a string with a good designation of the resource. The format and content will depend on the resoruce type and wether a label or namespace is defined. Intended for use in an administration interface.

value()

Return the value of a literal in SCALAR format. Not a referens to a scalar this time.

pred()

Return the predicate of the arc.

subj()

Return the subject of the arc.

obj()

Return the object of the arc.

AUTHOR

Jonas Liljegren <jonas@paranormal.se>

    http://jonas.liljegren.org/myself/en/

COPYRIGHT

Copyright (C) 2000-2001 Jonas Liljegren. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

ACKNOWLEDGEMENTS

The RDF community, TBL and Stefan Andersson.

SEE ALSO

Wraf

RDF::Service

RDF::Service::Interface