ISSUE-141: Fragment Identifiers (Sebastian Hellmann)

fragment-identifiers-hellmann

Fragment Identifiers (Sebastian Hellmann)

State:
CLOSED
Product:
RDF Concepts
Raised by:
Markus Lanthaler
Opened on:
2013-08-24
Description:
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: http://www.w3.org/TR/rdf-concepts/#section-fragID
New draft: http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-fragID

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:
http://www.w3.org/2004/02/skos/core#Collection

It 303 redirects to HTML anchor within a table row at http://www.w3.org/2009/08/skos-reference/skos.html#Collection:
<tr>
<th colspan="2"><a id="Collection" href="#Collection">skos:Collection</a> </th>
</tr>

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.

Q2:
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 http://www.w3.org/2004/02/skos/core#Collection 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 http://www.w3.org/TR/skos-reference/skos.rdf#Collection . 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" "http://nlp2rdf.lod2.eu/nif-ws.php?informat=text&input=My+favourite+actress+is+Natalie+Portman#char=0,39"

(note that the URI http://nlp2rdf.lod2.eu/nif-ws.php?informat=text&input=My+favourite+actress+is+Natalie+Portman#char=0,39 denotes the Unicode character sequence in the nif:isString property.) .

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:nif="http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#">

<rdf:Description rdf:about="http://nlp2rdf.lod2.eu/nif-ws.php?informat=text&amp;input=My+favourite+actress+is+Natalie+Portman#char=0,39">
<rdf:type rdf:resource="http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#RFC5147String"/>
<rdf:type rdf:resource="http://persistence.uni-leipzig.org/nlp2rdf/ontologies/nif-core#Context"/>
<nif:beginIndex>0</nif:beginIndex>
<nif:endIndex>39</nif:endIndex>
<nif:isString>My favourite actress is Natalie Portman</nif:isString>
</rdf:Description>

</rdf:RDF>

Case 2:
curl -H "Accept: text/plain" "http://nlp2rdf.lod2.eu/nif-ws.php?informat=text&input=My+favourite+actress+is+Natalie+Portman#char=0,39"
returns 39 characters:
"My favourite actress is Natalie Portman"


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

[1] http://svn.aksw.org/papers/2013/ISWC_NIF/public.pdf

----------------------------------
[ http://lists.w3.org/Archives/Public/public-rdf-comments/2013Aug/0051.html ]
Related Actions Items:
No related actions
Related emails:
  1. Issue on fragment ID-s closed (Issue-141) (from ivan@w3.org on 2013-09-12)
  2. Re: Regarding 6. Fragment Identifiers in http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-fragID (tracker, this is on ISSUE-141) (from ivan@w3.org on 2013-09-12)
  3. Re: Regarding 6. Fragment Identifiers in http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-fragID (tracker, this is on ISSUE-141) (from hellmann@informatik.uni-leipzig.de on 2013-09-12)
  4. Re: Regarding 6. Fragment Identifiers in http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-fragID (tracker, this is on ISSUE-141) (from ivan@w3.org on 2013-09-11)
  5. RE: Regarding 6. Fragment Identifiers in http://www.w3.org/TR/2013/WD-rdf11-concepts-20130723/#section-fragID (RDF-ISSUE-141) (from markus.lanthaler@gmx.net on 2013-08-24)
  6. RDF-ISSUE-141 (fragment-identifiers-hellmann): Fragment Identifiers (Sebastian Hellmann) [RDF Concepts] (from sysbot+tracker@w3.org on 2013-08-24)

Related notes:

This was a question and not a change request: http://lists.w3.org/Archives/Public/public-rdf-comments/2013Sep/0023.html

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

Display change log ATOM feed


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