Skip to content

Commit

Permalink
Incorporate ontology review for DOCUMENT
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Jan 8, 2021
1 parent fa603aa commit 10da69d
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 131 deletions.
138 changes: 63 additions & 75 deletions RACK-Ontology/OwlModels/DOCUMENT.owl
Expand Up @@ -18,15 +18,56 @@
</owl:Ontology>
<owl:Class rdf:ID="REQUEST">
<rdfs:comment xml:lang="en">A REQUEST initiates a defined course of action or changed to fulfill a need.</rdfs:comment>
<rdfs:subClassOf>
<owl:Class rdf:ID="DOCUMENT"/>
</rdfs:subClassOf>
</owl:Class>
<owl:Class rdf:about="#DOCUMENT">
<rdfs:subClassOf>
<owl:Restriction>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</owl:maxCardinality>
<owl:onProperty>
<owl:ObjectProperty rdf:ID="issuingOrganization"/>
</owl:onProperty>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</owl:maxCardinality>
<owl:onProperty>
<owl:ObjectProperty rdf:ID="status"/>
</owl:onProperty>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</owl:maxCardinality>
<owl:onProperty>
<owl:DatatypeProperty rdf:ID="dateOfIssue"/>
</owl:onProperty>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</owl:maxCardinality>
<owl:onProperty>
<owl:DatatypeProperty rdf:ID="versionNumber"/>
</owl:onProperty>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
</owl:Class>
<owl:Class rdf:ID="SECTION">
<rdfs:comment xml:lang="en">A SECTION is generic grouping of ENTITYs with a document</rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
</owl:Class>
<owl:Class rdf:ID="DESCRIPTION">
<rdfs:comment xml:lang="en">A DESCRIPTION represents a planned or actual concept, function, design or object.</rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
<rdfs:comment xml:lang="en">A DESCRIPTION document represents a planned or actual concept, function, design or object.</rdfs:comment>
<rdfs:subClassOf rdf:resource="#DOCUMENT"/>
</owl:Class>
<owl:Class rdf:ID="DOC_STATUS">
<owl:equivalentClass>
Expand All @@ -49,102 +90,49 @@
</owl:Class>
<owl:Class rdf:ID="REPORT">
<rdfs:comment xml:lang="en">A REPORT describes the results of activities such as investigations, observations, assessments, or test.</rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
<rdfs:subClassOf rdf:resource="#DOCUMENT"/>
</owl:Class>
<owl:Class rdf:ID="SPECIFICATION">
<rdfs:comment xml:lang="en">A SPECIFICATION identifies, in a complete, precise, and verifiable manner, the requirements, design, behavior, or other expected characteristics of a system, service or process.</rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
<rdfs:comment xml:lang="en">A SPECIFICATION identifies the requirements, design, behavior, or other expected characteristics of a system, service or process.</rdfs:comment>
<rdfs:subClassOf rdf:resource="#DOCUMENT"/>
</owl:Class>
<owl:Class rdf:ID="PLAN">
<rdfs:comment xml:lang="en">A PLAN presents a systematic course of action for achieving a declared purpose, including when, how, and by whom specified activities are to be performed. </rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
<rdfs:subClassOf rdf:resource="#DOCUMENT"/>
</owl:Class>
<owl:Class rdf:ID="PROCEDURE">
<rdfs:comment xml:lang="en">A PROCEDURE presents an ordered series of steps to perform a process, activity, or task</rdfs:comment>
<rdfs:subClassOf rdf:resource="PROV-S#COLLECTION"/>
<rdfs:subClassOf rdf:resource="#DOCUMENT"/>
</owl:Class>
<owl:ObjectProperty rdf:ID="approvalAuthority">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#PLAN"/>
<owl:Class rdf:about="#PROCEDURE"/>
<owl:Class rdf:about="#SPECIFICATION"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdfs:comment xml:lang="en">AGENT responsible for approving a document.</rdfs:comment>
<rdfs:range rdf:resource="PROV-S#AGENT"/>
<rdfs:subPropertyOf rdf:resource="PROV-S#wasGeneratedBy"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="originatorOfRequest">
<rdfs:subPropertyOf rdf:resource="PROV-S#wasGeneratedBy"/>
<rdfs:range rdf:resource="PROV-S#AGENT"/>
<rdfs:domain rdf:resource="#REQUEST"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="references">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#DESCRIPTION"/>
<owl:Class rdf:about="#PLAN"/>
<owl:Class rdf:about="#SPECIFICATION"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdfs:subPropertyOf rdf:resource="PROV-S#wasImpactedBy"/>
<rdfs:comment xml:lang="en">Source Materials used in the development of a document.</rdfs:comment>
<rdfs:range rdf:resource="PROV-S#ENTITY"/>
<rdfs:subPropertyOf rdf:resource="PROV-S#wasDerivedFrom"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="issuingOrganization">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#DESCRIPTION"/>
<owl:Class rdf:about="#PLAN"/>
<owl:Class rdf:about="#PROCEDURE"/>
<owl:Class rdf:about="#REPORT"/>
<owl:Class rdf:about="#SPECIFICATION"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<owl:ObjectProperty rdf:about="#issuingOrganization">
<rdfs:subPropertyOf rdf:resource="PROV-S#wasAttributedTo"/>
<rdfs:comment xml:lang="en">AGENT responsible for producing a document.</rdfs:comment>
<rdfs:range rdf:resource="PROV-S#AGENT"/>
<rdfs:subPropertyOf rdf:resource="PROV-S#wasGeneratedBy"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="status">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#DESCRIPTION"/>
<owl:Class rdf:about="#PLAN"/>
<owl:Class rdf:about="#PROCEDURE"/>
<owl:Class rdf:about="#REPORT"/>
<owl:Class rdf:about="#REQUEST"/>
<owl:Class rdf:about="#SPECIFICATION"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdfs:range rdf:resource="#DOC_STATUS"/>
<owl:ObjectProperty rdf:about="#status">
<rdfs:comment xml:lang="en">Identifies the maturity of the document, In_Development, Released, Withdrawn.</rdfs:comment>
<rdfs:range rdf:resource="#DOC_STATUS"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:ObjectProperty>
<owl:DatatypeProperty rdf:ID="dateOfInitiation">
<owl:DatatypeProperty rdf:about="#dateOfIssue">
<rdfs:comment xml:lang="en">Release date for the document.</rdfs:comment>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
<rdfs:domain rdf:resource="#REQUEST"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:ID="dateOfIssue">
<rdfs:domain>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#DESCRIPTION"/>
<owl:Class rdf:about="#PLAN"/>
<owl:Class rdf:about="#PROCEDURE"/>
<owl:Class rdf:about="#REPORT"/>
<owl:Class rdf:about="#SPECIFICATION"/>
</owl:unionOf>
</owl:Class>
</rdfs:domain>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
<rdfs:comment xml:lang="en">Release date for the document.</rdfs:comment>
<owl:DatatypeProperty rdf:about="#versionNumber">
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<rdfs:domain rdf:resource="#DOCUMENT"/>
</owl:DatatypeProperty>
</rdf:RDF>
102 changes: 46 additions & 56 deletions RACK-Ontology/ontology/DOCUMENT.sadl
Expand Up @@ -10,81 +10,71 @@
* of the Defense Advanced Research Projects Agency (DARPA).
*/


