<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="./ns-schema.xsl" type="text/xsl" media="screen"?>
<rdf:RDF
   xmlns:dct="http://purl.org/dc/terms/"
   xmlns:dsp="http://purl.org/metainfo/terms/dsp#"
   xmlns:owl="http://www.w3.org/2002/07/owl#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#">
  <owl:Ontology rdf:about="http://purl.org/metainfo/terms/dsp">
    <dct:created>2011-02-05</dct:created>
    <dct:modified>2011-02-06</dct:modified>
    <rdfs:comment>メタデータの記述規則を表現するためのメタ言語。メタデータのレコード記述規則は、OWLのクラスで表現し、各レコードの項目記述規則をOWLのクラス制約として表現する。メタデータをレコード記述規則クラスのインスタンスとして記述することで、推論ツールの拡張による整合性検証を可能にする。このメタ言語では、制約記述を表現するためのプロパティのほか、OWLクラス、OWLクラス制約がレコード記述規則、項目記述規則であることを明示するためのメタクラスも定義する。</rdfs:comment>
    <rdfs:label>Description Set Profile Definition Language</rdfs:label>
    <owl:versionInfo>ver. 0.20</owl:versionInfo>
  </owl:Ontology>
  <owl:Class rdf:about="http://purl.org/metainfo/terms/dsp#DescriptionTemplate">
    <rdfs:comment>レコード記述規則を表すメタクラス。&#xD;
	レコード記述規則DはOWLのクラス:CDとして表現し、その記述規則Dにしたがって書かれたメタデータ:Mは記述規則クラス:CRのインスタンスとなる（すなわち、:CD a owl:Class.であり、:M a :CD.となる）。&#xD;
	クラス:CDがレコード記述規則であることを分かりやすくするため、OWLクラスの代わりにDescriptionTemplateのインスタンス（つまり:CD a dsp:DescriptionTemplate.）として表現してよい。</rdfs:comment>
    <rdfs:label>Description Template</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:maxCardinality>
        <owl:onProperty rdf:resource="http://purl.org/metainfo/terms/dsp#idStatement"/>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:minQualifiedCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:minQualifiedCardinality>
        <owl:onClass rdf:resource="http://purl.org/metainfo/terms/dsp#StatementTemplate"/>
        <owl:onProperty rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
      </owl:Restriction>
    </rdfs:subClassOf>
  </owl:Class>
  <owl:Class rdf:about="http://purl.org/metainfo/terms/dsp#IdStatementTemplate">
    <rdfs:comment>IDを記述する項目を表すメタクラス。制約は記述しない。</rdfs:comment>
    <rdfs:label>ID Statement Template</rdfs:label>
  </owl:Class>
  <owl:Class rdf:about="http://purl.org/metainfo/terms/dsp#StatementTemplate">
    <rdfs:comment>項目記述規則を表すメタクラス。&#xD;
	項目記述規則SはOWLのクラス制約:RSとして表現し、その記述規則Sを持つレコード記述規則Dのクラス:CDは、:RSのサブクラスとなる（すなわち、:RS a owl:Restriction.であり、:CD rdfs:subClassOf :RS.となる）。レコード記述規則D1が項目記述規則S1、S2、S3を持つならば、それぞれのクラス、クラス制約の関係は:CD1 rdfs:subClassOf :RS1, :RS2, :RS3.となる。レコード記述規則D1に従うメタデータは、項目記述規則の制約S1、S2、S3をすべて満たすもの（RS1, :RS2, :RS3の共通部分）だからである。&#xD;
	クラス制約:RSが項目記述規則であることを分かりやすくするため、OWLクラス制約の代わりにStatementTemplateのインスタンス（つまり:RS a dsp:StatementTemplate.）として表現してよい。</rdfs:comment>
    <rdfs:label>Statement Template</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Restriction"/>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</owl:cardinality>
        <owl:onProperty rdf:resource="http://www.w3.org/2002/07/owl#onProperty"/>
      </owl:Restriction>
    </rdfs:subClassOf>
  </owl:Class>
  <owl:DatatypeProperty rdf:about="http://purl.org/metainfo/terms/dsp#cardinalityNote">
    <rdfs:comment>項目記述規則の出現回数制約のうち、「推奨」「あれば必須」など数値表現できない制約を記述する。このプロパティがある場合、owl:minCardinalityは1と解釈される。</rdfs:comment>
    <rdfs:domain rdf:resource="http://purl.org/metainfo/terms/dsp#StatementTemplate"/>
    <rdfs:label>Cardinality Note</rdfs:label>
  </owl:DatatypeProperty>
  <owl:ObjectProperty rdf:about="http://purl.org/metainfo/terms/dsp#idStatement">
    <rdfs:comment>レコード記述規則のIDを記述する項目を表す。</rdfs:comment>
    <rdfs:domain rdf:resource="http://purl.org/metainfo/terms/dsp#DescriptionTemplate"/>
    <rdfs:label>ID Statement</rdfs:label>
    <rdfs:range rdf:resource="http://purl.org/metainfo/terms/dsp#IdStatementTemplate"/>
  </owl:ObjectProperty>
  <owl:ObjectProperty rdf:about="http://purl.org/metainfo/terms/dsp#inScheme">
    <rdfs:comment>クラスのメンバーが、目的語で示されるシソーラスなどの語彙の概念の集合で構成されることを表す。&#xD;
	たとえば、国立国会図書館件名標目表（NDLSH）に含まれるそれぞれの件名は、skos:Conceptのインスタンスと捉えられるが、これを「NDLSH件名全体の集合」という匿名クラスのインスタンスとして表現できると具合がよい場合がある。これは、[owl:onProperty skos:inScheme; owl:allValuesFrom ndlsh: ]という具合にOWLクラス制約に相当するが、これを[dsp:inScheme ndlsh: ]と簡易に表現する。&#xD;
	項目記述規則において、dc:subjectの値制約としてNDLSH語彙を指定する場合、[dsp:StatementTemplate; owl:onProperty dc:subject; owl:onClass [dsp:inScheme ndlsh:]] という表現ができる。複数語彙が許される場合、制約に用いるクラスを[owl:unionOf([dsp:inScheme ndlsh:] [dsp:inScheme bsh:])]のように和集合クラスとする。&#xD;
	DCMI-DSPのvocabularyEncodingSchemeに近い。</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
    <rdfs:label>In Scheme</rdfs:label>
    <rdfs:range rdf:resource="http://www.w3.org/2004/02/skos/core#ConceptScheme"/>
  </owl:ObjectProperty>
  <owl:ObjectProperty rdf:about="http://purl.org/metainfo/terms/dsp#resourceClass">
    <rdfs:comment>レコード記述規則によって記述したメタデータインスタンスは、このクラスのメンバーとなることを示す。DCMI-DSPのresourceClassと同等。</rdfs:comment>
    <rdfs:domain rdf:resource="http://purl.org/metainfo/terms/dsp#DescriptionTemplate"/>
    <rdfs:label>Resource Class</rdfs:label>
    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
  </owl:ObjectProperty>
</rdf:RDF>
