ISSUE-141: Fragment Identifiers (Sebastian Hellmann)


Fragment Identifiers (Sebastian Hellmann)

RDF Concepts
Raised by:
Markus Lanthaler
Opened on:
Hello all,
during my talk to Ivan (see other email) he pointed me to the changes made in the new working draft regarding the section Fragment Identifier.

Current recommendation:
New draft:

Actually, I could live quite well with the old recommendation, but I have some questions regarding the new draft section.

Especially, I was looking at:

It 303 redirects to HTML anchor within a table row at
<th colspan="2"><a id="Collection" href="#Collection">skos:Collection</a> </th>

Q1: to what does #Collection actually refer to? The anchor element, the text in the element or the whole tree, i.e. the current element, the text and all subelements , ok it's not very deep here, but you know what I mean. There is a difference, between a single node in a tree, the attributes of this node, the content of this node and the subtree with the node at its head.

the fragment chapter1 may identify a document section via the semantics of HTML's @name or @id attributes. The IRI <#chapter1> should then be taken to denote that same section in any RDFa-encoded triples within the same document. Similarly, if the @xml:id attribute [XML-ID] is used in an RDF/XML document, then the corresponding IRI should be taken to denote an XML element.

I am quite sure that the IRI denotes more than the above mentioned anchor element. Is the sentence in the new working draft only relevant for RDFa+XTHML ?

Q3: Does a fragment identifier in an application/rdf+xml or text/turtle information resource refer to (1) the actual content in the file or (2) the IRI in the RDF Graph or (3) the external "thing" or all three of them? Looking at . Is this now something in line 53 <rdf:Description rdf:about="#Collection"> or "A collection of concepts"

Q4: Reading the old recommendation, use of fragment id for text/plain (RFC 5147) in the RDF based NLP Interchange Format[1] was consistent. With the new text I am not sure.

Is there anything wrong with this in RDF 1.1:

Case 1:
curl -H "Accept: application/rdf+xml" ",39"

(note that the URI,39 denotes the Unicode character sequence in the nif:isString property.) .

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf=""

<rdf:Description rdf:about=";input=My+favourite+actress+is+Natalie+Portman#char=0,39">
<rdf:type rdf:resource=""/>
<rdf:type rdf:resource=""/>
<nif:isString>My favourite actress is Natalie Portman</nif:isString>


Case 2:
curl -H "Accept: text/plain" ",39"
returns 39 characters:
"My favourite actress is Natalie Portman"

Sorry, if this has been discussed before.
All the best,


[ ]
Related Actions Items:
No related actions
Related emails:
  1. Issue on fragment ID-s closed (Issue-141) (from on 2013-09-12)
  2. Re: Regarding 6. Fragment Identifiers in (tracker, this is on ISSUE-141) (from on 2013-09-12)
  3. Re: Regarding 6. Fragment Identifiers in (tracker, this is on ISSUE-141) (from on 2013-09-12)
  4. Re: Regarding 6. Fragment Identifiers in (tracker, this is on ISSUE-141) (from on 2013-09-11)
  5. RE: Regarding 6. Fragment Identifiers in (RDF-ISSUE-141) (from on 2013-08-24)
  6. RDF-ISSUE-141 (fragment-identifiers-hellmann): Fragment Identifiers (Sebastian Hellmann) [RDF Concepts] (from on 2013-08-24)

Related notes:

This was a question and not a change request:

Markus Lanthaler, 22 Oct 2013, 13:41:31

Display change log ATOM feed

Guus Schreiber <>, Chair, Ivan Herman <>, Sandro Hawke <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 141.html,v 1.1 2014-07-09 12:17:57 carine Exp $