W3C home > Mailing lists > Public > public-rif-wg@w3.org > October 2006

RE: [RIF] homework for 10/17 telecon (R2ML...)

From: Gerd Wagner <wagnerg@tu-cottbus.de>
Date: Mon, 16 Oct 2006 22:47:20 +0200
To: "'Dan Connolly'" <connolly@w3.org>
Cc: "'Chris Welty'" <cawelty@frontiernet.net>, "'Public-Rif-Wg \(E-mail\)'" <public-rif-wg@w3.org>
Message-ID: <000601c6f164$4673b6d0$a2ca2b8d@informatik.tucottbus.de>
> > Please have a look at the XML Schema of our REWERSE Rule Markup
> > Language (R2ML) at
> > http://oxygen.informatik.tu-cottbus.de/rewerse-i1/?q=node/6
>
> Interesting... lots of stuff there... I think the
> "EBNF abstract syntax" is the main thing I want to study;
> I'm having trouble finding it. Help?

We've defined the abstract syntax of R2ML with the help
of a UML/MOF model (as proposed by the OMG):
http://oxygen.informatik.tu-cottbus.de/R2ML/0.4/metamodel/R2MLv0.4.htm

MOF is more abstract (and in some sense more expressive) than
ordinary EBNF, and it can be easily mapped to EBNF.

But for those who prefer to read EBNF (and I'm afraid
this is the majority with a W3C group), we'll make an
EBNF for the typed condition language of R2ML by tomorrow.

> The first example I see starts with an incorrect namespace
> declaration...
>
> <r2ml:ProductionRule
> xmlns:ex="org.drools.examples.TroubleTicketExample"
>  -- http://oxygen.informatik.tu-cottbus.de/rewerse-i1/?q=node/17
>
> The value of a namespace attribute is a URI; "org.drools..." is not.

Yes, sorry, we didn't map the Java package name to a corresponding
URI - will be fixed by tomorrow :-)

> Do you have any example of using URIs from RDF/OWL documents
> in R2ML rules?

R2ML rules can be based on an external vocabulary in the
form of an RDFS vocabulary or OWL ontology. See the MOF 
diagram below that defines the possibility of zero or more external
vocabularies.

We have also a running example where an external vocabulary
in the form of the OWL ontology 
http://oxygen.informatik.tu-cottbus.de/TestVoc.owl
is combined with R2ML rules that are being verbalized, see
http://oxygen.informatik.tu-cottbus.de/verbalization/index.jsp

-Gerd







RuleBase.png
(image/png attachment: RuleBase.png)

Received on Monday, 16 October 2006 20:47:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:34 GMT