From: Jim B. <ba...@gm...> - 2022-03-03 14:33:46
|
Hello, I’ve recently been participating in the FHIR RDF working group, which is revising the RDF representation for data in the FHIR data model (https://www.fhir.org). One of the desires of the group, from an RDF perspective, is to represent ordered data using standard RDF lists (i.e., using rdf:first and rdf:rest, etc.). But they also would like FHIR datasets to be usable as OWL. I know that according to the OWL spec, using lists in this way is forbidden. But I did some experiments on the results of declaring rdf:first and rdf:rest as object properties, and adding a few helper axioms to support accessing items in lists. If such an ontology is written in OWL functional syntax, OWL API seems to work as expected, including various reasoners. It even writes the ontology to RDF “correctly”. But parsing such an ontology from RDF doesn’t work. All the abox axioms using lists disappear. I made a summary document: https://docs.google.com/document/d/1kNkP0EHfUiEj9GwO4NtzHXQD4kVTViphV0ngGfHBnBI/edit# Is there any way that the RDF-to-OWL parser could allow these axioms to be parsed? If it could be done, would OWL API accept a pull request making this possible? I’ve thought of a few other alternatives, such as providing a SPARQL Update which could be run prior to using a dataset as OWL. But this creates a hurdle to working with OWL which we’d like to avoid. Best regards, Jim ____________________________________________ James P. Balhoff, Ph.D. Renaissance Computing Institute (RENCI) University of North Carolina at Chapel Hill |