W3C home > Mailing lists > Public > public-sws-ig@w3.org > May 2004

Re: OWL-S API (how to make it read the work-flow)

From: Jeff Dalton <jeff@inf.ed.ac.uk>
Date: Tue, 18 May 2004 16:11:41 +0100
Message-Id: <200405181511.i4IFBfTi019335@todday.inf.ed.ac.uk>
To: Dnal Murtagh <domurtag@cs.tcd.ie>
Cc: public-sws-ig@w3.org

I tried fixing the 2 problems I identified, and then it returned
all four services when I tried it on


It also worked on the FrenchDictionary service that's also at the
Mindswap site.

I've just tried changing the reader class, rather than fixing
the vocabulary classes, etc.

In OWLSReader_1_0.java:

1. Add this import:

import com.hp.hpl.jena.rdf.model.ResourceFactory;  // for fixing a bug /\/

2. 2. In the body of the class add the lines:

    private Property OWLS_1_0_Process_theParameter =

    private Property OWLS_1_0_Process_atProcess =

3. Find the method 

  createDataFlow(Process process, Resource processComponentInfo)

Where it says getProperty(OWLS_1_0.Process.theProperty),
replace it with getProperty(OWLS_1_0_Process_theParameter)
(2 places).

Where it says getProperty(OWLS_1_0.Process.atClass);
replace it with .getProperty(OWLS_1_0_Process_atProcess)
(2 places).

-- Jeff
Received on Tuesday, 18 May 2004 11:12:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:54:12 UTC