/************** edit history *****************
*
* dwa - 11 Nov 2020 - reduced cardinalities for many relationships
* dwa - 11 Nov 2020 - removed several connections to 'wasDerivedFrom'
* dwa - 11 Nov 2020 - removed many incorrect uses of 'wasGeneratedBy'
*
*********************************************/

// namespace and imports
uri "http://arcos.rack/DOCUMENT" alias D.
import "http://arcos.rack/PROV-S".

// These document types and properties are derived based off of ISO/IEC/IEEE 15289

// Note: all DOCUMENT classes are COLLECTIONs. They can contain other entities by virtue of "hadMember" in PROV

DOCUMENT is a type of COLLECTION.
versionNumber describes DOCUMENT with values of type string.
versionNumber describes DOCUMENT with at most 1 value.

DESCRIPTION (note "A DESCRIPTION represents a planned or actual concept, function, design or object.") is a type of COLLECTION.
dateOfIssue (note "Release date for the document.") describes DESCRIPTION with values of type date.
dateOfIssue (note "Release date for the document.") describes DOCUMENT with values of type date.
dateOfIssue describes DOCUMENT with at most 1 value.

status (note "Identifies the maturity of the document, In_Development, Released, Withdrawn.") describes DESCRIPTION with values of type DOC_STATUS.
status (note "Identifies the maturity of the document, In_Development, Released, Withdrawn.") describes DOCUMENT with values of type DOC_STATUS.
status describes DOCUMENT with at most 1 value.

issuingOrganization (note "AGENT responsible for producing a document.") describes DESCRIPTION with values of type AGENT.
issuingOrganization is a type of wasGeneratedBy.
issuingOrganization (note "AGENT responsible for producing a document.") describes DOCUMENT with values of type AGENT.
issuingOrganization describes DOCUMENT with at most 1 value.
issuingOrganization is a type of wasAttributedTo.

references (note "Source Materials used in the development of a document.") describes DESCRIPTION with values of type ENTITY.
references is a type of wasDerivedFrom.
approvalAuthority (note "AGENT responsible for approving a document.") describes DOCUMENT with values of type AGENT.

PLAN (note "A PLAN presents a systematic course of action for achieving a declared purpose, including when, how, and by whom specified activities are to be performed. ")is a type of COLLECTION.
dateOfIssue describes PLAN with values of type date.

status describes PLAN with values of type DOC_STATUS.

issuingOrganization describes PLAN with values of type AGENT.
issuingOrganization is a type of wasGeneratedBy.
references (note "Source Materials used in the development of a document.") describes DOCUMENT with values of type ENTITY.
references is a type of wasImpactedBy.

approvalAuthority (note "AGENT responsible for approving a document.") describes PLAN with values of type AGENT.
approvalAuthority is a type of wasGeneratedBy.

references describes PLAN with values of type ENTITY.
references is a type of wasDerivedFrom.
/************************** DESCRIPTION *******************/

PROCEDURE (note "A PROCEDURE presents an ordered series of steps to perform a process, activity, or task") is a type of COLLECTION.
dateOfIssue describes PROCEDURE with values of type date.

status describes PROCEDURE with values of type DOC_STATUS.

issuingOrganization describes PROCEDURE with values of type AGENT.
issuingOrganization is a type of wasGeneratedBy.
DESCRIPTION (note "A DESCRIPTION document represents a planned or actual concept, function, design or object.") is a type of DOCUMENT.

approvalAuthority describes PROCEDURE with values of type AGENT.
approvalAuthority is a type of wasGeneratedBy.
/************************** PLAN *******************/

REPORT (note "A REPORT describes the results of activities such as investigations, observations, assessments, or test.") is a type of COLLECTION.
dateOfIssue describes REPORT with values of type date.

status describes REPORT with values of type DOC_STATUS.

issuingOrganization describes REPORT with values of type AGENT.
issuingOrganization is a type of wasGeneratedBy.
PLAN (note "A PLAN presents a systematic course of action for achieving a declared purpose, including when, how, and by whom specified activities are to be performed. ")is a type of DOCUMENT.

REQUEST (note "A REQUEST initiates a defined course of action or changed to fulfill a need.") is a type of COLLECTION.
dateOfInitiation describes REQUEST with values of type date.

status describes REQUEST with values of type DOC_STATUS.

originatorOfRequest describes REQUEST with values of type AGENT.
originatorOfRequest is a type of wasGeneratedBy.
/************************** PROCEDURE *******************/

SPECIFICATION (note "A SPECIFICATION identifies, in a complete, precise, and verifiable manner, the requirements, design, behavior, or other expected characteristics of a system, service or process.") is a type of COLLECTION.
dateOfIssue describes SPECIFICATION with values of type date.

status describes SPECIFICATION with values of type DOC_STATUS.

issuingOrganization describes SPECIFICATION with values of type AGENT.
issuingOrganization is a type of wasGeneratedBy.
PROCEDURE (note "A PROCEDURE presents an ordered series of steps to perform a process, activity, or task") is a type of DOCUMENT.

/************************** REPORT *******************/

REPORT (note "A REPORT describes the results of activities such as investigations, observations, assessments, or test.") is a type of DOCUMENT.

/************************** REQUEST *******************/

REQUEST (note "A REQUEST initiates a defined course of action or changed to fulfill a need.") is a type of DOCUMENT.

/************************** SPECIFICATION *******************/

SPECIFICATION (note "A SPECIFICATION identifies the requirements, design, behavior, or other expected characteristics of a system, service or process.") is a type of DOCUMENT.

/************************** SECTION *******************/

approvalAuthority describes SPECIFICATION with values of type AGENT.
approvalAuthority is a type of wasGeneratedBy.

references describes SPECIFICATION with values of type ENTITY.
references is a type of wasDerivedFrom.

SECTION (note "A SECTION is generic grouping of ENTITYs with a document") is a type of COLLECTION.

title describes SECTION with values of type string.
/************************** DOC_STATUS *******************/

DOC_STATUS (note "Life-cycle status of a document")
is a type of THING,
Expand Down

0 comments on commit 10da69d

Please sign in to comment.