W3C home > Mailing lists > Public > semantic-web@w3.org > April 2015

Re: Question on dereferenceable RIF rules

From: Dave Reynolds <dave.e.reynolds@gmail.com>
Date: Mon, 06 Apr 2015 18:12:36 +0100
Message-ID: <5522BE84.1080307@gmail.com>
To: semantic-web@w3.org
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 
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 



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 Monday, 6 April 2015 17:13:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:42 UTC