Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

iof-av:adaptedFrom should be URL not literal #12

Open
VladimirAlexiev opened this issue Aug 17, 2022 · 1 comment
Open

iof-av:adaptedFrom should be URL not literal #12

VladimirAlexiev opened this issue Aug 17, 2022 · 1 comment

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Aug 17, 2022

You define iof-av:adaptedFrom thusly:

iof-av:adaptedFrom  rdf:type  owl:AnnotationProperty ;
        rdfs:subPropertyOf  dcterms:source ;

dct:source is merely rdf:Property but there's a skos:note "This term is intended to be used with non-literal values": that's really the difference between dct:source and dc:source
So iof-av:adaptedFrom should also point to a resource.

But then you use it as a string:

iof-core:roleOf  rdf:type   owl:ObjectProperty ;
        iof-av:adaptedFrom  "http://purl.obolibrary.org/obo/RO_0000081" ;

Please change this to a URL <http://purl.obolibrary.org/obo/RO_0000081>.

Which will have the added benefit that many tools will show it as a clickable link.

@VladimirAlexiev
Copy link
Author

In other cases you use a literal with URI datatype:

iof-core:isOutputOf  rdf:type  owl:ObjectProperty ;
        iof-av:adaptedFrom  "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/ExtendedRelationOntology"^^xsd:anyURI ;

That's a bit better, but I've asked before what's the benefit of such literal compared to a real URL.

I found only one benefit so far: if the URL is invalid, a repository will reject the URL but will happily accept the xsd:anyURI.
Which is not the case here!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant