[okfn-dev] python library for virtuoso

Rufus Pollock rufus.pollock at okfn.org
Fri Jun 17 10:25:34 UTC 2011


Hi Adrian,

Please keep cc if you can -- will waites is expert here as he wrote the library!

@Will: any ideas about Adrian's issues (see below).

@Adrian: you may also want to report this issue here:
<https://bitbucket.org/ww/virtuoso/issues>

Rufus

On 17 June 2011 08:51, brasoveanu adrian <adrian.brasoveanu at gmail.com> wrote:
> Hello Rufus,
>
> this is the same library I have used. I've used more, but this seemed
> to be the most interesting.
>
> I installed pyodbc, rdflib before installing virtuoso.
>
> On Win 64 I had the vcvarsaal.bat problem.... I fixed that
> problem...by attaching the Microsoft Visual C++ 2008 compiler...
>
> Than I tested again on different operating systems: Win 32, Win 64, Linux.
>
> On Windows the virtuoso package would not compile, on Linux (Ubuntu
> 11.04), I got this errror:
>
> In [4]: Virtuoso = plugin("Virtuoso", Store)
> ---------------------------------------------------------------------------
> Exception                                 Traceback (most recent call last)
>
> /home/heinz/<ipython console> in <module>()
>
> /usr/lib/pymodules/python2.7/rdflib/plugin.pyc in get(name, kind)
>     25             Adaptee = get(name, _adaptors[kind])
>     26         except Exception, e:
> ---> 27             raise Exception("could not get plugin for %s, %s:
> %s" % (name, kind, e))
>     28         def const(*args, **keywords):
>     29             return Adaptor(Adaptee(*args, **keywords))
>
> Exception: could not get plugin for Virtuoso, <class
> 'rdflib.store.Store'>: <class 'rdflib.store.Store'>
>
> So it still didn't worked.
>
> I will also try the other approach you suggested, but here the general
> opinion is that they want a triplestore.
>
> Best regards,
> Adrian Brasoveanu
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/




More information about the okfn-labs mailing list