[gme-users] GME and RDF/OWL
Schmitz, Jeffrey A
Jeffrey.A.Schmitz at boeing.com
Fri Apr 28 10:29:26 CDT 2006
Hello,
I have a "big picture" question here I think. Has any thought been
given, or any work been done, on adding the capability to develop
"ontologies" with the GME tool per the OWL/RDFS standards? I'm pretty
new to these fields so I may be off the mark in some respect, but it
seems like it would be a good tool to bring together the related fields
of MIC and the Semantic Web.
For example, I created a simple Network Design Language (NDL, an actual
"semantic web" standard) metaModel in GME. One of the constructs is a
"hasInterface" property. The GME tool outputs the following xml related
to this property (or predicate):
<atom id="id-0066-00000001" kind="Model" role="Model">
<name>Device</name>
...
</atom>
<atom id="id-0066-00000002" kind="Atom" role="Atom">
<name>Interface</name>
...
</atom>
<connection id="id-0068-00000001" kind="Containment" role="Containment">
<name>Containment</name>
<attribute kind="Cardinality">
<value>1..*</value>
</attribute>
<attribute kind="IsPort">
<value>true</value>
</attribute>
<attribute kind="Rolename" status="meta">
<value></value>
</attribute>
<connpoint role="dst" target="id-0066-00000001"/>
<connpoint role="src" target="id-0066-00000002"/>
</connection>
After making a few noted translations we are well on our way towards
reaching goal format below:
<!-- CONNECTIONS -->
<!--
1. Changing the "Containment" connection to rdf:Property id=has$src.
2. Use the connpoint src and dest to determine domain and range.
3. Change connpoint src and dest ref IDs to "ndl&name".
4. Changing <connection id=...> tags to <ndl:predicate...> tags
corresponding to the connection's "kind" or "role" attributes.
-->
<rdf:Property id="&ndl;hasInterface" kind="Containment"
role="Containment">
<name>Containment</name>
<attribute kind="Cardinality">
<value>1..*</value>
</attribute>
<!-- WAS: <connpoint role="dst" target="id-0066-00000001"/> -->
<rdfs:domain rdf:resource="&ndl;Device"/>
<!-- WAS: <connpoint role="src" target="id-0066-00000002"/> -->
<rdfs:range rdf:resource="&ndl;Interface"/>
</connection>
Final (Goal) is the current RDFS representation of the
"&ndl:hasInterface" property:
<rdf:Property rdf:about="&ndl;hasInterface">
<rdfs:label xml:lang="en-US">has interface</rdfs:label>
<rdfs:comment>The binding of an interface to a
device</rdfs:comment>
<rdfs:domain rdf:resource="&ndl;Device"/>
<rdfs:range rdf:resource="&ndl;Interface" />
</rdf:Property>
Thanks,
Jeff
More information about the gme-users
mailing list