7

What's out there which is:

  • Installable via apt-get or similar
  • Quick and easy to configure
  • Trivial to integrate into a scripting language (specifically PHP)
flag

4 Answers

5

Some official packages are underway, which is why I stopped posting uptodate packages in my apt repository. My packages are a bit rough around the edges - not running the backend at startup, no config file, no 4store user. The latest work on them has been done by dajobe.

However, the good news is that you should already have an up and running triple store on Ubuntu, using the default Ubuntu desktop installation! This is all installed as part of the soprano-cmd package, which is used in many desktop KDE applications. It interfaces to redland and to Virtuoso OSE.

You can try, on your fresh Ubuntu installation:

$ sopranod &
$ sopranocmd --port 5000 --serialization rdfxml --model foaf import something.rdf
$ sopranocmd --model foaf --port 5000 query "SELECT DISTINCT ?c WHERE {?a a ?c}"

If you're actually running KDE, I guess there's no need for the first step, and you can connect through DBUS to the sopranod instance currently running using --dbus org.kde.NepomukStorage instead of --port 5000.

link|flag
5

You could also try OpenLink Virtuoso. There is a commercial version with clustering support and also an Open Source Edition which is available in a package included the default Ubuntu repository for lucid.

sudo aptitude install virtuoso-opensource

Virtuoso can be used with a variety of programming languages, including PHP.

link|flag
12

Add this to your /etc/apt/sources.list:

deb http://moustaki.org/apt karmic main 
deb-src http://moustaki.org/apt karmic main 

then:

sudo aptitude install 4store

create a database, load some data, and try querying from php.

Twist moustaki's arm into providing .debs for lucid :-)

link|flag
-5

To clarify your question, somewhat. A triple or quad store is equivalent to a database server that you make seek to start on Ubuntu.

Ever DBMS is fundamentally a server mode application associated with a process that runs on a host OS and may or may not (depending on its inter process communications methods) advertise its services at a port.

Thus, you start the DBMS, verify that its up an running (the product docs should provide details) then make a connection using a DBMS client that knows how to speak to said DBMS server via its protocol (typically standards based). For an RDBMS you would typically us a client that speaks ODBC, JDBC, or the DBMS engines native CLI. For a Quad or Triple store it would be SPARQL or some native HTTP based call pattern.

Do you have a name for the triple or quad store you are trying to start on Ubuntu?

Kingsley

link|flag

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.