DESCRIPTION

An object of this class is returned by the RDF::Helperget_object method, which takes a subject URI as the first argument, and optionally a hash or hashref of options as the second argument.

On this object, you may then call methods that correspond to property names of the properties you want to get or set.

For properties in the default namespace, you may use them without any regard to prefixes, whereas with properties in other namespaces, you need to use the prefix and an underscore before the property name.

This class does not make any attempt to verify whether the methods are actually valid properties within the used schema, it just blindly does what you tell it to. It is suitable for creating relatively simple RDF.

To set more than one object, use an arrayref as argument, e.g.

$obj->rdfs_label(['Foo', 'Bar'])

will result in two triples, one for each rdfs:label.

Module Install Instructions

To install RDF::Helper::Object, simply copy and paste either of the commands in to your terminal