Search the web
Sign In
New User? Sign Up
newsml-g2 · IPTC NewsML-G2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 870 - 873 of 873   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#873 From: "Michael Steidl (IPTC)" <mdirector@...>
Date: Thu Nov 26, 2009 11:28 am
Subject: Re: Terminating Scheme URIs with "#" vs "/"
mdiptc
Offline Offline
Send Email Send Email
 
To add an example to my previous considerations:

The New York Times released its first controlled vocabulary for persons - see http://data.nytimes.com - as a SKOS file.

These namespaces are defined:

xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:nyt="http://data.nytimes.com/elements/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:fb="http://rdf.freebase.com/ns/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:time="http://www.w3.org/2006/time#">

A happy mix of # and / at the end.

Michael


--------------------------------------------------
On 4 Nov 2009 at 18:21  misha.wolf@... wrote:



The IPTC News Architecture group is discussing, among other matters, the pros and cons of "#" and "/" in the construction of URIs representing concepts.  Your input is welcome.  
   
Regards,  
Misha  
   


From: Wolf, Misha (M Cont Ent)
Sent: 04 November 2009 18:19
To: 'iptc-news-architecture-dev@yahoogroups.com'
Subject: RE: [IPTC-NAR-dev] Scheme URIs
The Semantic Web allows both "#" and "/".  In deciding which to use, one must consider a number of things, including:  
-   the intended UI  
-   the implementation  
 
The "#" approach lends itself to describing an entire Scheme on one static Web page.  
 
The "/" approach implies a flat directory, containing many items.  
 
In reality, software can be made to deliver any UI, based on either mechanism.  
 
This W3C document discusses very detailed implementation issues for the two options:  
   Best Practice Recipes for Publishing RDF Vocabularies  
 
Regards,  
Misha  
   
 
This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

==================================================
Sent by:
Michael Steidl
Managing Director of the IPTC <mdirector@...>
International Press Telecommunications Council - www.iptc.org
Business office address:
20 Garrick Street, London WC2E 9BT, United Kingdom
Registered in England, company no 101096
 
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    ---- File information -----------
      File:  DEFAULT.BMP
      Date:  4 Nov 2007, 19:21
      Size:  358 bytes.
      Type:  Unknown

#872 From: "Michael Steidl (IPTC)" <mdirector@...>
Date: Thu Nov 26, 2009 10:08 am
Subject: Re: Terminating Scheme URIs with "#" vs "/"
mdiptc
Offline Offline
Send Email Send Email
 
Misha and group:

my  - a bit cynical - answer is: it depends on what you want to achive. This is my summary:

a) in the scope of creating valid URIs [1]: both terminating characters can be used

b) in the scope of creating URI References as used by RDF [2]: both may be used, but in the scope of practical use and implementations the # is clearly preferred

c) in the scope of publishing RDF vocabularies [3]: both can be used.

This all again more in detail:

Prerequisite: the issue is: the IPTC G2-Standards define that a scheme must have a URI for identifying it and codes representing members of the scheme shall be concatenated to this Scheme URI and the result should be again a valid URI - and preferentially a URL which resolves to a web resource.

re a) the scope which is the easiest to discuss: the current URI RFC allows a URIs with both a "/" and a "#" at the end, and appending a code is not big issue as most of the Unicode characters can be used.

re b) Things get more complex in this scope as the RDF documents are contentious about what a URI reference exactly is: an identifier - in any case - which can be resolved to a web resource ... hm, this excludes URNs per se. I guess this comes i) from different editors for the six basic RDF document and ii) that in some document an explicit or implicit assumption is made: RDF is about the Web, thus all URIs must be web URLs = http: URLs.

Go provide some references to corresponding sections in RDF document:

- in the RDF Concepts [4], under 6.4 on can read: " ...and would produce a valid URI character sequence (per RFC2396 [URI], sections 2.1) representing an absolute URI with optional fragment identifier when subjected to the encoding described below. "

- in the RDF Semantics [5], under 1.2 one can read: (2 quotes follow)

-- "This document does not take any position on the way that URI references may be composed from other expressions, e.g. from relative URIs or QNames; the semantics simply assumes that such lexical issues have been resolved in some way that is globally coherent, so that a single URI reference can be taken to have the same meaning wherever it occurs."

