• 検索結果がありません。

B.6.RDF/XMLでの定義

�<owl:Restriction>

�<owl:onProperty�rdf:resource="&rep;subject"/>

�<owl:cardinality�rdf:datatype="&xsd;nonNegativeInteger">1</

owl:cardinality>

�</owl:Restriction>

�</rdfs:subClassOf>

�<rdfs:subClassOf>

�<owl:Restriction>

�<owl:onProperty�rdf:resource="&rep;test"/>

�<owl:cardinality�rdf:datatype="&xsd;nonNegativeInteger">1</

owl:cardinality>

�</owl:Restriction>

�</rdfs:subClassOf>

�<rdfs:subClassOf>

�<owl:Restriction>

�<owl:onProperty�rdf:resource="&rep;result"/>

�<owl:cardinality�rdf:datatype="&xsd;nonNegativeInteger">1</

owl:cardinality>

�</owl:Restriction>

�</rdfs:subClassOf>

</owl:Class>�

<owl:Class�rdf:about="&rep;TestResult">

�<rdfs:label>TestResult</rdfs:label>

�<rdfs:comment�xml:lang="ja">テスト結果。機械可読な結果をプロパティ rep:outcomeの値として持つ。</rdfs:comment>

�<rdfs:subClassOf>

�<owl:Restriction>

�<owl:onProperty�rdf:resource="&rep;outcome"/>

�<owl:cardinality�rdf:datatype="&xsd;nonNegativeInteger">1</

owl:cardinality>

�</owl:Restriction>

�</rdfs:subClassOf>

�<rdfs:subClassOf>

�<owl:Restriction>

�<owl:onProperty�rdf:resource="&rep;outcome"/>

�<owl:allValuesFrom�rdf:resource="&rep;OutcomeValue"/>

�</owl:Restriction>

�</rdfs:subClassOf>

</owl:Class>

<owl:Class�rdf:about="&rep;OutcomeValue">

�rep:pass,�rep:fail,�rep:cannotTell,�rep:notApplicable,�rep:notTested�か ら成る。

�</rdfs:comment>

�<owl:oneOf�rdf:parseType="Collection">

�<owl:Thing�rdf:about="&rep;pass"/>

�<owl:Thing�rdf:about="&rep;fail"/>

�<owl:Thing�rdf:about="&rep;cannotTell"/>

�<owl:Thing�rdf:about="&rep;notApplicable"/>

�<owl:Thing�rdf:about="&rep;notTested"/>

�</owl:oneOf>

</owl:Class>

<owl:ObjectProperty�rdf:about="&rep;assertedBy">

�<rdfs:label>assertedBy</rdfs:label>

�<rdfs:comment�xml:lang="ja">objectはsubjectであるテストレポート項目の報 告者</rdfs:comment>

�<rdfs:domain�rdf:resource="&rep;Assertion"/>

�<rdfs:range�rdf:resource="&owl;Thing"/>

</owl:ObjectProperty>

<owl:ObjectProperty�rdf:about="&rep;subject">

�<rdfs:label>subject</rdfs:label>

�<rdfs:comment�xml:lang="ja">objectはsubjectであるテストレポート項目のテ スト対象</rdfs:comment>

�<rdfs:domain�rdf:resource="&rep;Assertion"/>

�<rdfs:range�rdf:resource="&owl;Thing"/>

</owl:ObjectProperty>

<owl:ObjectProperty�rdf:about="&rep;test">

�<rdfs:label>test</rdfs:label>

�<rdfs:comment�xml:lang="ja">objectはsubjectであるテストレポート項目のテ スト</rdfs:comment>

�<rdfs:domain�rdf:resource="&rep;Assertion"/>

�<rdfs:range�rdf:resource="&owl;Thing"/>

</owl:ObjectProperty>

<owl:ObjectProperty�rdf:about="&rep;result">

�<rdfs:label>result</rdfs:label>

�<rdfs:comment�xml:lang="ja">objectはsubjectであるテストレポート項目のテ スト結果</rdfs:comment>

�<rdfs:domain�rdf:resource="&rep;Assertion"/>

�<rdfs:range�rdf:resource="&rep;TestResult"/>

</owl:ObjectProperty>

�<rdfs:label>outcome</rdfs:label>

�<rdfs:comment�xml:lang="ja">objectはsubjectであるテスト結果の機械可読な 値</rdfs:comment>

�<rdfs:domain�rdf:resource="&rep;TestResult"/>

�<rdfs:range�rdf:resource="&rep;OutcomeValue"/>

</owl:ObjectProperty>

<owl:Thing�rdf:about="&rep;pass">

�<rdf:type�rdf:resource="&rep;OutcomeValue"/>

�<rdfs:label>pass</rdfs:label>

�<rdfs:comment�xml:lang="ja">合格したというテスト結果値</rdfs:comment>

</owl:Thing>

<owl:Thing�rdf:about="&rep;fail">

�<rdf:type�rdf:resource="&rep;OutcomeValue"/>

�<rdfs:label>fail</rdfs:label>

�<rdfs:comment�xml:lang="ja">合格しなかったたというテスト結果値</

rdfs:comment>

</owl:Thing>

<owl:Thing�rdf:about="&rep;cannotTell">

�<rdf:type�rdf:resource="&rep;OutcomeValue"/>

�<rdfs:label>cannotTell</rdfs:label>

�<rdfs:comment�xml:lang="ja">合格したかどうか不明というテスト結果値</

rdfs:comment>

</owl:Thing>

<owl:Thing�rdf:about="&rep;notApplicable">

�<rdf:type�rdf:resource="&rep;OutcomeValue"/>

�<rdfs:label>notApplicalbe</rdfs:label>

�<rdfs:comment�xml:lang="ja">テストの対象外というテスト結果値</

rdfs:comment>

</owl:Thing>

<owl:Thing�rdf:about="&rep;notTested">

�<rdf:type�rdf:resource="&rep;OutcomeValue"/>

�<rdfs:label>notTested</rdfs:label>

�<rdfs:comment�xml:lang="ja">テストが行われいていないというテスト結果値</

rdfs:comment>

</owl:Thing>

</rdf:RDF>

関連したドキュメント