Soprano-2.7.5

Introduction to Soprano

Soprano (formally known as QRDF) is a library which provides a nice Qt interface to RDF storage solutions. It has a modular structure which allows to replace the actual RDF storage implementation used.

This package is known to build and work properly using an LFS-7.1 platform.

Package Information

Soprano Dependencies

Required

cmake-2.8.7, Qt-4.8.1, D-BUS-1.4.20 and redland-1.0.15

Recommended

Optional

Doxygen-1.7.5 (to build the documentation), CLucene (no longer required to use soprano in KDE) and Sesame2

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/soprano

Installation of Soprano

Install soprano by running the following commands:

mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
make

Now, as the root user:

make install

Command Explanations

-DSOPRANO_DISABLE_CLUCENE_INDEX=1: Soprano might not build with recent Clucene versions. Use this option to fix it.

Configuration of Soprano

Create a directory where soprano places some runtime data:

install -m755 -d /srv/soprano

The sopranod accepts some parameter. To not hardcode them in the startscript, create a configuration file:

cat > /etc/sysconfig/soprano <<EOF
# Begin /etc/sysconfig/soprano

SOPRANO_STORAGE="/srv/soprano"
SOPRANO_BACKEND="virtuoso"                       # virtuoso, sesame2, redland
#SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711"  # Default port is 5000

# End /etc/sysconfig/soprano
EOF

Boot Script

[Note]

Note

It is not required to start the soprano server at boottime for KDE. KDE will start soprano as needed.

In order to get Soprano started automatically when the system is booted, install the /etc/rc.d/init.d/soprano init script included in the blfs-bootscripts-201205011 package.

make install-soprano

Contents

Installed Programs: sopranod, sopranocmd and onto2vocabularyclass
Installed Libraries: libsoprano.so, libsopranoclient.so, libsopranoserver.so and several libraries in /usr/lib/soprano/
Installed Directories: /usr/include/soprano, /usr/include/Soprano and /usr/share/soprano

Last updated on 2012-04-15 12:54:05 +0000