N-ary relationships in RDF/OWL
June 8, 2007 1 Comment
I am currently working on an OWL ontology for polymers and one of the questions that pops up from time to time is how do you code statements along the line of “polystyrene has a glass transition temperature, which was measured using DSC”. So what we have here is a ternary statement. “Polystyrene has a glass transition temperature” would be a binary statement. However, “glass transition temperature” also has the concept “DSC” associated with it. Graphically, this could be represented as follows:
One possible way of dealing with this is to define the relationship as an additional class rather than a property, so we, could, for instance, introduce a class called “PropertyRelation” which would denote the fact that polystyrene has a GlassTransitionTemperature, which was measured by DSC.
Graphically this could look like this:
When expressing this in the form of a class hierarchy, finally, we can draw the following diagramm:
(I tried to post some OWL code here, but wordpress messes up the code…..sorry).