@prefix : <http://w3id.org/sepses/vocab/ref/capec#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://w3id.org/sepses/vocab/ref/capec#> .

<http://w3id.org/sepses/vocab/ref/capec> rdf:type owl:Ontology ;
                                          owl:versionIRI <https://w3id.org/sepses/vocab/ref/capec/2.0.0> ;
                                          <http://purl.org/dc/elements/1.1/creator> "Andreas Ekelhart" ,
                                                                                    "Elmar Kiesling" ,
                                                                                    "Fajar J. Ekaputra" ,
                                                                                    "Kabul Kurniawan" ;
                                          <http://purl.org/dc/elements/1.1/description> """An ontology to represent CAPEC 
This ontology is developed based on the CAPEC resources extracted from MITRE CAPEC (https://capec.mitre.org/) """@en ;
                                          <http://purl.org/dc/elements/1.1/rights> "http://creativecommons.org/licenses/by/4.0/" ;
                                          <http://purl.org/dc/elements/1.1/title> "CAPEC Ontology" ;
                                          <http://purl.org/vocab/vann/preferredNamespacePrefix> "capec" .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/elements/1.1/creator
<http://purl.org/dc/elements/1.1/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/description
<http://purl.org/dc/elements/1.1/description> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/rights
<http://purl.org/dc/elements/1.1/rights> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/elements/1.1/title
<http://purl.org/dc/elements/1.1/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


#################################################################
#    Object Properties
#################################################################

###  http://w3id.org/sepses/vocab/ref/capec#hasConsequence
:hasConsequence rdf:type owl:ObjectProperty ;
                owl:inverseOf :isConsequenceOf ;
                rdfs:domain :CAPEC ;
                rdfs:range :Consequence ;
                rdfs:label "hasConsequence" .


###  http://w3id.org/sepses/vocab/ref/capec#hasExecutionFlow
:hasExecutionFlow rdf:type owl:ObjectProperty ;
                  owl:inverseOf :isExecutionFlowOf ;
                  rdfs:domain :CAPEC ;
                  rdfs:range :ExecutionFlow ;
                  rdfs:label "hasExecutionFlow" .


###  http://w3id.org/sepses/vocab/ref/capec#hasMitigation
:hasMitigation rdf:type owl:ObjectProperty ;
               rdfs:domain :CAPEC ;
               rdfs:range :Mitigation .


###  http://w3id.org/sepses/vocab/ref/capec#hasModificationHistory
:hasModificationHistory rdf:type owl:ObjectProperty ;
                        owl:inverseOf :isModificationHistoryOf ;
                        rdfs:domain :CAPEC ;
                        rdfs:range :ModificationHistory ;
                        rdfs:label "hasModificationHistory" .


###  http://w3id.org/sepses/vocab/ref/capec#hasReference
:hasReference rdf:type owl:ObjectProperty ;
              rdfs:domain :CAPEC ;
              rdfs:range :Reference ;
              rdfs:label "hasReference" .


###  http://w3id.org/sepses/vocab/ref/capec#hasRelatedAttackPattern
:hasRelatedAttackPattern rdf:type owl:ObjectProperty ;
                         owl:inverseOf :isRelatedAttackPatternOf ;
                         rdfs:domain :CAPEC ;
                         rdfs:range :RelatedAttackPattern ;
                         rdfs:label "hasRelatedAttackPattern" .


###  http://w3id.org/sepses/vocab/ref/capec#hasRelatedWeakness
:hasRelatedWeakness rdf:type owl:ObjectProperty ;
                    rdfs:domain :CAPEC ;
                    rdfs:range <http://w3id.org/sepses/vocab/ref/cwe#CWE> ;
                    rdfs:label "hasRelatedWeakness" .


###  http://w3id.org/sepses/vocab/ref/capec#hasSkillRequired
:hasSkillRequired rdf:type owl:ObjectProperty ;
                  owl:inverseOf :isSkillRequiredOf ;
                  rdfs:domain :CAPEC ;
                  rdfs:range :SkillRequired ;
                  rdfs:label "hasSkillRequired" .


###  http://w3id.org/sepses/vocab/ref/capec#hasSubmissionHistory
:hasSubmissionHistory rdf:type owl:ObjectProperty ;
                      owl:inverseOf :isSubmissionHistoryOf ;
                      rdfs:domain :CAPEC ;
                      rdfs:range :SubmissionHistory ;
                      rdfs:label "hasSubmissionHistory" .


###  http://w3id.org/sepses/vocab/ref/capec#isConsequenceOf
:isConsequenceOf rdf:type owl:ObjectProperty ;
                 rdfs:domain :Consequence ;
                 rdfs:range :CAPEC ;
                 rdfs:label "isConsequenceOf" .


###  http://w3id.org/sepses/vocab/ref/capec#isExecutionFlowOf
:isExecutionFlowOf rdf:type owl:ObjectProperty ;
                   rdfs:domain :ExecutionFlow ;
                   rdfs:range :CAPEC ;
                   rdfs:label "isExecutionFlowOf" .


###  http://w3id.org/sepses/vocab/ref/capec#isModificationHistoryOf
:isModificationHistoryOf rdf:type owl:ObjectProperty ;
                         rdfs:domain :ModificationHistory ;
                         rdfs:range :CAPEC ;
                         rdfs:label "isModificationHistoryOf" .


###  http://w3id.org/sepses/vocab/ref/capec#isRelatedAttackPatternOf
:isRelatedAttackPatternOf rdf:type owl:ObjectProperty ;
                          rdfs:domain :RelatedAttackPattern ;
                          rdfs:range :CAPEC ;
                          rdfs:label "isRelatedAttackPatternOf" .


###  http://w3id.org/sepses/vocab/ref/capec#isSkillRequiredOf
:isSkillRequiredOf rdf:type owl:ObjectProperty ;
                   rdfs:domain :SkillRequired ;
                   rdfs:range :CAPEC ;
                   rdfs:label "isSkillRequiredOf" .


###  http://w3id.org/sepses/vocab/ref/capec#isSubmissionHistoryOf
:isSubmissionHistoryOf rdf:type owl:ObjectProperty ;
                       rdfs:domain :SubmissionHistory ;
                       rdfs:range :CAPEC ;
                       rdfs:label "isSubmissionHistoryOf" .


#################################################################
#    Data properties
#################################################################

###  http://w3id.org/sepses/vocab/ref/capec#abstraction
:abstraction rdf:type owl:DatatypeProperty ;
             rdfs:domain :CAPEC ;
             rdfs:range xsd:string ;
             rdfs:label "abstraction" ,
                        "structure" .


###  http://w3id.org/sepses/vocab/ref/capec#attackStep
:attackStep rdf:type owl:DatatypeProperty ;
            rdfs:domain :ExecutionFlow ;
            rdfs:range xsd:string ;
            rdfs:label "attackStep" .


###  http://w3id.org/sepses/vocab/ref/capec#attackStepDescription
:attackStepDescription rdf:type owl:DatatypeProperty ;
                       rdfs:domain :ExecutionFlow ;
                       rdfs:range xsd:string ;
                       rdfs:label "attackStepDescription" .


###  http://w3id.org/sepses/vocab/ref/capec#attackStepPhase
:attackStepPhase rdf:type owl:DatatypeProperty ;
                 rdfs:domain :ExecutionFlow ;
                 rdfs:range xsd:string ;
                 rdfs:label "attackStepPhase" .


###  http://w3id.org/sepses/vocab/ref/capec#attackStepTechnique
:attackStepTechnique rdf:type owl:DatatypeProperty ;
                     rdfs:domain :ExecutionFlow ;
                     rdfs:range xsd:string ;
                     rdfs:label "attackStepTechnique" .


###  http://w3id.org/sepses/vocab/ref/capec#consequenceImpact
:consequenceImpact rdf:type owl:DatatypeProperty ;
                   rdfs:domain :Consequence ;
                   rdfs:range xsd:string ;
                   rdfs:label "consequenceImpact" .


###  http://w3id.org/sepses/vocab/ref/capec#consequenceNote
:consequenceNote rdf:type owl:DatatypeProperty ;
                 rdfs:domain :Consequence ;
                 rdfs:range xsd:string ;
                 rdfs:label "consequenceNote" .


###  http://w3id.org/sepses/vocab/ref/capec#consequenceScope
:consequenceScope rdf:type owl:DatatypeProperty ;
                  rdfs:domain :Consequence ;
                  rdfs:range xsd:string ;
                  rdfs:label "consequenceScope" .


###  http://w3id.org/sepses/vocab/ref/capec#hasMitigation
:hasMitigation rdf:type owl:DatatypeProperty ;
               rdfs:range xsd:string .


###  http://w3id.org/sepses/vocab/ref/capec#indicator
:indicator rdf:type owl:DatatypeProperty ;
           rdfs:domain :CAPEC ;
           rdfs:range xsd:string ;
           rdfs:label "indicator" .


###  http://w3id.org/sepses/vocab/ref/capec#likelihoodOfAttack
:likelihoodOfAttack rdf:type owl:DatatypeProperty ;
                    rdfs:domain :CAPEC ;
                    rdfs:range xsd:string ;
                    rdfs:label "likelihoodOfAttack" .


###  http://w3id.org/sepses/vocab/ref/capec#modificationComment
:modificationComment rdf:type owl:DatatypeProperty ;
                     rdfs:domain :ModificationHistory ;
                     rdfs:range xsd:string ;
                     rdfs:label "modificationComment" .


###  http://w3id.org/sepses/vocab/ref/capec#modificationDate
:modificationDate rdf:type owl:DatatypeProperty ;
                  rdfs:domain :ModificationHistory ;
                  rdfs:range xsd:string ;
                  rdfs:label "modificationDate" .


###  http://w3id.org/sepses/vocab/ref/capec#modificationName
:modificationName rdf:type owl:DatatypeProperty ;
                  rdfs:domain :ModificationHistory ;
                  rdfs:range xsd:string ;
                  rdfs:label "modificationName" .


###  http://w3id.org/sepses/vocab/ref/capec#modificationOrganization
:modificationOrganization rdf:type owl:DatatypeProperty ;
                          rdfs:domain :ModificationHistory ;
                          rdfs:range xsd:string ;
                          rdfs:label "modificationOrganization" .


###  http://w3id.org/sepses/vocab/ref/capec#prerequisite
:prerequisite rdf:type owl:DatatypeProperty ;
              rdfs:domain :CAPEC ;
              rdfs:range xsd:string ;
              rdfs:label "prerequisite" .


###  http://w3id.org/sepses/vocab/ref/capec#referenceAuthor
:referenceAuthor rdf:type owl:DatatypeProperty ;
                 rdfs:domain :Reference ;
                 rdfs:range xsd:string ;
                 rdfs:label "referenceAuthor" .


###  http://w3id.org/sepses/vocab/ref/capec#referenceEdition
:referenceEdition rdf:type owl:DatatypeProperty ;
                  rdfs:domain :Reference ;
                  rdfs:range xsd:integer ;
                  rdfs:label "referenceEdition" .


###  http://w3id.org/sepses/vocab/ref/capec#referencePublicationDay
:referencePublicationDay rdf:type owl:DatatypeProperty ;
                         rdfs:domain :Reference ;
                         rdfs:range xsd:integer ;
                         rdfs:label "referencePublicationDay" .


###  http://w3id.org/sepses/vocab/ref/capec#referencePublicationMonth
:referencePublicationMonth rdf:type owl:DatatypeProperty ;
                           rdfs:domain :Reference ;
                           rdfs:range xsd:integer ;
                           rdfs:label "referencePublicationMonth" .


###  http://w3id.org/sepses/vocab/ref/capec#referencePublicationYear
:referencePublicationYear rdf:type owl:DatatypeProperty ;
                          rdfs:domain :Reference ;
                          rdfs:range xsd:integer ;
                          rdfs:label "referencePublicationYear" .


###  http://w3id.org/sepses/vocab/ref/capec#referencePublisher
:referencePublisher rdf:type owl:DatatypeProperty ;
                    rdfs:domain :Reference ;
                    rdfs:range xsd:string ;
                    rdfs:label "referencePublisher" .


###  http://w3id.org/sepses/vocab/ref/capec#referenceTitle
:referenceTitle rdf:type owl:DatatypeProperty ;
                rdfs:domain :Reference ;
                rdfs:range xsd:string ;
                rdfs:label "referenceTitle" .


###  http://w3id.org/sepses/vocab/ref/capec#referenceUrl
:referenceUrl rdf:type owl:DatatypeProperty ;
              rdfs:domain :Reference ;
              rdfs:range xsd:string ;
              rdfs:label "referenceUrl" .


###  http://w3id.org/sepses/vocab/ref/capec#relatedAttackPatternCAPECId
:relatedAttackPatternCAPECId rdf:type owl:DatatypeProperty ;
                             rdfs:domain :RelatedAttackPattern ;
                             rdfs:range xsd:string ;
                             rdfs:label "relatedAttackPatternCAPECId" .


###  http://w3id.org/sepses/vocab/ref/capec#relatedAttackPatternNature
:relatedAttackPatternNature rdf:type owl:DatatypeProperty ;
                            rdfs:domain :RelatedAttackPattern ;
                            rdfs:range xsd:string ;
                            rdfs:label "relatedAttackPatternNature" .


###  http://w3id.org/sepses/vocab/ref/capec#relatedAttackPatternViewId
:relatedAttackPatternViewId rdf:type owl:DatatypeProperty ;
                            rdfs:domain :RelatedAttackPattern ;
                            rdfs:range xsd:string ;
                            rdfs:label "relatedAttackPatternViewId" .


###  http://w3id.org/sepses/vocab/ref/capec#resourceRequired
:resourceRequired rdf:type owl:DatatypeProperty ;
                  rdfs:domain :CAPEC ;
                  rdfs:range xsd:string ;
                  rdfs:label "resourceRequired" .


###  http://w3id.org/sepses/vocab/ref/capec#skillDescription
:skillDescription rdf:type owl:DatatypeProperty ;
                  rdfs:domain :SkillRequired ;
                  rdfs:range xsd:string ;
                  rdfs:label "skillDescription" .


###  http://w3id.org/sepses/vocab/ref/capec#skillLevel
:skillLevel rdf:type owl:DatatypeProperty ;
            rdfs:domain :SkillRequired ;
            rdfs:range xsd:string ;
            rdfs:label "skillLevel" .


###  http://w3id.org/sepses/vocab/ref/capec#status
:status rdf:type owl:DatatypeProperty ;
        rdfs:domain :CAPEC ;
        rdfs:range xsd:string ;
        rdfs:label "status" .


###  http://w3id.org/sepses/vocab/ref/capec#submissionDate
:submissionDate rdf:type owl:DatatypeProperty ;
                rdfs:domain :SubmissionHistory ;
                rdfs:range xsd:string ;
                rdfs:label "submissionDate" .


###  http://w3id.org/sepses/vocab/ref/capec#submissionName
:submissionName rdf:type owl:DatatypeProperty ;
                rdfs:domain :SubmissionHistory ;
                rdfs:range xsd:string ;
                rdfs:label "submissionName" .


###  http://w3id.org/sepses/vocab/ref/capec#submissionOrganization
:submissionOrganization rdf:type owl:DatatypeProperty ;
                        rdfs:domain :SubmissionHistory ;
                        rdfs:range xsd:string ;
                        rdfs:label "submissionOrganization" .


###  http://w3id.org/sepses/vocab/ref/capec#typicalSeverity
:typicalSeverity rdf:type owl:DatatypeProperty ;
                 rdfs:domain :CAPEC ;
                 rdfs:range xsd:string ;
                 rdfs:label "typicalSeverity" .


#################################################################
#    Classes
#################################################################

###  http://w3id.org/sepses/vocab/ref/capec#CAPEC
:CAPEC rdf:type owl:Class ;
       rdfs:subClassOf owl:Thing ;
       rdfs:label "CAPEC" .


###  http://w3id.org/sepses/vocab/ref/capec#Consequence
:Consequence rdf:type owl:Class ;
             rdfs:subClassOf owl:Thing ;
             rdfs:label "Consequence" .


###  http://w3id.org/sepses/vocab/ref/capec#ExecutionFlow
:ExecutionFlow rdf:type owl:Class ;
               rdfs:subClassOf owl:Thing ;
               rdfs:label "ExecutionFlow" .


###  http://w3id.org/sepses/vocab/ref/capec#Mitigation
:Mitigation rdf:type owl:Class ;
            rdfs:subClassOf owl:Thing ;
            rdfs:label "Mitigation" .


###  http://w3id.org/sepses/vocab/ref/capec#ModificationHistory
:ModificationHistory rdf:type owl:Class ;
                     rdfs:subClassOf owl:Thing ;
                     rdfs:label "ModificationHistory" .


###  http://w3id.org/sepses/vocab/ref/capec#Reference
:Reference rdf:type owl:Class ;
           rdfs:subClassOf owl:Thing ;
           rdfs:label "Reference" .


###  http://w3id.org/sepses/vocab/ref/capec#RelatedAttackPattern
:RelatedAttackPattern rdf:type owl:Class ;
                      rdfs:subClassOf owl:Thing ;
                      rdfs:label "RelatedAttackPattern" .


###  http://w3id.org/sepses/vocab/ref/capec#RelatedWeakness
:RelatedWeakness rdf:type owl:Class ;
                 rdfs:subClassOf owl:Thing ;
                 rdfs:label "RelatedWeakness" .


###  http://w3id.org/sepses/vocab/ref/capec#SkillRequired
:SkillRequired rdf:type owl:Class ;
               rdfs:subClassOf owl:Thing ;
               rdfs:label "SkillRequired" .


###  http://w3id.org/sepses/vocab/ref/capec#SubmissionHistory
:SubmissionHistory rdf:type owl:Class ;
                   rdfs:subClassOf owl:Thing ;
                   rdfs:label "SubmissionHistory" .


###  http://w3id.org/sepses/vocab/ref/cwe#CWE
<http://w3id.org/sepses/vocab/ref/cwe#CWE> rdf:type owl:Class .


#################################################################
#    Annotations
#################################################################

:hasMitigation rdfs:label "hasMitigation" .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
