Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdf::trine::namespace(3pm) [debian man page]

RDF::Trine::Namespace(3pm)				User Contributed Perl Documentation				RDF::Trine::Namespace(3pm)

NAME
RDF::Trine::Namespace - Abbreviated syntax for constructing RDF node objects VERSION
This document describes RDF::Trine::Namespace version 1.000 SYNOPSIS
use 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]' DESCRIPTION
This 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. DEPENDENCIES
XML::Namespace BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHT
Copyright (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)

Check Out this Related Man Page

RDF::Trine::Node::Resource(3pm) 			User Contributed Perl Documentation			   RDF::Trine::Node::Resource(3pm)

NAME
RDF::Trine::Node::Resource - RDF Node class for resources VERSION
This document describes RDF::Trine::Node::Resource version 1.000 METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class. "new ( $iri, [ $base_uri ] )" Returns a new Resource structure. "uri_value" Returns the URI/IRI value of this resource. "value" Returns the URI/IRI value. "uri ( $uri )" Returns the URI value of this resource, optionally updating the URI. "sse" Returns the SSE string for this resource. "as_string" Returns a string representation of the node. "as_ntriples" Returns the node in a string form suitable for NTriples serialization. "type" Returns the type string of this node. "equal ( $node )" Returns true if the two nodes are equal, false otherwise. "qname" If the IRI can be split into a namespace and local part for construction of a QName, returns a list containing these two parts. Otherwise throws an exception. BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHT
Copyright (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::Node::Resource(3pm)
Man Page