[okfn-help] catalogue rdf redux...

William Waites william.waites at okfn.org
Fri Jul 16 11:10:10 BST 2010


Also to let you know, there is a package called ontosrv which
gives a very simple web interface to the storage, you can
install it with:

    pip install -e hg+http://ordf.org/src/ontosrv/#egg=ontosrv

Have a look at the README in src/ontosrv, but a quickstart
would be,

    paster make-config ontosrv srv.ini
    # edit srv.ini to make sure ordf.readers/ordf.writers is the
    # same as with your ckanrdf config
    ordf_load_n3 -c srv.ini -b http://ordf.org/lens/ -p ordf.onto
    # paster serve srv.ini

If you've loaded the wordnet example, you can then point
a web browser at:

    http://localhost:5000/graph?uri=http://www.ckan.net/package/wordnet
    http://localhost:5000/graph?uri=http://semantic.ckan.net/data/wordnet

And the sparql endpoint should work (albeit performance with
the rdflib store is not stellar):

    http://localhost:5000/sparql

The rendering isn't terribly smart since there is no fresnel
lens for dcat stuff yet but I can look at making one today...

Cheers,
-w



More information about the okfn-help mailing list