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

> > 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

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