Re: non opaque primary topics

On 8 May 2013 17:39, David Sheets <kosmo.zb@gmail.com> wrote:

> On Wed, May 8, 2013 at 4:31 PM, Melvin Carvalho
> <melvincarvalho@gmail.com> wrote:
> >
> >
> >
> > On 7 May 2013 23:26, Markus Lanthaler <markus.lanthaler@gmx.net> wrote:
> >>
> >> URIs are opaque, so it doesn't matter at all :-)
> >
> >
> > URIs are not opaque, the first : has a special meaning.  Sometimes the
> final
> > # has a special meaning.
> >
> > Opacity is simply good engineering.
> >
> > However, there's a tradeoff between opacity and utility.
> >
> > For example ebay.com is worth millions more than
> > dhadkgkadgkdhakdhfkdhkhdadhs.com
> >
> > Heuristics provide tips for search engines.
> >
> > Given that I have to choose one of the 4 ... I'm trying to optimize
> which to
> > use.  The argument against # alone is that the javascript
> > window.location.hash may give an incorrect result, however the pro is
> that #
> > is very commonly used.  I like to try and keep consistent patterns where
> > possible, all other things being equal...
>
> Where do you observe this behavior? Afaik, window.location.hash
> returns "" for missing fragment and "#" for empty fragment.
>

Just tried chrome, opera and firefox running on ubuntu, they give "" for an
empty fragment.


>
> >>
> >>
> >>
> >> Cheers,
> >> Markus
> >>
> >>
> >>
> >> ---------- Original Message -------------
> >> From: Melvin Carvalho [mailto:melvincarvalho@gmail.com]
> >> Sent: Tuesday, May 07, 2013 11:08 PM
> >> To: Semantic Web
> >> Subject: non opaque primary topics
> >>
> >> the standard model in sem web seems to be
> >> <> foaf : primaryTopic <#relative-uri>
> >> I've seen 4 relatively common relative URIs used here and there
> >> 1. #me -- common in foafs
> >> 2. #i -- often used by timbl and tobyink
> >> 3. #this -- used by kingsley as per the 'this' keyword in OO
> >> 4. # -- used by facebook and others
> >> It's a very common case that a document will contain one primary topic
> and
> >> I
> >> want to standarize all of my pages (mainly robots) into one of these 4.
> >> It seems to me that (4) is the most sensible choice, after "it doesnt
> >> matter".
> >> Does anyone have any preference here?
> >>
> >>
> >> --
> >> Markus Lanthaler
> >> @markuslanthaler
> >>
> >>
> >
>

Received on Thursday, 9 May 2013 17:49:19 UTC