RDF::Base::Constants
use RDF::Base::Constants qw( $C_business_persona ); $label = $C_business_persona->loc;
use Constants qw( $C_class ... )
The use statement calls import()
RDF::Base::Constants->find(\%query, \%args)
Adds the criterion { label_exist => 1 } and calls RDF::Base::Resource/find
RDF::Base::Constants->get_set( $label )
As get(), but creates the node if not existing.
RDF::Base::Constants->get_by_id( $id )
Returns:
a RDF::Base::Constant object or RDF::Base::Undef
RDF::Base::Constants->get( $label )
Returns:
Exceptions:
croaks if constant doesn't exist
L<Para::Frame>, L<RDF::Base>