Scroll to navigation

OWL::DirectSemantics::Writer::FunctionalSyntax(3pm) User Contributed Perl Documentation OWL::DirectSemantics::Writer::FunctionalSyntax(3pm)

NAME

OWL::DirectSemantics::Writer::FunctionalSyntax - Moose::Role providing functional syntax output

DESCRIPTION

This Moose::Role provides an "fs" method to output OWL Functional Syntax.

It requires the object or class it is composed with to provide "element_name" and "fs_arguments" methods.

"element_name" is essentially the name of the "function" the object represents, e.g. 'ClassAssertion'. "fs_arguments" returns a list of arguments included within the parentheses in the output - these may be literal strings, RDF::Trine::Node objects or may be other objects that have a "OWL::DirectSemantics::Writer::FunctionalSyntax" role.

SEE ALSO

OWL::DirectSemantics, OWL::DirectSemantics::Element, RDF::Trine::Serializer::OwlFn.

AUTHOR

Toby Inkster <tobyink@cpan.org>.

COPYRIGHT

Copyright 2011-2012 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

DISCLAIMER OF WARRANTIES

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

2021-09-11 perl v5.32.1