Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 824 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 824 Bytes

rdf-property-table

Transform a RDF file into property class tables.

See A survey of RDF storage approaches for more informations on property table.

Installation

Assuming you already have python 3, pip, java jdk (openjdk will do),

Download jena and update classpath:

export CLASSPATH=${CLASSPATH}:YOUR-JENA-DIR-PATH/lib/*

Installation in a virtualenv is strongly recommended

install Cython

python -m pip install --upgrade cython

Install dependencies with pip:

pip install -r requirements.txt

Run it !

python property_table.py [filepath]

Example to convert two RDF fils in the current directory:

python property_table.py rdf_file.ttl rdf_file2.ttl