W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2002

Re[2]: Modelling Resumes in RDF(S) - work in progress

From: Uldis Bojars <uldis.bojars@gmx.net>
Date: Thu, 6 Jun 2002 11:52:18 +0200
Message-ID: <16563190543.20020606115218@gmx.net>
To: Patrick Stickler <patrick.stickler@nokia.com>, RDF Interest <www-rdf-interest@w3.org>

Hi, Patrick!

Sorry to trouble you again, but I have more questions than answers.
(and these questions must look too simple to most people here).

PS>    <cv:Sex rdf:about="voc:blackeye.vsaa.lv/cv/sex/male">
PS>       <rdfs:label xml:lang="en">Male</rdfs:label>
PS>       <rdfs:label xml:lang="fi">Mies</rdfs:label>
PS>       ...
PS>    </cv:Sex>

Do these statements create instance voc:blackeye.vsaa.lv/cv/sex/male
that I can refer to? If I do the same for /cv/sex/female, will it be
correct to define person's sex property as:

<rdf:Property rdf:about="&cv_rdfs;sex"
         rdfs:label="sex">
        <rdfs:comment> Man / Woman. </rdfs:comment>
        <rdfs:domain rdf:resource="&cv_rdfs;Person"/>
        <rdfs:range rdf:resource="voc:blackeye.vsaa.lv/cv/sex/"/>
</rdf:Property>

Since I was unsure about the approach above, I followed another way:

1. Defined SexProperty and it's instances (copied from SUO.daml):
<rdf:Description ID="SexProperty">
<rdfs:label>SexProperty</rdfs:label>
<rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Description>

<rdf:Description ID="Female">
<rdfs:label>Female</rdfs:label>
<rdf:type rdf:resource="#SexProperty"/>
</rdf:Description>

<rdf:Description ID="Male">
<rdfs:label>Male</rdfs:label>
<rdf:type rdf:resource="#SexProperty"/>
</rdf:Description>

2. Defined range for sex property then:

  <rdfs:range rdf:resource="http://nightman.lv/~captsolo/base.rdfs"/>

Is this way to define this property valid and OK?
I still do not understand where physically you define taxonomy for the
former case, to use property value voc:blackeye.vsaa.lv/cv/sex/male
for example.

Another unclear question is defining boolean values.
Are there some standard "TRUE" and "FALSE" or "YES" and "NO" URIs to
use?

-- 
Best regards,
 Uldis                            mailto:uldis.bojars@gmx.net
Received on Thursday, 6 June 2002 04:52:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:54 GMT