W3C home > Mailing lists > Public > public-lod@w3.org > November 2011

Re: Combining Linked Data HTTP URIs and HTML5 WebSocket URIs

From: Patrick Logan <patrickdlogan@gmail.com>
Date: Sat, 19 Nov 2011 11:37:23 -0800
Message-ID: <CAD_aa-8ASGyP-fa4VR=bRGHhQVUDkXK9a9+6QZXhDh67GyzwDw@mail.gmail.com>
To: richard.hancock@3kbo.com
Cc: public-lod@w3.org
The problem I am having coming to terms with your question is that the
web socket protocol is "full custom" once the two endpoints have
established that they are indeed using web sockets.

The http protocol defines all kinds of details that continue from
connection through disconnection (e.g. what kind of data is being
exchanged).

This seems kind of like designing for a gate array (http) vs. a full
custom IC. That's probably what you expect, and that's fine - it's
just you've created an ASIC -- an Application-Specific Integrated
Circuit.

And so along the lines of what Kingsley wrote in his response, it
seems to me you could:

* Design a vocabulary for describing servers and performance metrics
using any URL scheme.

* Design (at least) two access mechanisms, one based on http and the
other based on web sockets. Clients of the latter would just have to
understand your application-specific protocol designed to transmit web
socket data frames to be formatted and parsed as you see fit.

Either access mechanism could be used to communicate (subsets of) the
same graph.

Potentially confused, I am...
-Patrick

On Fri, Nov 18, 2011 at 6:22 PM,  <richard.hancock@3kbo.com> wrote:
> Hi All,
>
> I have a couple of questions re combining Linked Data HTTP URIs and HTML5
> WebSocket URIs.
>
> There are a couple of applications that I would like to build which have a
> mix of static and dynamic data. For the dynamic data I am planning to use
> HTML5 WebSockets [1][2] which uses the ws:// and wss:// prefixes.
>
> As an example I want to report the runtime status of the servers in a
> Weblogic cluster.  Using JMX monitoring to get the actual status I could
> use
>
>
> ws://www.3kbo.com:9090/servers/1/status
> ws://www.3kbo.com:9090/servers/2/status
>
> to display the current status of each server in my monitoring app.
>
> I am also planning to display LinkedData[3] about each server using the URIs
>
> <http://www.3kbo.com:8080/servers/1> and
> <http://www.3kbo.com:8080/servers/2>.
>
> It would seem logical to use owl:sameAs to combine the HTTP URIs and the
> Websocket URIs to assert that they are referring to the same individuals,
> but is that valid?
>
> I.e. can the following two statements be made in OWL?
>
> <http://www.3kbo.com:8080/servers/1> owl:sameAs
> <ws://www.3kbo.com:9090/servers/1> .
>
> <http://www.3kbo.com:8080/servers/2> owl:sameAs
> <ws://www.3kbo.com:9090/servers/2> .
>
> Does the forth LinkedData[3] principal
>
> "4. Include links to other URIs. so that they can discover more things."
>
> implicitly include links to Websocket URIs ?
>
> Cheers,
>
> Richard Hancock
>
>
> 1. http://en.wikipedia.org/wiki/WebSockets
> 2. http://dev.w3.org/html5/websockets/
> 3. http://www.w3.org/wiki/LinkedData
>
>
>
Received on Saturday, 19 November 2011 19:37:54 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:36 UTC