Processing RIF and OWL2RL within DLVHEX

  • Marco Marano
  • Philipp Obermeier
  • Axel Polleres
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6333)


We present an extension of the DLVHEX system to support RIF-Core, a dialect of W3C’s Rule Interchange Format (RIF), as well as combinations of RIF-Core and OWL2RL ontologies. DLVHEX is a plugin system on top of DLV, a disjunctive Datalog engine which enables higher-order and external atoms, as well as input rewriting capabilities, which are provided as plugins and enable DLVHEX to bidirectionally exchange data with external knowledge bases and consuming input in different Semantic Web languages. In fact, there already exist plugins for languages such as RDF and SPARQL. Our new plugin facilitates consumption and processing of RIF rule sets, as well as OWL2RL reasoning by a 2-step-reduction to DLVHEX via embedding in RIF-Core. The current version implements the translation from OWL2RL to RIF by a static rule set [12] and supports the RIF built-ins mandatory for this reduction trough external atoms in DLVHEX. For the future we plan to switch to a dynamic approach for RIF embedding of OWL2RL [2] and extend the RIF reasoning capabilities to more features of RIF-BLD. We provide a description of our current system, its current development status as well as an illustrative example, and conclude future plans to complete the Semantic Web library of plugins for DLVHEX.


Static Rule Rule Body External Atom Input Ontology Ontology Language OWL2 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Baral, C.: Knowledge Representation, Reasoning and Declarative Problem Solving. Cambridge University Press, Cambridge (2002)Google Scholar
  2. 2.
    De Bruijn, J.: RIF rdf and OWL compatibility. Proposed recommendation, W3C (October 2009),
  3. 3.
    Eiter, T., Ianni, G., Polleres, A., Schindlauer, R.: Answer set programming for the semantic web. In: Tutorial at ESWC 2006 (June 2006)Google Scholar
  4. 4.
    Eiter, T., Ianni, G., Schindlauer, R., Tompits, H.: Effective integration of declarative rules with external evaluations for semantic-web reasoning. In: Sure, Y., Domingue, J. (eds.) ESWC 2006. LNCS, vol. 4011, pp. 273–287. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  5. 5.
    Eiter, T., Lukasiewicz, T., Schindlauer, R., Tompits, H.: Combining answer set programming with description logics for the semantic web. In: KR (2004)Google Scholar
  6. 6.
    Kifer, M., Boley, H.: RIF basic logic dialect. Proposed recommendation, W3C (October 2009),
  7. 7.
    Krötzsch, M., Patel-Schneider, P.F., Rudolph, S., Hitzler, P., Parsia, B.: OWL 2 web ontology language primer. Technical report, W3C (October 2009),
  8. 8.
    Lloyd, J.W., Topor, R.W.: Making prolog more expressive. Journal of Logic Programming 1(3), 225–240 (1984)zbMATHCrossRefMathSciNetGoogle Scholar
  9. 9.
    Malhotra, A., Melton, J., Walsh, N.: XQuery 1.0 and XPath 2.0 functions and operators. Recommendation, W3C (January 2007),
  10. 10.
    Motik, B., Fokoue, A., Horrocks, I., Wu, Z., Lutz, C., Cuenca Grau, B.: OWL 2 web ontology language profiles. W3C recommendation, W3C (October 2009),
  11. 11.
    Polleres, A., Schindlauer, R.: dlvhex-sparql: A sparql-compliant query engine based on dlvhex. In: 2nd Int. Workshop on Applications of Logic Programming to the Web, Semantic Web and Web Services, ALPSWS 2007, pp. 332–347. Springer, Heidelberg (2007)Google Scholar
  12. 12.
    Reynolds, D.: OWL 2 RL in RIF. W3C working draft, W3C (October 2009),
  13. 13.
    Wielemaker, J., Hildebrand, M., van Ossenbruggen, J.: Prolog as the fundament for applications on the semantic web. In: ALPSWS (2007)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Marco Marano
    • 1
  • Philipp Obermeier
    • 2
  • Axel Polleres
    • 2
  1. 1.Universita’ della Calabria 
  2. 2.Digital Enterprise Research InstituteNational University of IrelandGalway

Personalised recommendations