Query: rdf::trine::namespace
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RDF::Trine::Namespace(3pm) User Contributed Perl Documentation RDF::Trine::Namespace(3pm)NAMERDF::Trine::Namespace - Abbreviated syntax for constructing RDF node objectsVERSIONThis document describes RDF::Trine::Namespace version 1.000SYNOPSISuse RDF::Trine::Namespace qw(rdf); my $foaf = RDF::Trine::Namespace->new( 'http://xmlns.com/foaf/0.1/' ); my $pred = $foaf->name; my $type = $rdf->type; print $pred->as_string; # '[http://xmlns.com/foaf/0.1/name]'DESCRIPTIONThis module provides an abbreviated syntax for creating RDF::Trine::Node objects for URIs sharing common namespaces. The module provides a constructor for creating namespace objects which may be used for constructing Node objects. Calling any method (other than 'import', 'new', 'uri' or 'AUTOLOAD') on the namespace object will return a RDF::Trine::Node object representing the URI of the method name appended to the namespace.METHODS"uri" Returns the URI node object for the namespace, with an optional path argument added to the end of it. "uri_value" Returns the URI/IRI value of this namespace.DEPENDENCIESXML::NamespaceBUGSPlease report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.AUTHORGregory Todd Williams "<gwilliams@cpan.org>"COPYRIGHTCopyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-29 RDF::Trine::Namespace(3pm)
Similar Topics in the Unix Linux Community |
---|
Problem with namespaces |
A Parallel Processing Framework for RDF Design and Issues |