A4 A4.1 OWL-DSP @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix dct: <http://purl.org/dc/terms/>. @prefix skos: <http://www.w3.org/2004/02/skos/core#>. @prefix xsd: <http://www.w3.org/2001/xmlschema#>. @prefix dsp: <http://purl.org/metainfo/terms/dsp#>. @base <http://purl.org/metainfo/terms/dsp>. <> a owl:ontology ; rdfs:label "Description Set Profile Definition Language" ; rdfs:comment """ OWL OWL OWL OWL """ ; dct:created "2010-12-20" ; dct:modified "2011-02-13" ; owl:versioninfo "ver. 0.30". ## dsp:descriptiontemplate a owl:class ; rdfs:subclassof owl:class ; rdfs:label "Description Template" ; rdfs:comment """ D OWL ex:cd D ex:mdex: CD ex:cd a owl:class. ex:md a ex:cd. ex:cd OWL DescriptionTemplate ex:cd a dsp: DescriptionTemplate. """ ; rdfs:subclassof # [ a owl:restriction ; 176
owl:onproperty rdfs:subclassof; owl:onclass dsp:statementtemplate; owl:minqualifiedcardinality 0 ]. dsp:statementtemplate a owl:class ; rdfs:subclassof owl:restriction ; rdfs:label "Statement Template" ; rdfs:comment """ S OWL ex:rs S D ex:cdex:rs ex:rs a owl:restriction. ex:cd rdfs: subclassof ex:rs. D1 S1 S2 S3 ex:cd1 rdfs: subclassof ex:rs1, ex:rs2, ex:rs3. D1 S1 S2 S3 ex:rs1, ex:rs2, ex:rs3 ex:rs OWL StatementTemplate ex:rs a dsp: StatementTemplate. """ ; rdfs:subclassof # 1 [ a owl:restriction ; owl:onproperty owl:onproperty; owl:cardinality 1 ]. ## dsp:valueurioccurrence a owl:datatypeproperty ; rdfs:label "Value URI Occurrence" ; rdfs:comment """ mandatory URI optional disallowed optional """ ; rdfs:domain dsp:descriptiontemplate ; rdfs:range [ a owl:datarange ; owl:oneof("mandatory" "optional" "disallowed") ]. dsp:inscheme a owl:objectproperty ; rdfs:label "In Scheme" ; 177
rdfs:comment """ NDLSH NDLSH [dsp:inscheme ndlsh: ] {ex:cr dsp:inscheme ndlsh:.} => {ex:cr owl:onproperty skos: inscheme; owl:allvaluesfrom ndlsh:.} dc:subject NDLSH [dsp:statementtemplate; owl:onproperty dc:subject; owl:onclass [dsp:inscheme ndlsh:]] [owl:unionof([dsp:inscheme ndlsh:] [dsp:inscheme bsh:])] DCMI-DSP vocabularyencodingscheme """ ; rdfs:domain rdfs:class ; rdfs:range skos:conceptscheme. dsp:resourceclass a owl:objectproperty ; rdfs:label "Resource Class" ; rdfs:comment """ DCMI-DSP resourceclass """ ; rdfs:domain dsp:descriptiontemplate ; rdfs:range rdfs:class. dsp:cardinalitynote a owl:datatypeproperty ; rdfs:label "Cardinality Note" ; rdfs:comment """ owl :mincardinality 1 """ ; rdfs:domain dsp:statementtemplate. ##Testing dsp:langtagoccurrence a owl:datatypeproperty ; rdfs:label "Language Tag Occurrence" ; rdfs:comment """ mandatoryoptionaldisallowed """ ; 178
rdfs:domain dsp:statementtemplate ; rdfs:range [ a owl:datarange ; owl:oneof("mandatory" "optional" "disallowed") ]. dsp:perlangmaxcardinality a owl:datatypeproperty ; rdfs:label "Per Language Max Cardinality" ; rdfs:comment """ 1 1 1 1 """ ; rdfs:domain dsp:statementtemplate ; rdfs:range xsd:nonnegativeinteger. dsp:propertymapping a owl:objectproperty ; rdfs:label "Property Mapping" ; rdfs:comment """P Q P rdfs:subpropertyof Qp. Qp P subpropertyof { [a dsp:statementtemplate; onproperty any:p; dsp:propertymapping ex:q] } => {any:p rdfs:subpropertyof ex:q} """ ; rdfs:domain dsp:statementtemplate ; rdfs:range rdf:property. A4.2 DSP A4.2.1 DSP UTF-8 1 [] ID ID ID @NS 179
# # ID MAIN [MAIN] [@NS] A4.2.2 ID ID [] 1 1 ID ID [MAIN] #... \\ 1 # A4.2.3 (a) URI ID [@NS] URI TAB 1 [@NS] # sioc rda URI http://rdfs.org/sioc/ns# http://rdvocab.info/elementsgr2/ @base @base (a) URI @base URI 180
A4.2.4 1 1 TAB ID (a) URI ID URI _%HH URL _ (b) RDF title dc:title (a) A4.2.3 (c) 2 0 - - (d) 29 ID (e) (a) A4.2.3 181
28: 0 1 1 1-1 1 1 0 - - ID 29: DSP ID URI datatype "" 30: xsd:decimal "" "" "" # ID 182
31: # [ ] foaf:agent foaf:agent foaf:person rda:family foaf:person rda:family # ID (e) [ ID] ID [ ID] ID DSP DSP URI URI : : : URI <URI> 32: URI ndlsh: NDLSH URI ndlsh: bsh: NDLSH BSH URI card:visa card:amex URI card:visa card:amex ndlsh:ndlsh: URI URI ndlsh: URI ndlsh: URI <> (e) ID ID ID ID foaf:document foaf:document 1 183
1 ID URI ndlbooks: ID b01234 URI ndlbooks:b01234 URI RDF ID 1 [MAIN] ID A4.2.5 DSP [@NS] dcndl ndlsh bsh ndlbooks @base http://ndl.go.jp/dcndl/terms/ http://id.ndl.go.jp/auth/ndlsh/ http://id.ndl.go.jp/auth/bsh/ http://iss.ndl.go.jp/books/ http://ndl.go.jp/dcndl/dsp/biblio [MAIN] # ID foaf:document 1 1 ID ndlbooks: ID dcterms:title 1 1 # dcterms:creator 0 1 foaf:agent dcterms:issued 1 1 xsd:date dcterms:subject 0 - ndlsh: bsh: [ ] # xl:literalform 1 1 dcndl:transcription 0 1 A4.2.6 (a) 33 URI 184
33: URI dc http://purl.org/dc/elements/1.1/ dcterms http://purl.org/dc/terms/ foaf http://xmlns.com/foaf/0.1/ skos http://www.w3.org/2004/02/skos/core# xl http://www.w3.org/2008/05/skos-xl# rdf http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs http://www.w3.org/2000/01/rdf-schema# owl http://www.w3.org/2002/07/owl# xsd http://www.w3.org/2001/xmlschema# (b) ID ID[MAIN] A4.3 OWL A4.2.5 DSP OWL-DSP RDF @prefix bsh: <http://id.ndl.go.jp/auth/bsh/>. @prefix ndlbooks: <http://iss.ndl.go.jp/books/>. @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix dsp: <http://purl.org/metainfo/terms/dsp#>. @prefix xsd: <http://www.w3.org/2001/xmlschema#>. @prefix dcndl: <http://ndl.go.jp/dcndl/terms/>. @prefix reg: <http://purl.org/metainfo/terms/registry#>. @prefix foaf: <http://xmlns.com/foaf/0.1/>. @prefix xl: <http://www.w3.org/2008/05/skos-xl#>. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix ndlsh: <http://id.ndl.go.jp/auth/ndlsh/>. @prefix dcterms: <http://purl.org/dc/terms/>. @base <http://ndl.go.jp/dcndl/dsp/biblio>. <> a owl:ontology ; rdfs:label " " ; reg:created "2011-01-15" ; reg:creator ex:aregistoreduserid ; reg:version " 1.1 ". 185
<#MAIN> a dsp:descriptiontemplate ; dsp:valueurioccurrence "mandatory" ; dsp:resourceclass foaf:document ; reg:idfield " ID" ; reg:resourcensuri ndlbooks: ; rdfs:subclassof <#MAIN- >, <#MAIN- >, <#MAIN->, <#MAIN- >. <#MAIN- > a dsp:statementtemplate ; rdfs:label " " ; owl:onproperty dcterms:title ; owl:qualifiedcardinality 1 ; owl:onclass <# > ; rdfs:comment " ". <#MAIN- > a dsp:statementtemplate ; rdfs:label " " ; owl:onproperty dcterms:creator ; dsp:cardinalitynote " " ; owl:onclass foaf:agent ; rdfs:comment " ". <#MAIN-> a dsp:statementtemplate ; rdfs:label "" ; owl:onproperty dcterms:issued ; dsp:cardinalitynote " " ; owl:maxqualifiedcardinality 1 ; owl:ondatarange xsd:date ; rdfs:comment "". <#MAIN- > a dsp:statementtemplate ; rdfs:label " " ; owl:onproperty dcterms:subject ; owl:onclass [owl:unionof( [dsp:inscheme ndlsh:] [dsp:inscheme bsh:] )] ; rdfs:comment " ". <# > a dsp:descriptiontemplate ; rdfs:subclassof <# - >, <# - >. 186
<# - > a dsp:statementtemplate ; rdfs:label " " ; owl:onproperty xl:literalform ; owl:qualifiedcardinality 1 ; owl:ondatarange rdfs:lieral ; rdfs:comment "". <# - > a dsp:statementtemplate ; rdfs:label " " ; owl:onproperty dcndl:transcription ; owl:maxqualifiedcardinality 1 ; owl:ondatarange rdfs:lieral ; rdfs:comment " ". 187