Final Testing Phase, bugs and Improvements

1 view
Skip to first unread message

Amanpreet Singh

unread,
Jul 15, 2014, 5:38:02 AM7/15/14
to annotation-tool-gsoc
Dear all,
I have setup the test site again here. I have tested it somewhat.
I have checked for most of the cases like:
1. If claim exists-> then try to push references only.
2. If not create claim -> then push references.
These are just example of cases I have checked upon, there is much more. You all are welcome to test the Annotator so we can further move on to package it as plugin. Discuss the issues, bugs etc.
Also I don't know why test page is taking so much time to load.

Example page which has been fed with this annotator is https://www.wikidata.org/wiki/Q2336535.
In this item, claim for P277 has been wholly added with references via Annotator.
While claim for P106 was already existing and I have added references to it via Annotator.

Thanks
--
Amanpreet Singh,

David Cuenca

unread,
Jul 15, 2014, 5:45:19 AM7/15/14
to Amanpreet Singh, annotation-tool-gsoc
Hi Amanpreet,

Could you also forward your email to the Wikidata mailing list? >> wikid...@lists.wikimedia.org
And write a post it on the forum >> https://www.wikidata.org/wiki/Wikidata:Project_chat

I think it is important that you get feedback from the community early on. They are the ones that are going to use it, so the earlier you get feedback from them, the easiest will be for you to find out if there is something missing.

Thanks,
Micru


--
You received this message because you are subscribed to the Google Groups "Annotation tool GSoC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to annotation-tool-...@googlegroups.com.
Visit this group at http://groups.google.com/group/annotation-tool-gsoc.
For more options, visit https://groups.google.com/d/optout.



--
Etiamsi omnes, ego non

Amanpreet Singh

unread,
Jul 15, 2014, 5:48:37 AM7/15/14
to David Cuenca, annotation-tool-gsoc
Yeah, sure just that I would need to add more content to test page for more annotations. :D

David Cuenca

unread,
Jul 15, 2014, 6:54:45 AM7/15/14
to Amanpreet Singh, annotation-tool-gsoc
That will keep them entertained :P

Amanpreet Singh

unread,
Jul 15, 2014, 10:57:37 AM7/15/14
to David Cuenca, annotation-tool-gsoc
I have posted mail both on Project Talk and Wikidata-l. Wikidata-l one has gone under review due to large size, I hope it gets passed.

Amanpreet Singh

unread,
Jul 16, 2014, 11:46:00 AM7/16/14
to David Cuenca, annotation-tool-gsoc
Community is not responding to mail or Project Chat, maybe they are not interested in the project or we need a better introduction.
For now I will go on with testing on my own. If somebody responds or files an issue, I will work on it. :)

Christian Morbidoni

unread,
Jul 16, 2014, 12:00:18 PM7/16/14
to Amanpreet Singh, David Cuenca, annotation-tool-gsoc
Dear Aman, all,

I'm trying to test the demo.
However I'm unsure... what kind of annotations should I create?
I mean: i select a row...then what property do I have to use? and also: if I click on the subject no suggestion is coming from wikidata... 
I'm confused, could you exemplify what annotations are you creating ?

Simone Fonda

unread,
Jul 16, 2014, 12:46:51 PM7/16/14
to Christian Morbidoni, Amanpreet Singh, David Cuenca, annotation-tool-gsoc
On Wed, Jul 16, 2014 at 6:00 PM, Christian Morbidoni
<christian...@gmail.com> wrote:

> Dear Aman, all,
>
> I'm trying to test the demo.
> However I'm unsure... what kind of annotations should I create?
> I mean: i select a row...then what property do I have to use? and also: if I
> click on the subject no suggestion is coming from wikidata...
> I'm confused, could you exemplify what annotations are you creating ?

What if we write a little howto / introduction on how to use this
wikidata / pundit integration?

In the pundit config you can configure your own HTML file and use it
as welcome message for the users.


What do you think?

Simone

Amanpreet Singh

unread,
Jul 16, 2014, 1:10:15 PM7/16/14
to Simone Fonda, Christian Morbidoni, David Cuenca, annotation-tool-gsoc
On Wed, Jul 16, 2014 at 10:16 PM, Simone Fonda <fo...@netseven.it> wrote:
On Wed, Jul 16, 2014 at 6:00 PM, Christian Morbidoni
<christian...@gmail.com> wrote:
  
> However I'm unsure... what kind of annotations should I create?
> I mean: i select a row...then what property do I have to use? and also: if I

Let me tell you how to use this exactly, by giving the example how I created the Pundit's annotations
I first selected the line "Pundit is coded in Javascript" . based on this I clicked Annotate text fragment, now triple composer will start with subject as "Pundit is coded in Javascript", now we obviously don't want this as item so we click on subject to remove it and based on this text fragment create a triple. this can be done by typing Pundit in subject box, this will return results from Wikidata, select one Predicate is the descriptor i.e. the programming language, type this in predicate box to get suggestions and select "programming language", finally is the object that is "Javascript", this can be done in the same way as done with subject, now click save. This triple is based on the text fragment we highlighted earlier. This is how Wikidata stored annotations .

