Re: Declaring restrictions on processed data

On Thu, Jun 02, 2005 at 07:39:25PM +0200, Jan Algermissen wrote:
> My use case is that I want the resource to be able to say (by way of  
> a form)
> exactly what state change it accepts. This information can be used to  
> generate
> an HTML form for example. If I know the resource accepts changing its  
> foo:status
> to any of 'open','stalled','resolved' I can produce nice selects from  
> this. If I
> only know that the resource accepts application/rdf+xml then I am  
> pretty much lost.

Well, there's got to be other information provided with the form that
your app can use to decide if it's going to take any of the actions
described by the form.  For example, the type of processor, which has a
URI from which you might GET an RDF Schema.

But I haven't used such a technique myself, so maybe there's another,
better way - this is RDF after all, so you can mixin whatever other
information you need.  Let me know what you learn.

Mark Baker.  Ottawa, Ontario, CANADA.
Coactus; Web-inspired integration strategies

Received on Friday, 3 June 2005 14:41:15 UTC