RDF::Trine::Parser::OwlFn::Grammar(3pm)

RDF::Trine::Parser::OwlFn::Grammar3pm

Provides a parse::recdescent grammar for owl 2.0 functional syntax

Overview

This package provides two methods:

•

"grammar"

Returns the grammar as a string.

•

"new"

Returns a Parse::RecDescent parser object using the grammar

Additionally, if you run this "Grammar.pm" module directly at the command line:

  perl -w Grammar.pm

It will generate a file called "Compiled.pm" containing a pre-compiled Parse::RecDescent parser.

Conformance

This grammar deviates from the official one in a few places:

•

QName (a.k.a. CURIE) syntax is slightly broken - in most cases you won't notice it.

•

CSS-style comments (/* ... */) are allowed.

•

Unquoted xsd:nonNegativeInteger tokens can be used as literals.

•

The unquoted tokens 'true' and 'false' can be used as literals.

•

Multiple "Ontology(...)" instances are allowed in a single file.

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.

Releases

6 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8
  3. 9–10
  4. 12–13

Author

Toby Inkster <[email protected]>.

From librdf-closure-perl 0.001-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.