Please Help if you Can: Convert XBRL into RDF/OWL 2 DL
Wednesday, February 25, 2015 at 11:32AM
Charlie in Becoming an XBRL Master Craftsman, Demonstrations of Using XBRL

I have spent literally hours trying to convert an XBRL-based digital financial report into RDF/OWL 2 DL with limited success.  If you know how to do this, any help would be greatly appreciated.

This will walk you through the XBRL-based report, to the XML Infoset of the semantics of the information, to what I have been able to create thus far:

The goal is to convert an entire XBRL-based digital financial report into an RDF + OWL 2 DL + SAFE SWRL-based digital financial report.  The reason is to see the pros and cons of each format.

What I am seeing thus far is that RDF is brutal to work with.  There are a zillion different formats.  There is no nesting within the RDF which (a) makes the information incredibly flexible (which is a good thing) but it makes the RDF harder to read in software if you are not very good at writing software (like me).

Something that I have learned already in this process is that many software developers don't really get RDF.  This document, Why RDF is More than XML, walks you through some issues.  Basically, XML tools don't work very well with RDF because RDF is looks flat.  What is really going on is that RDF is flexible and makes querying easier.  While I would agree that there are situations when you work with XML and you need the hierarchy if you are a human working with the XML.  But, computers can work with RDF just fine.  There might be somewhat of a compromise, a simplified syntax for RDF or more of a shorthand.

The bottom line on all of this is that syntax does not matter.  One should be able to convert from XBRL to RDF + OWL 2 DL.  What I am trying to figure out is what you get from off-the-shelf OWL validators or reasoners.

My intuition tells me that neither off-the-shelf XBRL tools nor off-the-shelf OWL tools will serve the needs of business professionals appropriately, particularly accounting professionals.  Hybrid combination tools and digital financial reporting specific tools are what is necessary.

Article originally appeared on XBRL-based structured digital financial reporting (http://xbrl.squarespace.com/).
See website for complete article licensing information.