Describing source contents -- a little hack

From: Damian Steer (damian.steer@hp.com)
Date: Tue May 10 2005 - 10:50:11 PDT

  • Next message: Danny Ayers: "Re: Describing source contents -- a little hack"

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi all,

    Libby's been talking about the problem of working out what to ask a
    sparql source. That is, given a sparql source how can I work out
    whether it's worth asking it about people, images etc.

    Here's a suggestion. Feel free to attack it :-) I've put up a simple
    demo in javascript (uh-oh) at:

    <http://rdfweb.org:8080/jenadev/sparqlinto.html>

    It seems to work in mozilla and safari.

    What it does:

    1) Given a sparql source (don't change that, btw, because of
    javascript security restrictions) ask 'What kinds of thing do you
    know about?'.

    2) For each kind of thing it knows about put up a button.

    3) Clicking the button will generate a sparql query that should be
    tailored to that kind of thing.

    4) You can execute that query and see the results (thanks to Libby's
    code).

    What it's doing is asking the store about itself, and specifically
    the classes it knows about. These classes are described in owl, which
    you can see at:

    <http://rdfweb.org:8080/jenadev/desc.rdf>

    These are 'store local', e.g. my people are a subclass of foaf
    people. Ideally this information would mined from the store.

    (Hmm, I should add some allValuesFrom for 'from' 'to', to indicate
    the range is people).

    Anyway, it's pretty easy to construct prototype queries from the
    class descriptions.

    Hopefully this approach is a bit better than listing properties used
    in a store, since it has a little more structure.

    Damian
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (Darwin)

    iD8DBQFCgPRaAyLCB+mTtykRAt7rAKDXvkJRufESQB/ucwTXbu9Gf//kugCgwLQQ
    ggo/lsn0YOcpFEFGnQ3HQHc=
    =JQa1
    -----END PGP SIGNATURE-----


  • Next message: Danny Ayers: "Re: Describing source contents -- a little hack"

    This archive was generated by hypermail 2.1.6 : Tue May 10 2005 - 10:51:13 PDT