OWL::DirectSemantics::Writer::FunctionalSyntax - Moose::Role providing functional syntax output
This Moose::Role provides an fs method to output OWL Functional Syntax.
fs
It requires the object or class it is composed with to provide element_name and fs_arguments methods.
element_name
fs_arguments
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.
OWL::DirectSemantics::Writer::FunctionalSyntax
OWL::DirectSemantics, OWL::DirectSemantics::Element, RDF::Trine::Serializer::OwlFn.
Toby Inkster <tobyink@cpan.org>.
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.
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.
To install OWL::DirectSemantics, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OWL::DirectSemantics
CPAN shell
perl -MCPAN -e shell install OWL::DirectSemantics
For more information on module installation, please visit the detailed CPAN module installation guide.