-
Notifications
You must be signed in to change notification settings - Fork 0
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
LoMap data specification #7
Comments
The current structure to save points in the SOLID PODs is described in the LoMap Spec Readme, in the part referring to the JSON specification. This structure is derived from the Issue #4. Please keep in mind that the structure is described using JSON but this may not be the final format or it may not be the only one. If anyone wants to add or remove information from the data specification, please discuss it in this Issue. |
Looking the previus information standars proposed in other issues or the README.md I don't get why we need a list of comments and a list of scores. As I have understand each user's marker must have just his/her comment and score. I don't think that we need to store more than one comment (from maybe more than one user) and more than one score (not directly related to the comment) as previus standars shows. |
Well, in case of my team, we thought on storing lists, because, for a start, we thought that several users could post a score and a comment over the same place. But, although the owner of that stored place were the only one able to post comments and scores, we think that it would be interesting to keep the collection so a person could make a history of the state of the place based on different comments in different days. In addition, supposing that the POD has a list, if your system only allows to post one comment it does not affect the rest of applications because it receives a list with only one thing, however, if we create the restriction of one comment it could be a problem in the future in case someone wants to expand that feature. |
Yeah, i can understand ur point. The only thing is that I would store together the comment and the score to have a 1-1 relation. Its true that the most flexible approach is a list and every team would be able to decide if more than one user can comment, the owner user can comment more than once, etc... |
Hello, regarding your comment, @UO284262, I think what you propose is an interesting idea. I would like to ask if the comment and score could be optional. This way a team could choose to have required scores and optional comments and another one could have optional scores and required comments. As I'm writing this I think this would be really flexible but really difficult to implement correctly. I would also like you to consider having required scores and optional comments. I know this is not the most flexible approach but it is what most online stores use (for example Amazon). The two options I consider to be more reasonable are:
I understand your point and I agree that having a flexible specification leaves room for each team to create a different implementation. But in this case I don't see a solution that is both flexible and easy to implement. Please, let me know what you think. |
Hi @gonzalo-rr, i think we can leave both required but, with the flexibility of an empy comment you can get what u want. Leaving a comment as an empty string will allow u to have optional comments and required scores. Also if we set a "no set score" default value (-1 for example) we can have required comment and optional score. |
Yes, I agree with keeping as an unit the score together with the comment. For us is not a problem |
So in the end, are both of you proposing to leave optional comments and scores giving them default values in case of not fullfilling some of them? |
Yes @Pelayo-Reguera. I think this is the most flexible and easy to implement way to store the places. If any other team that have something designed that can't match with the format we talked about is invited to post about his problems and we will reach a common agreement. |
I also agree with this change, yes. |
About what @UO284262 said:
I think its a good idea but I would force somehow the user to add a score about the place, even if he's creating a new one or just giving a score to other user's markers (I don't know if you and your team have implemented it this way), I explain myself. If we want to see the score a place, we would probably would like to see a general measurement of what some users have thought of it, we might not want to read a comment, and that's why I think leaving them empty is a great idea, but leaving a default number could affect negatively to the score of the place (if I have understood correctly), I'll put an example:
As @gonzalo-rr has proposed in #6, we could use aggregateRating, which I think would have this problem if we do not force the user to add at least a score (with comments being totally optional). All I'm following is the model of Google Maps, as it can be seen in the following image: In case I'm wrong and i have missunderstood what you proposed let me know, I'll be looking right now how we could implement the aggregateRating part on our apps. |
@Omitg24 |
I understand what you mean @UO284262 and I totally agree, I thought we all were supposed to do it that way, so it was my mistake, I'm okay with what you've just said then. Sorry for the inconvenience. |
Hello everyone. I would like to ask if everyone is ok with the information a map should store. Right now I think we are all in the same page about using a JSON-LD (or JSON as some groups are using) per map as commented here. Right now in the JSON specification the map has an id, a name and a list of locations. I was wondering some things. I think the map should have a property like author so we can identify the owner of the map. The author could be the url of the author's POD or a Person that has the url of the author's POD as a property. Maybe it would be easier if there was no default value for the id, then we can choose the map to show based on the user and the name of the map (if user A is in session we choose as the default map the first one that has the user A as author for example). This way we can share maps without having to worry about id collisions. I also think having a date in the map is a good idea and something really easy to implement. Let me know what you think, for now I'm going to add those properties to my application as I find them really useful. |
Hello everyone, I've created a separate issues for the categories of the app, just to have more concrete and separate issues, you can access through this link. |
This Issue is only to discuss what information to store (latitude, longitude, description, score, etc), not to discuss the format to use to save the data in the SOLID pods (such as using plain JSON, using JSON-LD, following the RDF format, etc).
Please stick to the subject, and use other issues to talk about other subjects, thank you.
The text was updated successfully, but these errors were encountered: