TREEcg / specification

RDF vocabulary and hypermedia specification to publish your Linked Data using search trees
https://w3id.org/tree/specification
27 stars 12 forks source link

Adding the not operator as a Relation class #76

Closed constraintAutomaton closed 2 months ago

constraintAutomaton commented 1 year ago

In the TREE specification, we can define relations between the nodes (a fragment in the context of a fragmented database). In the current specification, the basic logical operators (=,>,>=,<,<=) are defined but the not equal operator (!=) is missing. It is true that this operator might not be the most useful in the context of fragmentation because in the main specifying the positive is more powerful (you know exactly what is inside the fragment instead of knowing that everything except one thing is inside) and simpler to understand than specifying the negative. But for all the other operators we have a "redundant" (in the perceptive of defining the less amount of operator possible) reverse operator, hence for the sake of completeness and because there might be some use cases where fragmenting based on a negation might be useful (in relation to the domain of the data published) I propose to introduce the not equal Relation subclass in the specification.

pietercolpaert commented 7 months ago

We have discussed this during the TREE Community Group meeting of 29th of November 2023:

pietercolpaert commented 2 months ago

@constraintAutomaton This has been added in the spec!