A Rule System for Querying Persistent RDFS Data

  • Giovambattista Ianni
  • Thomas Krennwallner
  • Alessandra Martello
  • Axel Polleres
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5554)


We present GiaBATA, a system for storing, aggregating, and querying Semantic Web data, based on declarative logic programming technology, namely on the dlvhex system, which allows us to implement a fully SPARQL compliant semantics, and on DLV DB , which extends the DLV system with persistent storage capabilities. Compared with off-the-shelf RDF stores and SPARQL engines, we offer more flexible support for rule-based RDFS and other higher entailment regimes by enabling custom reasoning via rules, and the possibility to choose the reference ontology on a per query basis. Due to the declarative approach, GiaBATA gains the possibility to apply well-known logic-level optimization features of logic programming (LP) and deductive database systems. Moreover, our architecture allows for extensions of SPARQL by non-standard features such as aggregates, custom built-ins, or arbitrary rulesets. With the resulting system we provide a flexible toolbox that embeds Semantic Web data and ontologies in a fully declarative LP environment.


Logic Programming SPARQL Query Graph Query Reference Ontology Persistent Storage 
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.


  1. 1.
    Prud’hommeaux, E., Seaborne A. (ed.): SPARQL Query Language for RDF, W3C Recommendation (January 2008)Google Scholar
  2. 2.
    Pérez, J., Arenas, M., Gutierrez, C.: Semantics and complexity of SPARQL. In: Cruz, I., Decker, S., Allemang, D., Preist, C., Schwabe, D., Mika, P., Uschold, M., Aroyo, L.M. (eds.) ISWC 2006. LNCS, vol. 4273, pp. 30–43. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  3. 3.
    Polleres, A., Scharffe, F., Schindlauer, R.: SPARQL++ for mapping between RDF vocabularies. In: Meersman, R., Tari, Z. (eds.) OTM 2007, Part I. LNCS, vol. 4803, pp. 878–896. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  4. 4.
    Hayes, P.: RDF semantics, W3C Recommendation (February 2004)Google Scholar
  5. 5.
    Muñoz, S., Pérez, J., Gutiérrez, C.: Minimal deductive systems for RDF. In: Franconi, E., Kifer, M., May, W. (eds.) ESWC 2007. LNCS, vol. 4519, pp. 53–67. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  6. 6.
    ter Horst, H.J.: Combining RDF and part of OWL with rules: Semantics, decidability, complexity. In: Gil, Y., Motta, E., Benjamins, V.R., Musen, M.A. (eds.) ISWC 2005. LNCS, vol. 3729, pp. 668–684. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  7. 7.
    Ianni, G., Martello, A., Panetta, C., Terracina, G.: Efficiently querying RDF(S) ontologies with Answer Set Programming. J. Logic Computation (August 2008)Google Scholar
  8. 8.
    Terracina, G., Leone, N., Lio, V., Panetta, C.: Experimenting with recursive queries in database and logic programming systems. Theor. Pract. Log Prog. 8(2), 129–165 (2008)MathSciNetCrossRefzbMATHGoogle Scholar
  9. 9.
    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
  10. 10.
    Polleres, A.: From SPARQL to rules (and back). In: WWW 2007, pp. 787–796. ACM Press, New York (2007)Google Scholar
  11. 11.
    Polleres, A., Schindlauer, R.: dlvhex-sparql: A SPARQL-compliant query engine based on dlvhex. In: ALPSWS 2007, CEUR WS Proceedings, vol. 287, pp. 3–12 (September 2007)Google Scholar
  12. 12.
    Abadi, D.J., Marcus, A., Madden, S., Hollenbach, K.J.: Scalable Semantic Web Data Management Using Vertical Partitioning. In: VLDB 2007, pp. 411–422. ACM Press, New York (2007)Google Scholar
  13. 13.
    Wielemaker, J., Hildebrand, M., van Ossenbruggen, J.: Prolog as the Fundament for Applications on the Semantic Web. In: ALPSWS 2007 (2007)Google Scholar
  14. 14.
    Ricca, F., Gallucci, L., Schindlauer, R., Dellarmi, T., Grasso, G., Leone, N.: OntoDLV: An ASP-based System for Enterprise Ontologies. J. Logic Computation (August 2008)Google Scholar
  15. 15.
    Lu, J., Cao, F., Ma, L., Yu, Y., Pan, Y.: An Effective SPARQL Support over Relational Databases. In: SWDB-ODBIS 2007, co-located with VLDB 2007, pp. 57–76 (2007)Google Scholar
  16. 16.
    Theoharis, Y., Christophides, V., Karvounarakis, G.: Benchmarking Database Representations of RDF/S Stores. In: Gil, Y., Motta, E., Benjamins, V.R., Musen, M.A. (eds.) ISWC 2005. LNCS, vol. 3729, pp. 685–701. Springer, Heidelberg (2005)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Giovambattista Ianni
    • 1
  • Thomas Krennwallner
    • 2
  • Alessandra Martello
    • 1
  • Axel Polleres
    • 3
  1. 1.Dipartimento di MatematicaUniversità della CalabriaRende (CS)Italy
  2. 2.Institut für InformationssystemeTechnische Universität WienViennaAustria
  3. 3.Digital Enterprise Research InstituteNational University of IrelandGalwayIreland

Personalised recommendations