OWL-S API

Greetings,

I've been trying to use the OWL-S API (http://www.mindswap.org/2004/owl-s/api/index.shtml) to read in the composite service described by http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl

The relevant Java code is:
    
    OWLSReader reader = OWLSFactory.createOWLSReader("1.0");
    List servicesList = reader.readAll(new URI("http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl"));

The List that is returned only contains 3 elements, whereas I would've expected it to contain 4, one for each of:

1. http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl#BookPriceService (top-level composite process)
2. http://www.mindswap.org/2004/owl-s/1.0/CurrencyConverter.owl#CurrencyConverterService (atomic subprocess)
3. http://www.mindswap.org/2004/owl-s/1.0/BookFinder.owl#BookFinderService (atomic subprocess)
4. http://www.mindswap.org/2004/owl-s/1.0/BNPrice.owl#BNPriceService (atomic subprocess)


Only the atomic services (2-4) are returned, there is no record of the the top-level composite service "BookPriceService".
One possible explanation for this is the data flow error indicated by the output (see below).

Ideally, I need access to the entire process model, beginning with the top-level process and the ability to track the data flow through same. Obviously this is not possible if the top-level process is "missing". If anyone has any suggestions about how I might do this, I'd be grateful if they'd pass them on. Also, any idea what the alleged problem with this service's data flow is? It looks fine to me!

The output generated by the code above is shown below:
________________________________________________

Start reading service: http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl#BookPriceService
ERROR: Invalid data flow specification
Finished reading service: http://www.mindswap.org/2004/owl-s/1.0/BookPrice.owl#BookPriceService
Start reading service: http://www.mindswap.org/2004/owl-s/1.0/CurrencyConverter.owl#CurrencyConverterService
Finished reading service: http://www.mindswap.org/2004/owl-s/1.0/CurrencyConverter.owl#CurrencyConverterService
Start reading service: http://www.mindswap.org/2004/owl-s/1.0/BookFinder.owl#BookFinderService
Finished reading service: http://www.mindswap.org/2004/owl-s/1.0/BookFinder.owl#BookFinderService
Start reading service: http://www.mindswap.org/2004/owl-s/1.0/BNPrice.owl#BNPriceService
Finished reading service: http://www.mindswap.org/2004/owl-s/1.0/BNPrice.owl#BNPriceService
_______________________________________________


Best Wishes,
Dónal

Received on Tuesday, 18 May 2004 07:01:20 UTC