[topicmapmail] How to address Web resources with XTM?
Murray Altheim
m.altheim@open.ac.uk
Tue, 02 Mar 2004 14:44:53 +0000
Jan Algermissen wrote:
> Hi,
>
> (as said before) I am doing some work on using XTM for interacting
> with Web technology (rather than using Web technology to merely
> transport XTM).
>
> In a Web context, there are (IMO) three kinds of resources (in
> Web-sense):
>
> 1) abstract concepts (car,dog,democracy)
> 2) addressable information resources ( a certain HTML page, a certain jpeg image)
> 3) resources where the focus on interaction (feeds, search engines, XHTML validators,..)
>
> While Topic Maps make a clear distinction between 1) and 2) I am not sure how
> to address resources of kind 3).
>
> Consider the resource:
>
> http://validator.w3.org/check
>
> There is stuff I know about that resource:
>
> 1) in a human sense:
>
> - it is a validator that I can feed HTML and get a report of possible errors
>
> 2) in pure technical sense (possibly 'understandable' by a piece of software)
>
> - if one invokes GET on the URL, it allows a parameter called 'uri'
>
> - if one invokes POST on the URL, it accepts a message body of mime type
> "multipart/form-data" (a file upload)
>
>
> Suppose I want to use XTM to express that information, how would I address
> the validator? With <subjectIndicatorRef> or <reourceRef>?
Jan,
I *think* you're perhaps making this more complicated than it might
be. To characterize anything using XTM, you add a type to it. So in
the case of trying to state that X is a type of
> 3) resources where the focus on interaction (feeds, search engines, XHTML validators,..)
you create a Topic for that and add it as a type to your topic. If you want to
share the concept with others, publish a PSI. I'm below using my Ceryle namespace:
<topic id="interaction"><!-- PSI topic for interaction -->
<subjectIdentity>
<subjectIndicatorRef xlink:href="http://purl.org/ceryle/#interaction"/>
</subjectIdentity>
</topic>
<topic id="google">
<instanceOf>
<topicRef xlink:href="#interaction"/>
</instanceOf>
<subjectIdentity>
<resourceRef xlink:href="http://www.google.com/"/>
</subjectIdentity>
</topic>
Unless I'm missing something, that's it. (obviously, you could flesh out
the above topics with more information, names, etc.)
Murray
......................................................................
Murray Altheim http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK .
"Ours is a dangerous time with two relatively new threats,
both of them exacerbated by the Iraq invasion and this
administration's policies. One is the threat of future
terrorism by Osama and al Qaeda. The other is the threat
to our freedoms and our constitutional republic. These
are dangers that were never faced before in my lifetime."
-- Daniel Ellsberg
http://www.sfgate.com/cgi-bin/article.cgi?file=/chronicle/archive/2004/02/29/CMG3R50LHE5.DTL