[topicmapmail] How to address Web resources with XTM?
Jan Algermissen
algermissen@acm.org
Tue, 02 Mar 2004 12:47:10 +0100
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>?
Some more examples of type-3) resources:
http://www.google.de/search (not the company Google, but the Web service)
http://www.weather.com/
http://www.dmoz.org/
http://dict.leo.org/ (a dictionary)
http://en.wikipedia.org/wiki/ (a URL space where certain sub-resources provide
information about things). Such as:
http://en.wikipedia.org/wiki/Washington
Another example:
How would I say in XTM that http://www.google.de/search and
http://www.altavista.com/web/results are of the same type and that this type is
"Web query processor"?
Bottom line: I want to be able to do the same for XTM that RDFForms do for RDF.
Thoughts?
Jan
--
Jan Algermissen http://www.topicmapping.com
Consultant & Programmer http://www.gooseworks.org