Git Product home page Git Product logo

grefine-rdf-extension's Introduction

Build Status

This project adds a graphical user interface(GUI) for exporting data of OpenRefine projects in RDF format. The export is based on mapping the data to a template graph using the GUI. It also provides a service for reconciling data against SPARQL endpoints (e.g., DBpedia).

DOWNLOAD

Latest release

OpenRefine 3.3 v1.2.1

Previous releases for earlier versions of OpenRefine

OpenRefine 3.2 v1.1.8

OpenRefine 3.1 v1.1.4

INSTALL

From compiled release

You need to have OpenRefine installed on your machine.

  1. If it does not exist, create a folder named extensions/rdf-extension under your user workspace directory for OpenRefine. The workspace should be located in the following places depending on your operating system:
    • Linux ~/.local/share/OpenRefine
    • Windows C:/Documents and Settings//Application Data/OpenRefine OR C:/Documents and Settings//Local Settings/Application Data/OpenRefine
    • Mac OSX ~/Library/Application Support/OpenRefine
  2. Unzip the downloaded release into the extensions/rdf-extension folder (step 1). It is recommended that you have an active internet connection during the first run of the extension, as it will try to download a set of predefined vocabularies (rdf, rdfs, owl and foaf). You can add them later also.
  3. Restart OpenRefine

To build from source

  • Clone this extension repository to your local machine
  • Checkout the orefine branch git checkout orefine
  • Run mvn clean compile and mvn assembly:single
  • Unpack the zip file created in the target directory to a sub-directory of the extensions folder of OpenRefine e.g., extensions/rdf-extension

If you have previously installed the extension you will need to replace it in the OpenRefine extensions directory with the newly built version.

Issues

If you are upgrading from an older version (prior to v1.0.0-rc4) you may see an error similar to the below when starting OpenRefine:

Exception in thread "main" java.lang.Error: class org.apache.lucene.index.IndexFormatTooOldException:
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource 
BufferedChecksumIndexInput(MMapIndexInput(path="C:\PATH\OpenRefine\cache\rdfExtension\export\luceneIndex
\segments_1"))): -11 (needs to be between 1071082519 and 1071082519). 
This version of Lucene only supports indexes created with 
release 5.0 and later. 

This is due to an upgrade in the version of Lucene used. To solve this you will need to remove the old Lucene index and restart OpenRefine, i.e., for the example above delete C:\PATH\OpenRefine\cache\rdfExtension\export\luceneIndex. For Linux this will be under ~/.local/share/openrefine/cache/rdfExtension/export/luceneIndex

Documentation

grefine-rdf-extension's People

Contributors

armisael avatar fadmaa avatar magdmartin avatar sparkica avatar stkenny avatar tfmorris avatar thadguidry avatar wetneb avatar wikier avatar

Watchers

 avatar

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.