-
Notifications
You must be signed in to change notification settings - Fork 1
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
Clarify the semantics of CDComment #71
Comments
migrated from Trac, where originally posted by clange on 16-May-2014 12:51am Still a valid concern IMHO. |
migrated from Trac, where originally posted by lars_h on 17-May-2014 1:51pm A perfectly sensible use of CDComment as sibling of CDDefinition that I have seen in some places is as container for a section heading and (possibly) some introductory text following this. Cf. http://www.openmath.org/cd/polyd.xhtml The current rendering does not convey that intent, but it is pretty clear in the .ocd source, and resonates well with the whole Literate Programming paradigm. |
migrated from Trac, where originally posted by clange on 2-Jun-2014 11:13am Replying to [comment:2 lars_h]:
|
moved to OpenMath/OMSTD#37 |
migrated from Trac, where originally posted by clange on 8-Sep-2008 2:44pm
The semantics of CDComment is unclear, or at least not semantic-web-friendly. Let me cite from the 2.0 spec:
In many cases it does convey crucial information, namely licensing. But maybe we want a special element for that (cf. #18).
Special fields for the author have been proposed already (cf. #12, #38).
Still, there may be information that just doesn't fit into whatever extended metadata scheme -- information that the author still considers "comment"-like. If we follow #39, I'd propose reusing rdfs:comment and declaring
CDComment
as syntactic sugar.Fine. It does make sense to have multiple "comment" metadata fields in a CD, which are separate from each other. But not mixed with
CDDefinitions
! That looks to me like a relic from the plain text age, which I consider incompatible with well-defined XML markup and the semantic web. For attaching comments to symbols, we do haveCDComment
as a child ofCDDefinition
, and in the line of #40 we might want to allowCDComment
on more fine-grained levels as well. But what semantics doeshave? Is the comment a comment about the preceding symbol? Then it should be a child of that CDDefinition! Same for the following symbol. Otherwise, the relation between the comment and the thing that it comments wouldn't be clear to an automated data processor. If it is a comment about the CD, then it could as well be placed in the CD header, preceding any CDDefinitions.
The text was updated successfully, but these errors were encountered: