Closed carueda closed 7 years ago
Fixed. (The actual fix is in the orr-ont service , https://github.com/mmisw/orr-ont/commit/a8f2cf90da8073eb76849b94ea10674c47a9804e)
As indicated there, the key aspect for the fix is that, although the owlapi.xrdf
file does contain an Ontology, such resource is a blank node, so no URI in this case (internally reported as null); this was not properly handled by orr-ont.
Now the upload completes OK. It would be now up to the user to indicate the appropriate URI for the ontology in the UI and continue with the registration sequence.
@graybeal FYI in case of any further comments.
I just tried to register this ontology as downloaded from http://semanticportal.esipfed.org/ontologies/ICEOFLANDORIGIN
I tried two of the possible download formats: OWL and RDF/XML.
OWL
When using the file downloaded by using the OWL link (which gets the name
ice-of-land-origin.owl
), the upload operation at the COR completes OK. In particular, COR correctly detects the possible URI of the ontology, which ishttp://purl.org/wmo/seaice/iceOfLandOrigin#
(with explanation: "Resource of typehttp://www.w3.org/2002/07/owl#Ontology
"). I didn't complete the registration because this URI has already been registered.RDF/XML
When using the file downloaded by using the RDF/XML link (which gets the name
owlapi.xrdf
, the exception below occurs when uploading it to the COR.