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.
Download (HTTP): http://downloads.sourceforge.net/soprano/soprano-2.7.5.tar.bz2
Download MD5 sum: 9d881ce405354da4f7c2eeee386e2859
Download size: 1.9 MB
Estimated disk space required: 22 MB
Estimated build time: 0.6 SBU
cmake-2.8.7, Qt-4.8.1, D-BUS-1.4.20 and redland-1.0.15
libiodbc-3.52.7 (required for the Virtuoso backend. Additionally, virtuoso-6.1.5 is required as a runtime dependency for this backend.)
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
Install soprano by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make
Now, as the root user:
make install
-DSOPRANO_DISABLE_CLUCENE_INDEX=1:
Soprano might not build with recent Clucene versions. Use this
option to fix it.
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
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
Last updated on 2012-04-15 12:54:05 +0000