Skip to content

cardinality of min 0, max 1 is represented in WebVOWL as *..1 instead of 0..1 as documented #177

@eric-jahn

Description

@eric-jahn

I have the following stanzas:

###  http://www.hudhdx.info/Resources/Vendors/FY2022/owl#Client
hmisowl:Client rdf:type owl:Class ;
               rdfs:subClassOf [ rdf:type owl:Restriction ;
                                 owl:onProperty hmisowl:hasClientVeteranInfo ;
                                 owl:minCardinality "0"^^xsd:nonNegativeInteger
                               ] ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty hmisowl:hasClientVeteranInfo ;
                                 owl:maxCardinality "1"^^xsd:nonNegativeInteger
                               ] .
###  http://www.hudhdx.info/Resources/Vendors/FY2022/owl#hasClientVeteranInfo
hmisowl:hasClientVeteranInfo rdf:type owl:ObjectProperty ;
                             rdfs:domain hmisowl:Client ;
                             rdfs:range hmisowl:ClientVeteranInfo .

but it renders *..1:

cvi

If I change the values to, say "5..15", or "3..12", then it it fine, but the "0" in "0..1" itself is being replaced by "*".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions