Graph Databases Methodology and Tool Supporting Index/Store Versioning

Graph Databases Methodology and Tool Supporting Index/Store Versioning

Journal of Visual Languages and Computing 31 (2015) 222–229 Contents lists available at ScienceDirect Journal of Visual Languages and Computing journal homepage: www.elsevier.com/locate/jvlc Graph databases methodology and tool supporting index/store versioning Pierfrancesco Bellini, Ivan Bruno, Paolo Nesi n, Nadia Rauch DISIT Lab, Department of Information Engineering, University of Florence, Italy article info abstract Available online 6 November 2015 Graph databases are taking place in many different applications: smart city, smart cloud, Keywords: smart education, etc. In most cases, the applications imply the creation of ontologies and RDF knowledge base versioning the integration of a large set of knowledge to build a knowledge base as an RDF KB store, Graph stores versioning with ontologies, static data, historical data and real time data. Most of the RDF stores are RDF store management endowed with inferential engines that materialize some knowledge as triples during Knowledge base life cycle indexing or querying. In these cases, deleting concepts may imply the removal and change of many triples, especially if the triples are those modeling the ontological part of the knowledge base, or are referred by many other concepts. For these solutions, the graph database versioning feature is not provided at level of the RDF stores tool, and it is quite complex and time consuming to be addressed as black box approach. In most cases the indexing is a time consuming process, and the rebuilding of the KB may imply manually edited long scripts that are error prone. Therefore, in order to solve these kinds of pro- blems, this paper proposes a lifecycle methodology and a tool supporting versioning of indexes for RDF KB store. The solution proposed has been developed on the basis of a number of knowledge oriented projects as Sii-Mobility (smart city), RESOLUTE (smart city risk assessment), ICARO (smart cloud). Results are reported in terms of time saving and reliability. & 2015 Elsevier Ltd. All rights reserved. 1. Introduction on the concept of triple that puts in relationship two entities. A vocabulary defines the common characteristics Large graph databases are getting a strong push in their of things belonging to classes and their relations. A voca- diffusion for setting up new kind of big data services for bulary, also called ontology, is defined by using RDFS (RDF smart cities, digital libraries, competence modeling, health Schema, RDF Vocabulary Description Language) or the care, smart education, etc. This fact is mainly due to their OWL extension (Ontology Web Language). Recently RDF capability in modeling knowledge and thus on creating store have been also addressed as noSQL stores for big data Knowledge-Based, KB, systems [1]. Graph databases may [3]. A large set of ontologies and related data sets are now be implemented as RDF stores (Resource Description Fra- accessible, see for example the large number of LOD mework) [2], to create interactive services in which rea- (linked open data) accessible and related each other via soning and deductions can be elaborated including infer- URI [4,5]. RDF stores may be made accessible via an entry ence engines on top of the store. An RDF store is grounded point to pose semantic queries formalized for example in SPARQL [6] (SPARQL Protocol and RDF Query Language, recursive definition). Non trivial RDF stores based n Corresponding author. solutions are typically produced by exploiting multiple E-mail addresses: pierfrancesco.bellini@unifi.it (P. Bellini), ivan.bruno@unifi.it (I. Bruno), paolo.nesi@unifi.it (P. Nesi), ontologies, loading data triples and testing/validating the nadia.rauch@unifi.it) (N. Rauch). obtained results. This means that they are built by using http://dx.doi.org/10.1016/j.jvlc.2015.10.018 1045-926X/& 2015 Elsevier Ltd. All rights reserved. P. Bellini et al. / Journal of Visual Languages and Computing 31 (2015) 222–229 223 some ontology building methodology [7,8], integrated capability of making deductions and reasoning on the with a knowledge base development life cycles. knowledge base, (iii) maintaining acceptable query per- The RDF store may grow over time adding new triples, formance and rendering performances, (iv) simplifying the and may have the capacity to learn if endowed with an design of the front-end services, (v) satisfying the arrival of inferential reasoner/engine, i.e., producing new knowledge additional data and models and/or corrections, etc. A as new triples. Thus, the inferential engine associated with commonly agreed lifecycle model to build KBs is not the RDF store materializes new triples during reasoning available yet and many researchers have tried to embed KB (for example at the time of indexing or querying). These development steps into some conventional software life- facts are the main motivations to low performances in cycle models [9]. In general, development of KB systems is indexing, and critical performances in deleting triples of a multistep process and proceeds iteratively, using an RDF stores as graph databases since they are involved in evolutionary prototyping strategy. A number of lifecycle removing the materialized triples. These features impact models have been proposed specifically for KB systems on store performances, and thus, in literature, many [10]. In the lifecycle model, a change in the ontology may benchmarks for the evaluation of RDF stores are present. generate the review and regeneration of a wide amount of When RDF stores are used as a support for a KB, some of RDF triples. The problem of ontology versioning as the changes in the RDF store can be destructive for the addressed in [11,12] can be easily applied if the ontology is graph model, such as changes in the triples modeling the not used as a basis for creating a large RDF KB store. ontology on which millions of instances are related. In Moreover, in [13], the versioning of RDF KB has been order to keep the performance acceptable, the RDF store addressed similarly to the CVS solutions by using com- has to be rebuilt from scratch or from some partial version mands as: commit, update, branch, merge, and diff. The to save time in releasing the new version. Thus, the life- differences are computed at semantic level on files of tri- cycle may present multiple cycles in which the RDF store is ples. At database level, the key performance aspects of an built incrementally via progressive refinements mediating RDF KB store version management are the storage space among (i) reusing ontological models, (ii) increasing the and the time to create a new version [14]. Therefore, User Interface New New Data Concept Inference SPARQL Engine RDF Store Usage and Maintenance Support Domain Analysis Problem Detected Data Analysis Passed and Mining Problem Detected Knowledge Base Enrichment Available Problem Ontology Review Detected Concept Reconciliation Problem Detected RDF Store V & V Ontology Knowledge Base Selection Adding RT Data Problem Detected Knowledge Base Indexing Data Ontology Integration Data Data Data Triplification Triplification Triplification Ontology Review Static Data Dynamic Data Collection Collection Knowledge Base Indexing Onto Ontology Static Data Enrichment & Dynamic Data Construction Ingestion Improvement Ingestion Fig. 1. RDF KB life cycle model. 224 P. Bellini et al. / Journal of Visual Languages and Computing 31 (2015) 222–229 possible approaches could be to store: (a) each version as ontology creation to the RDF Store usage on the front-end an independent triples store [11–13]; (b) the deltas in where also real time data are added. terms of triples between two consecutive versions and The pillars refer to the implementing a computational and time consuming chain Ontology construction, from domain analysis the of processes to maintain and apply deltas [15]. setup of the RDF Store containing triples of the selected In this paper, a versioning system for RDF KB proposes to ontologies and possible additional triples to complete the integrate both (a) and (b) solutions. It manages versioning domain model (Knowledge Base Ontology, KBO). The of RDF stores by: (i) keeping trace of the set of triples to combined ontology is reviewed and possible problems build each version, (ii) storing each version and related set may lead to more or less deep redefinition of the process. of triples, (iii) providing an automated tool for keeping trace Static data ingestion: this phase is related to the of triple files, descriptions for store building and stores, (iv) loading of the data instances of the ontological classes and allowing the versioning of the RDF KB store, (v) reducing attributes. Despite their name, static data may change the critical manual error prone operations. This approach rarely over time, for example, the position of bus stops allows to make indexing versioning for RDF stores that may be considered static data even if they change sea- materialize triples at indexing (as OWLIM [http://www. sonally. They come from several sources (static, statistical, ontotext.com/]) or at querying (as Virtuoso [http://virtuoso. historical, etc.), and have to be converted in triples openlinksw.com/]) without influencing the RDF store according to the KBO coming from the previous phase. reconstruction. The resulting time for returning to a pre- Then, they are finally indexed by using several sets of tri- vious version and to reconstruction of a new one is satis- ples, maybe thousands. The indexing produces a KB factory and viable, since some of the RDF stores are very including the former KBO, plus many data instances; thus, time consuming in indexing, while other do not allow the allowing performing the RDF Store V&V, Verification and deletion of triples. Therefore, the paper presents an RDF KB Validation. The V&V allows to identify some problems, that methodology life-cycle suitable for big data graph data- may constrain the experts to (i) wrong data or incomplete bases, and a versioning tool for RDF KB stores that has been data to need a review of the data mapping to the ontology developed and tested for SESAME OWLIM and Virtuoso; (restart from the first step of this phase of data collection), and thus it can be simply extended to other RDF stores.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us