HTTP Accept header when request an OWL ontology

What HTTP Accept header does Stardog issue when it tries to GET an OWL ontology from a URL?

We have been working on an RDF representation of FHIR, the new HL7 standard for healthcare data interchange. We have noticed that when Protege does an HTTP request for an OWL ontology, it uses an Accept header that asks for RDF/XML but not Turtle. (The exact Accept header is “application/rdf+xml, application/xml; q=0.5, text/xml; q=0.3, /; q=0.2”.) This causes a problem with FHIR, because FHIR has XML (not RDF/XML) and Turtle representations, so the FHIR server returns the XML instead of the desired Turtle. We are wondering if this will be a problem with other RDF tooling, such as Stardog. The proper fix, of course, is to update the Accept header that Protege issues, to include more OWL and RDF formats, including Turtle. We are also working with the Protege developers to get this fixed, but we are also pursuing an interim solution.

Again, my question is: What HTTP Accept header does Stardog issue when it tries to GET an OWL ontology from a URL?

You don’t mention how you are getting Stardog to issue the GET but Stardog doesn’t support importing owl:imports statements automatically.

https://www.stardog.com/docs/#_known_issues

If you add some more details about what you’re looking to do I can possibly offer some suggestions.

Ok, then it may be moot. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.