W3C home > Mailing lists > Public > www-ws@w3.org > October 2003

Re: [owl-s] Re: My version of my proposal

From: Massimo Paolucci <paolucci@cs.cmu.edu>
Date: Thu, 09 Oct 2003 15:31:36 -0400
Message-ID: <3F85B798.3060204@cs.cmu.edu>
To: www-ws@w3.org

I wonder whether a simpler solution may be the following. The value of 
input/output parameters should not be a class anyway, but an instance of 
a give type. So we can say that the range of parameter value is owl:Thing.

<owl:Class rdf:ID="Parameter">

<owl:DatatypeProperty rdf:ID="parameterName">
<rdfs:domain rdf:resource="#Parameter"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>

<owl:ObjectProperty rdf:ID="parameterValue">
<rdfs:domain rdf:resource="#ParameterValueSpec"/>
<rdfs:range rdf:resource="&owl;#Thing"/>

<!-- definition of Input -->

<owl:Class rdf:ID="Input">
<rdfs:subClassOf rdf:resource="#Parameter"/>

<!-- here I would like to say that I have an input that takes only 
Airports as value -->
<!-- to do that I define a new class of inputs that take airports as 
value -->

<owl:Class rdf:ID="AirportInput">
<rdfs:subClassOf rdf:resource="#Input"/>
<owl:onProperty rdf:resource="parameterType"/>
<owl:allValuesFrom rdf:resource="#Airport"/>

<AirportInput rdf:ID="DepartureAirport_right">
<parameterValue rdf:resource="#Logan"/>

<AirportInput rdf:ID="DepartureAirport_wrong">
<parameterValue rdf:resource="#BostonArbor"/>

<!-- Where of course Logan and BostonArbor are defined as follows -->
<Airport rdf:ID="Logan"/>
<Arbor rdf:ID="BostonArbor"/>

<!-- while Airport and Arobor are defined as follows -->
<owl:Class rdf:ID="Airport">

<owl:Class rdf:ID="Arbor">
Received on Thursday, 9 October 2003 15:31:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:10 UTC