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). -- JeffReceived on Tuesday, 18 May 2004 11:12:23 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:32:45 UTC