---
name: "RDF::Trine::Node::Variable"
section: "3pm"
platform: "linux"
package: "librdf-trine-perl"
version: "1.019-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/RDF::Trine::Node::Variable"
---

# RDF::Trine::Node::Variable(3pm)

RDF Node class for variables

## NAME

RDF::Trine::Node::Variable - RDF Node class for variables

## VERSION

This document describes RDF::Trine::Node::Variable version 1.019

## METHODS

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.

- "new ( $name )"

  Returns a new Variable structure.

- "name"

  Returns the name of the variable.

- "sse"

  Returns the SSE string for this variable.

- "as\_string"

  Returns a string representation of the node.

- "value"

  Returns the variable name.

- "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.

## 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.
