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

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

RDF Node class for variables

## NAME

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

## VERSION

This document describes RDF::Query::Node::Variable version 2.919.

## METHODS

## METHODS

Beyond the methods documented below, this class inherits methods from the RDF::Query::Node and RDF::Trine::Node::Variable classes.

- "new ( $name )"

  Returns a new variable object.

- "as\_sparql"

  Returns the SPARQL string for this node.

- "as\_hash"

  Returns the query as a nested set of plain data structures (no objects).

## AUTHOR

```
 Gregory Todd Williams <gwilliams@cpan.org>
```
