W3C

Inference

This intro text is boilerplate for the beta release of w3.org. Our intent is to invite the community to develop this template and help provide useful content and links. For a more complete example, see the page for HTML & CSS.

What is Inference?

Broadly speaking, inference on the Semantic Web can be characterized by discovering new relationships. On the Semantic Web, data is modeled as a set of (named) relationships between resources. “Inference” means that automatic procedures can generate new relationships based on the data and based on some additional information in the form of an ontology or a set of rules. Whether the new relationships are explicitly added to the set of data, or are returned at query time, is simply an implementation issue.

On the Semantic Web, the source of such extra information can be defined via ontologies or rule sets. Both of these approaches draw upon knowledge representation techniques. In general, ontologies concentrate on classification methods, putting an emphasis on defining 'classes', 'subclasses', on how individual resources can be associated to such classes, and characterizing the relationships among classes and their instances. Rules, on the other hand, concentrate on defining a general mechanism on discovering and generating new relationships based on existing ones, much like logic programs, like Prolog, do. In the family of Semantic Web related W3C Recommendations, OWL is the tool of choice to define ontologies, whereas RIF has been developed to cover rule based approaches.

What is Inference Used For?

...Explanation...

Examples

A simple example may help. The data set to be considered may include the relationship (Flipper isA Dolphin). An ontology may declare that “every Dolphin is also a Mammal”. That means that a Semantic Web program understanding the notion of “X is also Y” can add to the set of relationships the statement (Flipper isA Mammal), although that was not part of the original data. One can also say that the new relationship was “discovered”. Another example is to express that fact that “if two persons have the same name, home page, and email address, then they are identical”. In this case, the “identity” of two resources can be discovered via inferencing.

Usage and techniques of ontologies and rules largely overlap. Very broadly speaking, ontologies optimize for taxonomic reasoning problems, and rule based systems optimize for reasoning problems within the data. The difference is largely a matter of style, and criteria like available expertise, ease of adapting to existing data, tooling support, maturity and costs, etc., should be considered as far more important when trying to choose.

Learn More

...Explanation...

Current Status of Specifications

Learn more about the current status of specifications related to:

These W3C Groups are working on the related specifications:

Use It

  • Business Case
  • Software