- From: Mithun Sheshagiri <mits1@cs.umbc.edu>
- Date: Fri, 14 Feb 2003 16:46:58 -0500
- To: www-ws@w3.org
Dear Daniel,
We at UMBC developed a working prototype for DAML
Query Language (DQL). We used Java Expert Shell System (JESS) for
implementing querying. This is one way of doing it.
1. Convert RDF/DAML files intp VSO triples Eg. (PropertyValue (p
uri#name) (s agent) (o Marvin))
2. Convert the query into corresponding defquery, fire and bind the
returned iterator to a variable.
The defquery might look like this
(defquery getName
(PropertyValue (p uri#name) (s agent) (o ?r)))
This when fired will return an iterator that will help you get all answers.
To find out more, go to the JESS web-site
<http://herzberg.ca.sandia.gov/jess/>
I think you can do similar stuff in Jena. Have you tried looking into
RDQL. If you find that JESS is simpler, let me know. I have written some
code that'll do this for you.
good luck
mithun
Daniel Elenius wrote:
>Hi all!
>
>I need to 'query' DAML-S files for relevant properties, and possibly to
>some description logic reasoning with the ontologies... I'm using Java.
>What options do I have? I know about Jena (doesn't seem to do it, yet at
>least) and XSB with YAJXB or InterProlog. I've also heard about
>CORBA-FaCT. Are there other alternatives? What have people here tried?
>Which would be my best choice?
>
>As you can see I am new to this, so any feedback would be appreciated.
>
>Regards,
>
>
Received on Friday, 14 February 2003 16:48:23 UTC