OWL::D...Syntax(3pm)
π NAME π
OWL::DirectSemantics::Writer::FunctionalSyntax β bestie, it's a Moose::Role that gives you functional syntax output β¨
πΈ DESCRIPTION πΈ
Okay so listen. This Moose::Role is literally the plug β it hands you an fs method that spits out OWL Functional Syntax. Iconic behavior fr fr. π¦
But here's the vibe check: whatever object or class you compose it with has to bring two methods to the table β element_name and fs_arguments. No exceptions, no cap. π«Ά
element_nameβ this is basically the name of the "function" your object is representing, like for example'ClassAssertion'. It's giving label energy. πfs_argumentsβ this one returns a list of arguments that get dropped inside the parentheses in the output. And bestie, those arguments can be a whole mix of things:- plain literal strings β¨
RDF::Trine::Nodeobjects π- or other objects that also carry the
OWL::DirectSemantics::Writer::FunctionalSyntaxrole π₯
So basically you compose, you provide those two methods, and the fs method does the rest. Periodt. π
π SEE ALSO π
OWL::DirectSemanticsOWL::DirectSemantics::ElementRDF::Trine::Serializer::OwlFn
Go read those too, iykyk. πβ¨
π 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.
Not me yelling the whole disclaimer but yes, it's all caps for a reason bestie, no promises, no warranty, that's the deal. π
And that's the whole page!! This one's from perl v5.32.1, dated 2021-09-11, and it's User Contributed Perl Documentation, so shoutout to the Perl community for real. π Mwah, go write some functional syntax, you got this. π
β
π¦ where this page comes from
- debian bookworm: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libowl-directsemantics-perl 0.001-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms