Archives

April 2004 (7)
March 2004 (12)
February 2004 (12)
January 2004 (22)
December 2003 (19)
November 2003 (16)
October 2003 (26)
September 2003 (18)
August 2003 (38)
July 2003 (80)
June 2003 (13)
May 2003 (24)
April 2003 (76)
March 2003 (75)
February 2003 (51)
January 2003 (73)

Category

Family (5)
FYI (18)
Games (2)
Geek (88)
Geographic (3)
Hacks (13)
Home (15)
Humor (54)
Ideas (20)
Ideaspace (15)
Local (15)
Metadata (10)
Microsoft (2)
MovableType (5)
Nitwits (66)
PKI (2)
Politics (22)
Quotes (3)
RDF (15)
RSS (4)
Security (3)
Semantic Web (13)
Site Info (13)
Social Networks (1)
Spam (9)
Sysadmin (1)
Tips (2)
Tivo (2)
TMFTOTHD (1)
To Do (1)
Unlisted (1)
Web (3)
Windows (1)

Local

« MetroBlogs »
DC metroblogs
beltway bloggers

Links


Assorted bits

Blogroll Me!
GeoURL
Listed on BlogShares




August 09, 2003

Processing fragments?

What's better here?

<hamsandwich:group rdf:resource="http://ideaspace.net/schema#parent/child"/>
This:
<hamsandwich:group rdf:resource="http://ideaspace.net/schema/parent#child"/>
Or this:
<hamsandwich:group rdf:resource="http://ideaspace.net/schema/parent/child"/>

What I'm after here is a vocabulary listed at http://ideaspace.net/schema has a hierarchy within it. It's a descriptive vocabulary with many parent and subsequent child layers.

When I ask "what's better" I'm asking in the context of what's the least horrible way to express it such that it doesn't put undue burden upon the various tools that might be used to parse it?

Realizing that I may also make it more human readable by serializing it this like as well:


<hamsandwich:group rdf:resource="http://ideaspace.net/schema/parent#child">
<rdf:label>Child of Parent</rdf:label>
</hamsandwich:group>

In reality, however, the labelling of the various points within the hierarchy might not need to be marked up as such when both sides already know what human-readable labelling should be applied to them. This if just to stave of the nitwits that want to jump in and whine about verbosity.

So there's my question, if I emit data that's marked up in this manner what would be the least painful way for something doing triplespace queries to reach into the dataset and find exact points in the hierarchy as well as possible portions 'higher' in it?

RDF
Perma  | Comments (1) | TrackBack (0) | 01:03 PM  | xml
Comments

i think that *best* ones from those listed above are #1 and #3

#1 is good because it would allow you to relocate entire ...#parent/child hirearchy from one base url to another and the symbol # can be used to distinguich hierachy out of base schema location

#3 is good because it allows you to use pseudo-subdirectory url syntax and therefore you can implement your hierachies as tree of file resources (with xml schema and or namespace namespace declared for each parent/child)

while i think those (#1 and #3) are good i'd prefer entirely different syntax for hierachies

here is an example

http://hostname.domainname.domainsuffix:port/bloodyblah/baseurl;dynserverparam=123?parent/child

you see that parent/child in that case just a parameter name in query string, so in your web application that suppose to provide client with properties of hierachy elements you simply use query string without any additional parsing of a baseurl whinch is in that case:

http://hostname.domainname.domainsuffix:port/bloodyblah/baseurl;dynserverparam=123

if you move your app from one url to another it will work using query string key without any change of the code

so i vote for separation of application semantic from the transport and location sematic (a.k.a base url)

Posted by: igor bazdyrev (igor.txt.net) on August 9, 2003 08:42 PM
Post a comment






* if you do not leave a valid e-mail or URL your comment may be deleted *







Navigation

Recent Entries

America and Europe: Vive la différence?
Server changes afoot
Diet behavior mod
Googling for sensitive info
Outlook 2003 and IMAP, a marriage made in Hell
Bike to Work Day, May 7th
Speakeasy rocks
Zippo USB?
When geographic data is nowhere 'near' correct
Local campaign contributions

User comments
Trackbacks

Contact

send me an e-mail E-mail
chat with me using MS messenger MSN Messenger
chat with me via AIM America Online
chat with me on ICQ ICQ
chat with me on Yahoo! Yahoo
Add my vCard to your electronic addressbook vCard
Friend of a Friend FoaF

Syndication

XML  RDF  CDF

Comments

XFML

Extra Stuff

foaf
vCard
pgp info
Linked In
Powered by
Movable Type 2.64