RIF a failure? (WAS: Question on dereferenceable RIF rules)

On Wed, 2015-04-08 at 22:33 +0100, Dave Reynolds wrote:

> I think there are lots of reasons RIF is a failure, and lots of history 
> behind that, but I doubt that the lack of single rule import is really a 
> significant part of that.
> 

First time I've seen that stated publicly, but I have noticed the
deafening silence around RIF.

Of the rule languages I've looked at (RuleML, Common Logic, SWRL,
prolog, SBVR), RIF has the best design, easiest on-ramp, and most
versatility.

Why do you say "failure", and what "history" do you speak of?

Thanks,
--Paul

> SWRL is a totally different beast ...
> 
> Best wishes,
> Dave
> 
> On 07/04/15 09:43, Michael Petychakis wrote:
> > Thank you very much Dave!
> >
> > Your answer was indeed helpful, and I was looking more into the details of the specification.
> > What I would actually need in my case, would be to have a rule declared an rdfs:Resource or rdfs:Class. This way I could solve the issue of dereferencing and make it easier to  embed rules within my Linked Data documents.
> >
> > For example in OWL I can reference a specific class since those are rdfs:Class equivalent and a server can reference them by convention.
> > Do you think that such an approach would actually make sense also in RIF(and/or SWRL)?
> >
> > This way I could declare that I have a rule, named Rule1 which is located in a remote server, reference it as
> > http://example.org/mydocument#rule1
> > and link it to another document, in a similar manner like the Linked Data paradigm.
> >
> > Of course this would need an updated reasoner implementation for RIF as proof of concept, but I think it could scale and make rules reusable over the web.
> > At the moment I see almost no SWRL /RIF in any Linked Data documents around (based on my experience of course) and maybe there is a correlation with this.
> >
> > Kind regards,
> > Michael Petychakis.
> >
> >
> >> On Apr 6, 2015, at 8:12 PM, Dave Reynolds <dave.e.reynolds@gmail.com> wrote:
> >>
> >> RIF rules can be identified by an IRI but the standards don't specify any dereferencing at an individual rule level.
> >>
> >> The syntax is arcane, but the IRICONST? in the IRIMETA production [1] is an optional IRI to denote a rule (or indeed parts of rules).
> >>
> >> You can, of course, pull in rule documents using the Import directive and so, as you say, dereference a document containing just one rule.
> >> It would be perfectly reasonable to give the rule an IRI such as you suggest:
> >>     http://example.org/mydocument#rule1
> >> and then include that rule by importing the containing document. However, the standard doesn't enforce any relation between the document location and any IRI annotations on the contained rules. Nor does it require any dereferencing other than explicit Import.
> >>
> >> This is no different from RDF and OWL. In the standards then RDF resources can be identified by IRIs (well, URI references) but there is no formal requirement to be able to deference them. In Linked Data we do expect to be able to deference them but that's a convention on top, not part of the RDF specification. Similarly with OWL there is an explicit document-level import but no axiom level dereferencing other than by convention.
> >>
> >> Dave
> >>
> >> [1] http://www.w3.org/TR/2013/REC-rif-core-20130205/#Annotations_and_Documents
> >>
> >> On 06/04/15 14:55, Michael Petychakis wrote:
> >>> Hello all,
> >>>
> >>> I am a little bit confused by reading the SWRL and RIF standards, and I am not even sure if this is the right list for this question.
> >>> So, I would like to know if I can have a dereferenceable rule by a specific IRI.
> >>> I could of course have only one rule declared within a referenced graph and then reference this graph, but I am looking if there is a simpler solution.
> >>> Since both are web standards, there should be by default a way to reference a rule, for example something like:
> >>> example.org/mydocument#rule1.
> >>> If you have any ideas, reference, suggestions, they would all be highly appreciated.
> >>>
> >>> Thank you very much in advance,
> >>>
> >>> Michael Petychakis
> >>> Electrical & Computer Engineer, Dipl Eng, Research Associate
> >>> Decision Support Systems Laboratory
> >>> School of Electrical and Computer Engineering
> >>> National Technical University of Athens
> >>>
> >>> 9 Heroon Polytechneiou Str
> >>> Zografou - Attica, 15773, Hellas
> >>> Tel:  +30 210 7723555
> >>> Fax: +30 210 7723550
> >>>
> >>>
> >>
> >>
> >
> >
> 
> 

Received on Thursday, 9 April 2015 01:28:54 UTC