-- "The semantics does not assume any particular relationship between the denotation of a URI reference and a document or Web resource which can be retrieved by using that URI reference in an HTTP transfer protocol, or any entity which is considered to be the source of such documents. Such a requirement could be added as a semantic extension, but the formal semantics described here makes no assumptions about any connection between the denotations of URI references and the uses of those URI references in other protocols."

My comment: this sounds very aloof regarding the relationship between URIs as identifier and http URLs - it tells in other words: others may add more specific definitions.

- in the RDF Primer [6], on can read under 2.1, Basic Concepts:

-- "Because of this generality, RDF uses URIs as the basis of its mechanism for identifying the subjects, predicates, and objects in statements. To be more precise, RDF uses URI references [URIS]. A URI reference (or URIref) is a URI, together with an optional fragment identifier at the end. For example, the URI reference http://www.example.org/index.html#section2  ...." 

My comment: This chapter is in its first section about the subject of RDF triples and it is quite obvious that this is a http URL for all Web resources - and RDF is made for them. But in this later section it extends this view to URIs for predicates and objects - and this is much less obvious.

The major problem with this http-URL focused thinking is that even standards are tweaked to abide to it. Example: the XML Schema specification provides this namespace URL: "http://www.w3.org/2001/XMLSchema". When it comes to RDF the URL is suddenly "http://www.w3.org/2001/XMLSchema#" - to be strict: that are two different namespaces.

Another major issue is: I got aware that many people working in the RDF area assume that the # termination is a MUST for RDF and many software vendors do not support a / at the end of a namespace URI - this results in URIs like this one: http://namespace.example.org/ns1/#predicate1" if a namespace is defined as http://namespace.example.org/ns1/ and a predicate of "predicate1" is applied to it. Apparently the software checks if a # is in the namespace URI and if not it is appended.

An important issue regarding http-URLs is fragment values: in case of referring to a section of an XHTML document the @id of the corresponding tag (e.g. <p>, or <div>) is used. This approach inherits the lexical space limitations for @id in XML documents: e.g. not digit is allowed as first character. And this was one of the main reasons for the IPTC not to adopt the # as recommended termination character as this would exclude any code (of a scheme) starting with a digit.

re c) This document explicitly - and completely in parallel - discribes how vocabularies with a # (hash) or a / (slash) at the end of the scheme's URI can be accessed and retrieved.

Happy considerations and drawing conclusions

Michael

--------------------------------

[1] RFC 3986 - http://tools.ietf.org/html/rfc3986
[2] http://www.w3.org/RDF/
[3] http://www.w3.org/TR/swbp-vocab-pub/
[4] http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#section-Graph-URIref
[5] http://www.w3.org/TR/rdf-mt/#urisandlit
[6] http://www.w3.org/TR/rdf-primer/#basicconcepts

--------------------------------------------------
On 4 Nov 2009 at 18:21  misha.wolf@... wrote:



The IPTC News Architecture group is discussing, among other matters, the pros and cons of "#" and "/" in the construction of URIs representing concepts.  Your input is welcome.  
   
Regards,  
Misha  
   


From: Wolf, Misha (M Cont Ent)
Sent: 04 November 2009 18:19
To: 'iptc-news-architecture-dev@yahoogroups.com'
Subject: RE: [IPTC-NAR-dev] Scheme URIs
The Semantic Web allows both "#" and "/".  In deciding which to use, one must consider a number of things, including:  
-   the intended UI  
-   the implementation  
 
The "#" approach lends itself to describing an entire Scheme on one static Web page.  
 
The "/" approach implies a flat directory, containing many items.  
 
In reality, software can be made to deliver any UI, based on either mechanism.  
 
This W3C document discusses very detailed implementation issues for the two options:  
   Best Practice Recipes for Publishing RDF Vocabularies  
 
Regards,  
Misha  
   
 
This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

==================================================
Sent by:
Michael Steidl
Managing Director of the IPTC <mdirector@...>
International Press Telecommunications Council - www.iptc.org
Business office address:
20 Garrick Street, London WC2E 9BT, United Kingdom
Registered in England, company no 101096
 
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    ---- File information -----------
      File:  DEFAULT.BMP
      Date:  4 Nov 2007, 19:21
      Size:  358 bytes.
      Type:  Unknown

