This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf6575?nav=1&selectedTab=attachments at Sun, 06 Nov 2022 14:38:30 GMT SourceForge : artf6575: NML relation in RDF

Project Home

Tracker

Documents

Tasks

Source Code

Discussions

File Releases

Wiki

Project Admin

NML-WG Homepage
Search Tracker
Project: NML-WG     Trackers > Schema Progress > View Artifact
Artifact artf6575 : NML relation in RDF
Tracker: Schema Progress
Title: NML relation in RDF
Description:
RDF regards an NML relations as any other property. In order to distinguish in RDF between 

    <nml:Relation type="http://schemas.ogf.org/nml/2013/10/base#hasInboundPort">
and
    <nml:hasInboundPort>

Propose: RDF needs to add the following triplet for all NML relations:
    nml:hasInboundPort rdfs:subPropertyOf nml:Relation .

Note: a NML version 1 compliant client does not need to add the these triplets for relations defined in version 1 of NML
, but it MUST include them for other relations if they are used in the description. Eg. if it is using a relation 
defined in the experimental extension schema.


Example 1: the following two syntaxes are equivalent.

RDF:

 @prefix nml: <http://schemas.ogf.org/nml/2013/10/base#>; .
 nml:hasInboundPort rdfs:subPropertyOf‎nml:Relation .
 urn:ogf:network:example.net:2012:mynode a nml:Node .
 urn:ogf:network:example.net:2012:mynode nml:hasInboundPort urn:ogf:network:example.net:2012:myport .
 urn:ogf:network:example.net:2012:myport a nml:Port .

XML:

 <nml:Node id="urn:ogf:network:example.net:2012:mynode">
   <nml:Relation type="http://schemas.ogf.org/nml/2013/10/base#hasInboundPort">
     <nml:Port idRef="urn:ogf:network:example.net:2012:myport" />
   </nml:Relation>
 </nml:Node>

Example 2: the following two syntaxes are equivalent (note the missing "nml:hasInboundPort rdfs:subPropertyOf‎nml:
Relation ." line)

RDF:

 @prefix nml: <http://schemas.ogf.org/nml/2013/10/base#>; .
 urn:ogf:network:example.net:2012:mynode a nml:Node .
 urn:ogf:network:example.net:2012:mynode nml:hasInboundPort urn:ogf:network:example.net:2012:myport .
 urn:ogf:network:example.net:2012:myport a nml:Port .

XML:

 <nml:Node id="urn:ogf:network:example.net:2012:mynode">
   <nml:hasInboundPort">
     <nml:Port idRef="urn:ogf:network:example.net:2012:myport" />
   </nml:hasInboundPort>
 </nml:Node>
Submitted By: Freek Dijkstra
Submitted On: 07/18/2012 10:53 AM EDT
Last Modified: 11/30/2012 8:00 AM EST
Closed: 11/30/2012 8:00 AM EST

Status / Comments Change Log Associations Attachments  
File Name File Size Added By Added On
No results found.

 
 
 
< Previous
 
 
Next >
 


The Open Grid Forum Contact Webmaster | Report a problem | GridForge Help
This is a static archive of the previous Open Grid Forum GridForge content management system saved from host forge.ogf.org file /sf/sfmain/do/go/artf6575?nav=1&selectedTab=attachments at Sun, 06 Nov 2022 14:38:30 GMT