Soprano-2.9.3

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.4 platform.

Package Information

Additional Downloads

Soprano Dependencies

Required

CMake-2.8.11.2, Qt-4.8.5, and Redland-1.0.16

Recommended (Required if building KDE)

Optional

Doxygen-1.8.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:

patch -Np1 -i ../soprano-2.9.3-dbus-1.patch &&
mkdir build &&
cd build    &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release  \
      .. &&
make

This package does not come with a working test suite.

Now, as the root user:

make install

Command Explanations

-DCMAKE_BUILD_TYPE=Release: This switch is used to apply higher level of the compiler optimizations.

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

Configuration of Soprano

Create a directory where Soprano places some runtime data:

install -m755 -d /srv/soprano

The sopranod accepts some parameters. To configure how the bootscript starts sopranod, 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-20130908 package.

make install-soprano

Contents

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

Last updated on 2013-08-26 10:26:25 -0700