-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to get comments from DOCX? #443
Comments
@luigi-asprino , any updates on that? |
7912bb9 implements the extension to extract comment documents. See this docx and its RDF counterpart |
@luigi-asprino excellent, I'll give it a try very soon. At a first glance it's not obvious how a comment is linked to what it is a comment on, and the thread: commentY isResponseTo comment commentX |
Now I see that it's for 1.0. I've been trying with the latest release 0.9.0. When will it be released? |
You can try it out with the pre-release v1.0-DEV.4 that has just been created. https://github.com/SPARQL-Anything/sparql.anything/releases/tag/v1.0-DEV.4 |
Thanks. Just tested it. Works great. Excellent work. |
I am reopening it to try to make the comments thread clearer. |
At the moment, comments in the same thread are attached as subsequent slots of the container for the paragraph. Suppose you have a paragraph "Paragraph1" with two comments ("This is a comment" and "This is a reply"). This results into two slots 2 and 3 referencing the comments
A possible solution would be adding the thread comment number as a slot of the comment.
|
I was imagining something more in the style of sioc:has_reply + sioc:Thread but I guess what you suggest would work equally well. |
The relationship between comments and their replies is implicit in the order of the comments. Therefore, sioc:has_reply + sioc:Thread can be materialised with a SPARQL construct if necessary. This is in line with the SPARQL Anything philosophy of using the minimum number of operations to transform data into RDF and leaving the transformation to the user. |
@luigi-asprino Currently, there is a document part (paragraph, heading) on which the comment is made that is nicely linked with the comment. Is there a way to extract also the highlighted part of the text of that item on which the comment is made? |
Discussed in #430
Originally posted by kvistgaard November 18, 2023
From what I tried so far, it seems they are not accessible.
Yet, since they are what I mostly need to get from MS Word documents, I'm hoping that there is a way (I saw such an option for spreadsheets) or that it can be implemented.
The text was updated successfully, but these errors were encountered: