Closed dr-shorthair closed 4 years ago
use rdfs:label
for text for the time-being
No - rdfs:label a owl:AnnotationProperty
so you can't apply a cardinality constraint.
New property:
:name
rdf:type owl:DatatypeProperty ;
rdfs:label "name" ;
rdfs:range xsd:string ;
.
Exactly 1 on a PlaceName
fixed by #9
The property pn:hasPlaceName is specified as both an
owl:ObjectProperty
(with rangepn:PlaceName
) and anowl:DatatypeProperty
(with rangexsd:string
). This is invalid OWL as these classes are disjoint, and poor modeling practice - the literal value should have its own datatype property.