Now for the test page now select the Composer as item(subject), date of birth/death as predicate(property) and the its value as object based on the info given on the page. :) This is how annotations will be created.
I hope this will clear, if not I can explain again with screenshots.

What if we write a little howto / introduction on how to use this
wikidata / pundit integration?

In the pundit config you can configure your own HTML file and use it
as welcome message for the users.
 
What do you think?
 
Yes I remembered that introduction page today :P, I think it would be great to have it back in the current situation.

I would this on Saturday, as I am moving back to college, and this can take two days, sorry for any inconvenience. 

David Cuenca

unread,
Jul 16, 2014, 1:56:37 PM7/16/14
to Amanpreet Singh, Simone Fonda, Christian Morbidoni, annotation-tool-gsoc
One suggestion, why don't you record a video-tutorial? Maybe that makes it easier to understand :)

Christian Morbidoni

unread,
Jul 29, 2014, 4:47:15 AM7/29/14
to David Cuenca, Amanpreet Singh, Simone Fonda, annotation-tool-gsoc
Dear Aman, all,

I came back to the demo and things are working.
However I think the interaction and functioning can be improved a lot.
The main problems are:
- The workflow to produce an annotation is too complicated. It would be better to have (as I suggested before) a new action in the contextual menu (when someone selects a text), that would create a pre-made triple with the text as subject and a fixed predicate and object (e.g. is-a - proof). Or alternatively find a solution to make it clear what is the sentence annotated, otherwise this information, even if present in the actual annotations triples, is not visible and one could easily get confused.
- Second problem is: at the moment I can choose 1) to save annotation in Pundit or 2) to save to wikidata. Once I saved in Pundit there is no way of pushing the annotation to wikidata. I remember the origianl idea was having users annotate inside Pundit and then choose what annotation to push in wikidata. Thus what I would like to see is a button push-to-wikidata close to each annotation from the user that appears on the side bar, or a push-the-entire-notebook-to-wikidata.

Last thing: I created an account on wikidata, but when I click push to wikidata it first askme to login and then redirects me to a page that says:
"Web Annotator Login
This is a tool that is used by other tools; it does not have an interface of its own. It can perform batch edits on WikiData under your user name using OAuth.
You have not authorized WAL to perform edits on Wikidata on your behalf. Authorize WiDaR now."

But then when I click Authorize WiDaR a blank page is opened and nothing apparently happens.

BTW: the push to wikidata should be active only if I have something to push (a triple is present in the triplecomposer)

Aman: what you think? is it possible to improve the tool?

best,

Christian 

Amanpreet Singh

unread,
Jul 31, 2014, 2:51:50 AM7/31/14
to Christian Morbidoni, David Cuenca, Simone Fonda, annotation-tool-gsoc
Dear Christian, all,

Thanks for suggestions, new things are always welcome, infact you mailed at right time, I was just about to package the product with bookmarkelet_build.sh, I have question regarding that too, but that can be discussed later. I was busy this whole 10 days, writing Unit tests, and I have completed that part.

Now lets come to your question:



On Tue, Jul 29, 2014 at 2:17 PM, Christian Morbidoni <christian...@gmail.com> wrote:
- The workflow to produce an annotation is too complicated. It would be better to have (as I suggested before) a new action in the contextual menu (when someone selects a text), that would create a pre-made triple with the text as subject and a fixed predicate and object (e.g. is-a - proof). Or alternatively find a solution to make it clear what is the sentence annotated, otherwise this information, even if present in the actual annotations triples, is not visible and one could easily get confused.

I will look into what I can do on this part, I am going to make a video lecture as soon as I package the plugin, a introduction page too, maybe that would make things easier, anyways I will surely take time to see if this can be implemented.
 
- Second problem is: at the moment I can choose 1) to save annotation in Pundit or 2) to save to wikidata. Once I saved in Pundit there is no way of pushing the annotation to wikidata. I remember the origianl idea was having users annotate inside Pundit and then choose what annotation to push in wikidata. Thus what I would like to see is a button push-to-wikidata close to each annotation from the user that appears on the side bar, or a push-the-entire-notebook-to-wikidata.

This problem can be easily solved not a big issue, but I would like to put Side Bar into later stage, this would require a lot of design and code changes. So if its possible later on, I will surely make sure of it. 

Last thing: I created an account on wikidata, but when I click push to wikidata it first askme to login and then redirects me to a page that says:
"Web Annotator Login
This is a tool that is used by other tools; it does not have an interface of its own. It can perform batch edits on WikiData under your user name using OAuth.
You have not authorized WAL to perform edits on Wikidata on your behalf. Authorize WiDaR now."

You have to click on Authorize WiDaR now to give it access to your account and create batch edits through it, you just need to close this page afterwards and go back to original page. 
 
But then when I click Authorize WiDaR a blank page is opened and nothing apparently happens.

I will check what is happening. 
 
BTW: the push to wikidata should be active only if I have something to push (a triple is present in the triplecomposer)
 
I will put this check surely. Thanks for finding it. 
Reply all
Reply to author
Forward
0 new messages