-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fragment Specification for RDFa #295
Comments
Unfortunately, this is not clear. Formally, a fragment is defined for a media type; but HTML+RDFa is not a separate media type. Ie, there is no choice in defining the fragment, it is simply for HTML. In practice, applications may have a different interpretations, but this document should not go there. The list of fragment types in the document is not a closed list, actually, applications may consider other ones. B.t.w., the documents are now officially in feature freeze. I propose closing this issue. Can you do it please? |
Agree with Ivan -- the examples in the table shouldn't be considered as the only ones, but some common examples. If that's not clear from the current text, we could work on the editorial side? |
The text is fine as is. Okay to close the issue based on the idea that the current spec doesn't prevent any of this. [ I acknowledge @iherman 's response but with some concern because of how it might play out in the wild. I suspect that HTML namedSection will be the common case for fragments, but this is rather inaccurate since the IRIs in RDFa are within the scope of RFC3987, and that there is no requirement for the IRI with a fragment to have a corresponding HTML |
first of all, thanks for having closed the issue; I think that for this group, now, this is the only choice we have. That being said, let me comment on the original technical issue is a real issue (just not for this group to solve). For those who do not know the details of RDFa, the problem is, I believe, that there are different ways of defining, in RDFa, URI-s with fragments that only appear in the generated RDF. Eg, taking an example from the RDFa Primer, the In fact, the issue is more complex. Indeed, there is no proper definition for a fragment identifier for RDF. RFC3870 is defined for RDF/XML and not for the abstract RDF graph. In particular, formally, it is not usable as a fragment identifier for, e.g., a Turtle serialization of the graph, let alone the abstract RDF graph it serializes (and RDFa is defined in terms of the abstract graph!). Ie, even if the RFC3870 were used in a fragment selector for an HTML5+RDF, it is not really precise (although implementations may probably gloss over these niceties). (The problem is, probably, with the very notion of a fragment identifier. Formally, it is defined for a specific media type, and that does not fit the abstract RDF graph view...) All that being said, I see some possibilities for an implementation to approach this in practice, although none of these are ideal:
The third option is probably the cleanest approach. If the RDF or RDFa community provides such a proper selector specification, I can imagine adding this to a future version of the specification, although it may not be necessary to do so: it should be perfectly o.k. to specify a new selector as an extension without adding it to the core spec. (I am happy reopening the issue as a 'postponed' issue added to the V2 milestone if others think that this makes sense.) |
At the moment, I think the
dcterms:conformsTo
for anoa:FragmentSelector
for (X)HTML+RDFa could go either way; HTML or RDF/XML, i.e., namedSection or a namedResource. In cases where the fragment has a IRI with an RDF description behind it (i.e., the triple through the RDFa markup), my understanding is to use the RDF/XML's fragment specification. If the fragment is an HTML @id
with no IRI used in RDFa (with base + fragment), then the HTML fragment specification makes sense.I think there is an alternative to above which is specific for RDFa IRIs, given that RDFa Core 1.1 CURIE and IRI Processing refers to RFC3987.
RFC3987 is also listed under http://w3c.github.io/web-annotation/model/wd2/#terminology
Am I looking at this right? Should RFC3987 be added as a fragment specification for (X)HTML+RDFa?
The text was updated successfully, but these errors were encountered: