Git Product home page Git Product logo

morph-csv's Introduction

Morph-CSV 2.0

Morph-CSV is an open source tool for querying tabular data sources using SPARQL. It exploits the information from the query, RML+FnO mappings and CSVW metadata to enhance the performance and completness of traditional OBDA systems (SPARQL-to-SQL translators). At this moment can be embebed in the top of any R2RML-compliant system.

Morph-csv workflow

How to use it?

We provide two ways to run morph-csv: using the created docker image or directly run with Python3. First of all clone the repository:

git clone https://github.com/oeg-upm/morph-csv.git
cd morph-csv

Then choose one of the available options:

  • Using docker and docker-compose*:

    docker-compose up -d
    docker exec -it morphcsv ./run-morph-csv.sh -c /configs/config-file.json -q /queries/query-file.rq

    *If you have any local resource you want to use copy it to the corresponding shared volume (folders: data, mappings, configs or queries)

  • Using python3 (under a UNIX system):

    pip3 install -r requirements.txt
    python3 morphcsv.py -c path-to-config-file.json -q path-to-query-file.rq

Define your config.json file

The path of the data sources in CSVW and YARRRML anotations have to be the same.

{
  "csvw":"PATH OR URL to CSVW annotations",
  "yarrrml": "PATH OR URL TO YARRRML+FnO Mapping"
}

Evaluation

Morph-CSV has ben tested over three use cases: BSBM, Madrid-GTFS-Bench and Bio2RDF project. You can get the resources used and the results obtained in the branch evaluation (available soon)

Publications:

  • David Chaves-Fraga, Freddy Priyatna, Idafen Santana-Pérez and Oscar Corcho “Virtual Statistics Knowledge Graph Generation from CSV files”. In:Emerging Topics in Semantic Technologies: ISWC2018 Satellite Events. Vol. 36. Studies on the Semantic Web. IOS Press,2018, pp. 235–244 Online Version
  • Oscar Corcho, Freddy Priyatna, David Chaves-Fraga: "Towards a New Generation of Ontology Based Data Access". In: Semantic Web Journal, 2019. Online version
  • Ana Iglesias-Molina, David Chaves-Fraga, Freddy Priyatna, Oscar Corcho: "Enhancing the Maintainability of the Bio2RDF project Using Declarative Mappings". In: 12th International Semantic Web Applications and Tools for Health Care and Life Sciences Conference, 2019. Online version
  • David Chaves-Fraga, Edna Ruckhaus, Freddy Priyatna, Maria-Esther Vidal, Oscar Corcho, (2020). Enhancing OBDA Query Translation over Tabular Data with Morph-CSV. arXiv preprint arXiv:2001.09052 Pre-print version

Authors and Contact

Ontology Engineering Group - Data Integration:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.