Interoperable-data / ERA-Ontology-3.1.0

Extended version of the ERA Railway Infrastructure Ontology
4 stars 4 forks source link

change `canonicalURI` to DatatypeProperty #55

Open VladimirAlexiev opened 2 months ago

VladimirAlexiev commented 2 months ago

This one should be changed to a DatatypeProperty because it applies to instances not ontology terms:

era:canonicalURI rdf:type owl:AnnotationProperty ;
                 rdfs:range xsd:anyURI ;
                 rdfs:domain era:InfrastructureObject .
VladimirAlexiev commented 2 months ago
era:hashSource rdf:type owl:AnnotationProperty ;
               rdfs:comment "This property indicates for each infrastructure element, the source, i.e. the identifier  or key that was input to the hash function in order to generate the hash value that is part of the hash URI."@en ;
               rdfs:label "Hash source"@en ;
               rdfs:range xsd:string ;
               rdfs:domain era:InfrastructureObject .

Conversely: I doubt that this prop applies to instances? I think that for each class of infrastructure element, the hash sources are the same?

Interoperable-data commented 1 month ago

era:canonicalURI is meant to annotate objects (in this case mainly infrastructure objects) with the so call canonical. We might probably want to open the domain to rdfs:Resource. Would that solve this issue?

VladimirAlexiev commented 5 days ago

I don't know why I was confused the domain should be Class. Keep the domain as InfrastructureObject.

But what is the range? It says "identifier or key": if this field is RDFized (as it should be!) then

Can you give some example values?