You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.
Daniele Guido edited this page Feb 19, 2016
·
1 revision
(wip)
entity properties
Here below a list of properties for each node labeled (ent:entity) involved in the voting mechanism
ent.upvote = [] // list of usernames
ent.downvote = [] // list of usernames
ent.issues = [] // list of valid issue type
Rules
User can up-vote an (ent:entity) only when he/she up-votes a specific (ent:entity)-[:appears_in]->(res:resource) relationship. In this case the (entity) will be up-voted, since we implicitly recognise that "this entity is valid enough".
User can down-vote a specific relationship ()-[:appears_in]->() (e.g, "this person is not mentioned in this document").
User can add issue on (ent:entity) when the type is not correct (e;g. "this is not a person")
User can propose a substitute (alias:entity) for a specific (ent:entity) in a specific context (res:resource): the relationship (ent:entity)-[:appears_in]->(res:resource) will be down-voted, while the (alias:entity)-[:appears_in]->(resource) will be created when needed and up-voted; moreover, the (alias:entity) itself will be up-voted, rule 1 applies.
User can add a new entity only if it is attached to a resource: (ent:entity) will be up-voted by default and the (ent:entity)-[:appears_in]->(res:resource) relationship.