w3c / hcls-fhir-rdf

Sketching out an RDF representation for FHIR
38 stars 15 forks source link

FHIR RDF ontology URLs do not resolve #48

Open dbooth-boston opened 7 years ago

dbooth-boston commented 7 years ago

https://www.w3.org/2017/03/28-hcls-minutes.html#item02

For example, at the bottom of http://hl7.org/fhir/diagnosticreport-example-f001-bloodexam.ttl.html

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/DiagnosticReport/f001.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/DiagnosticReport/f001.ttl> .

both http://hl7.org/fhir/DiagnosticReport/f001.ttl and the versioned URI http://hl7.org/fhir/STU3/DiagnosticReport/f001.ttl return 404 when dereferenced.

ACTION: Harold to initiate discussion with Grahame about adding conneg and a variable for ont version.

hsolbrig commented 7 years ago

Resolved on Grahame's test server and http://hl7.org.
Example: wget --header "Accept:text/turtle" http://hl7.org/fhir/Patient/f001 returns the .ttl record

Note, however, that: wget --header "Accept:text/turtle" http://hl7.org/fhir/Patient

Still does not work.

dbooth-boston commented 6 years ago

More discussion; https://www.w3.org/2017/10/24-hcls-minutes.html#item05

dbooth-boston commented 6 years ago

Media type and file extension for OWL functional notation (Manchester syntax): https://www.w3.org/TR/owl2-manchester-syntax/#Appendix:_Internet_Media_Type.2C_File_Extension_and_Macintosh_File_Type

dbooth-boston commented 6 years ago

This issue should also cover version URIs in the ontology header: https://www.w3.org/2017/10/24-hcls-minutes.html#item07

dbooth-boston commented 1 year ago

@balhoff Do you know if the ontology URLs resolve now?

balhoff commented 1 year ago

@dbooth-boston yes, the ontology downloaded from https://www.hl7.org/fhir/downloads.html has ontology IRI http://hl7.org/fhir/fhir.ttl, and that ontology can be loaded from that URL. It imports an ontology http://hl7.org/fhir/w5.ttl, and that one correctly resolves as well.

balhoff commented 1 year ago

The ontology version IRI http://hl7.org/fhir/R5/fhir.ttl also seems to resolve correctly. The w5 ontology has a broken version IRI. It is stored as a string rather than an IRI:

fhir:w5.ttl owl:versionIRI "http://hl7.org/fhir/R5/w5.ttl" .

That should be changed to an IRI (but it does resolve).