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

Resume schema in RDF

From: Uldis Bojars <uldis.bojars@gmx.net>
Date: Thu, 6 Jun 2002 04:05:38 +0200
Message-ID: <15335190280.20020606040538@gmx.net>
To: www-rdf-interest@w3.org


The Resume schema I am making has now most of properties defined.
Constructive criticism is welcome.

PS There are no properties for Person class because I could not get
Protege to import vCard properties so I can use them.

In the process of creating it some new questions emerged:

_1_ How do I define an ontology for the possible property values?

I.e. jobType:
<rdf:Property rdf:about="http://nightman.lv/~captsolo/cv.rdfs#jobType" a:allowedValues="Intern" a:maxCardinality="1" a:range="symbol" rdfs:comment="Type of the job: employee / contractor / intern" rdfs:label="jobType">
  <rdfs:domain rdf:resource="http://nightman.lv/~captsolo/cv.rdfs#WorkHistory" /> 
  <rdfs:range rdf:resource="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#Literal" /> 
  <a:allowedValues>Contractor</a:allowedValues> 
  <a:allowedValues>Employee</a:allowedValues> 
</rdf:Property>

Protege 2000 has defined allowed values by it's own means, but this
information will not mean anything outside Protege ontology.

Do I have to create a class "allowedJobTypes" with subclasses for
possible values and then define rdfs:range as pointing to
allowedJobTypes?

Or [developing what Patrick suggested for, i.e., sex] do I just define
something like:
voc://nightman.lv/job/type/employee
voc://nightman.lv/job/type/contractor
voc://nightman.lv/job/type/intern
and then point rdfs:range to voc://nightman.lv/job/type/ ?

_2_ Similar to previous - how to define boolean properties?
<rdf:Property rdf:about="http://nightman.lv/~captsolo/cv.rdfs#conditionWillRelocate" a:maxCardinality="1" a:range="boolean" rdfs:comment="Is candidate willing to relocate?" rdfs:label="conditionWillRelocate">
  <rdfs:domain rdf:resource="http://nightman.lv/~captsolo/cv.rdfs#Target" /> 
  <rdfs:range rdf:resource="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#Literal" /> 
</rdf:Property>

Or do I define ontology with 2 values for this property: willRel /
willNotRel? Or define TRUE / FALSE and use it?

_3_ Salary / currency of salary:
I currently have 2 properties for target salary:
<rdf:Property rdf:about="http://nightman.lv/~captsolo/cv.rdfs#targetSalary" a:maxCardinality="1" a:range="integer" rdfs:comment="Target salary" rdfs:label="targetSalary">
  <rdfs:domain rdf:resource="http://nightman.lv/~captsolo/cv.rdfs#Target" /> 
  <rdfs:range rdf:resource="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#Literal" /> 
</rdf:Property>
<rdf:Property rdf:about="http://nightman.lv/~captsolo/cv.rdfs#targetSalaryCurrency" a:maxCardinality="1" rdfs:label="targetSalaryCurrency">
  <rdfs:comment>Currency for target salary. @@ Locate ontology for currencies.</rdfs:comment> 
  <rdfs:domain rdf:resource="http://nightman.lv/~captsolo/cv.rdfs#Target" /> 
  <rdfs:range rdf:resource="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#Literal" /> 
</rdf:Property>

Is this way OK for describing salary and it's currency or is it better
to do like vCard does for TEL, E-MAIL types where it defines instances
of EMAILTYPES and then write:
  <rdf:Description ID="EMAIL">
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <rdfs:label>Email Address</rdfs:label>
    <rdfs:range rdf:resource="#EMAILTYPES"/>
  </rdf:Description>

_4_ Is there an ontology for currency names?
Are there existing ontologies for industries, education level,
languages, other types of resources in CV?

Thanks in advance.

[1] Resume RDF schema: http://nightman.lv/~captsolo/cv.rdfs

[2] Draft model of data structure for Resume schema:
    http://blackeye.vsaa.lv/~davidson/scheme.gif

-- 
Best regards,
 Uldis / CaptSolo                 mailto:uldis.bojars@gmx.net
Received on Wednesday, 5 June 2002 21:05:54 GMT

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