#871 From: Jan Algermissen <algermissen1971@...>
Date: Wed Nov 25, 2009 9:45 pm
Subject: Re: Terminating Scheme URIs with "#" vs "/"
algermissen1971
Offline Offline
Send Email Send Email
 
On Nov 4, 2009, at 7:21 PM, misha.wolf@... wrote:

>
>
> The IPTC News Architecture group is discussing, among other matters,
> the pros and cons of "#" and "/" in the construction of URIs
> representing concepts.  Your input is welcome.

Incidently I just ran across this posting by Roy Fielding which
explaines the issue a *lot* better than I did:

http://lists.w3.org/Archives/Public/www-tag/2002Jul/0253.html

Jan



>
> Regards,
> Misha
>
>
> From: Wolf, Misha (M Cont Ent)
> Sent: 04 November 2009 18:19
> To: 'iptc-news-architecture-dev@yahoogroups.com'
> Subject: RE: [IPTC-NAR-dev] Scheme URIs
>
> The Semantic Web allows both "#" and "/".  In deciding which to use,
> one must consider a number of things, including:
> -    the intended UI
> -    the implementation
>
> The "#" approach lends itself to describing an entire Scheme on one
> static Web page.
>
> The "/" approach implies a flat directory, containing many items.
>
> In reality, software can be made to deliver any UI, based on either
> mechanism.
>
> This W3C document discusses very detailed implementation issues for
> the two options:
>     Best Practice Recipes for Publishing RDF Vocabularies
>     http://www.w3.org/TR/swbp-vocab-pub/
>
> Regards,
> Misha
>
>
>
> This email was sent to you by Thomson Reuters, the global news and
> information company.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be the
> views of Thomson Reuters.
>
>

--------------------------------------
Jan Algermissen

Mail: algermissen@...
Blog: http://algermissen.blogspot.com/
Home: http://www.jalgermissen.com
--------------------------------------

#870 From: "Evain, Jean-Pierre" <evain@...>
Date: Wed Nov 4, 2009 6:36 pm
Subject: RE : Terminating Scheme URIs with "#" vs "/"
jpevain_ebu
Offline Offline
Send Email Send Email
 
Misha, as far as I am concerned I prefer the #.

This allows me to define URIs pointing to any form of documents (xml, pdf, doc)
and still have a pointer. When not using rdf and concepts like defined in SKOS,
there is always an issue on knowing how ot resolve a reference to a concept
identified by a URI. Another attractive feature of # is that it doesn't enter
the debate of safely resolving URLs while it opens the document within which a
reference is provided. This means an average user should be able to decide then
what's the best way for him for resolving the URI.

Regards,

Jean-pierre
________________________________
De : newsml-g2@yahoogroups.com [newsml-g2@yahoogroups.com] de la part de
misha.wolf@... [misha.wolf@...]
Date d'envoi : mercredi, 4. novembre 2009 19:21
À : newsml-g2@yahoogroups.com
Objet : [newsml-g2] Terminating Scheme URIs with "#" vs "/"



The IPTC News Architecture group is discussing, among other matters, the pros
and cons of "#" and "/" in the construction of URIs representing concepts.  Your
input is welcome.

Regards,
Misha


________________________________
From: Wolf, Misha (M Cont Ent)
Sent: 04 November 2009 18:19
To: 'iptc-news-architecture-dev@yahoogroups.com'
Subject: RE: [IPTC-NAR-dev] Scheme URIs

The Semantic Web allows both "#" and "/".  In deciding which to use, one must
consider a number of things, including:
-    the intended UI
-    the implementation

The "#" approach lends itself to describing an entire Scheme on one static Web
page.

The "/" approach implies a flat directory, containing many items.

In reality, software can be made to deliver any UI, based on either mechanism.

This W3C document discusses very detailed implementation issues for the two
options:
     Best Practice Recipes for Publishing RDF Vocabularies
     http://www.w3.org/TR/swbp-vocab-pub/

Regards,
Misha



This email was sent to you by Thomson Reuters, the global news and information
company.
Any views expressed in this message are those of the individual sender, except
where the sender specifically states them to be the views of Thomson Reuters.

Messages 870 - 873 of 873   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help