How to display prop cardinality? #43
Unanswered
VladimirAlexiev
asked this question in
Q&A
Replies: 1 comment
-
For now it's just an idea.
The standard ways to describe cardinality involve:
:x a :Class, :prop :y.
:Class a owl:Class;
rdfs:subClassOf [a owl:Restriction; owl:onProperty :prop; owl:minCardinality m; owl:maxCardinality n]
# or owl:minQualifiedCardinality m; owl:maxQualifiedCardinality
:x a :Class, :prop :y.
:Class a owl:Class.
:Shape a sh:NodeShape, sh:targetClass :Class.
# or :Class a owl:Class; sh:NodeShape.
:Shape sh:property [sh:path :prop; sh:minCount m; sh:maxCount n]. But I use the presence of statements about classes as a signal to display the class as a node... which users may not want... If this feature is important for you, please use "Create issue from discussion" and then add some details as to how you see it expressed in turtle. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Einar Clementz asked
Beta Was this translation helpful? Give feedback.
All reactions