Skip to content

Constraining a decision in pairs based on the value of one sides of the relationship #372

@hfaghihi15

Description

@hfaghihi15

Hi @auszok !

I was wondering how I can express the following constraint:

Location = Concept(...
Entity = Concept(...
Pair = Concept(..
Pair.has_a(Entity, Location)
The pair that has a location of value `text` equal to `none` should be correct! 
for instance if there are two locations  with property `text` being ('a', and  'none'). 
I want the one that is `none` to be true! This needs to be expressed as a constraint. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions