- From: Jeff Dalton <jeff@inf.ed.ac.uk>
- Date: Tue, 18 May 2004 16:11:41 +0100
- 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
http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl
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 =
ResourceFactory.createProperty("http://www.daml.org/services/owl-s/1.0/Process.owl#theParameter");
private Property OWLS_1_0_Process_atProcess =
ResourceFactory.createProperty("http://www.daml.org/services/owl-s/1.0/Process.owl#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