# Copyright (c) 2023-2026 Orange. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: # This product includes software developed by Orange. # 4. Neither the name of Orange nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY Orange "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Orange BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # === PREFIXES ================================================================ # --- Basic --- @prefix owl: . @prefix rdf: . @prefix xml: . @prefix xsd: . @prefix rdfs: . @prefix sh: . # --- Ontology management --- @prefix dcat: . @prefix dcterms: . @prefix foaf: . @prefix vann: . @prefix voaf: . @prefix vs: . @prefix bibo: . @prefix vcard: . @prefix schema: . @prefix prov: . @prefix skos: . # --- Domain specific --- @prefix observable: . # Unified Cybersecurity Ontology (UCO) @prefix org: . # The Organization Ontology @prefix core: . # --- security-ontology --- @prefix dseco: . @prefix : . # ============================================================================= a voaf:Vocabulary, owl:Ontology ; dcterms:title "The DNS Security Ontology"@en ; dcterms:description """The DNS Security Ontology (DSecO) project is a data model for representing and reasoning on Domain Name System (DNS) data. The ontology is developed using web technologies (e.g. RDF, OWL, SKOS) and is intended as a structure for realizing a DNS Knowledge Graph (KG) for administration and security assessment applications. The model has been developed in collaboration with operational teams, and in connection with third parties linked vocabularies. Alignment with third parties vocabularies is implemented on a per class or per property basis when relevant (e.g. with `rdfs:subClassOf`, `owl:equivalentClass`). Directions for direct instanciation of these vocabularies are provided for cases where implementing a class/property alignment is redundant. Alignment holds for the following vocabulary releases: - [ORG](https://www.w3.org/TR/vocab-org/) 0.8 - [UCO](https://github.com/ucoProject/uco) Release-0.8.0 """@en ; bibo:status ; # https://www.dublincore.org/specifications/bibo/bibo/bibo.rdf.xml# dcterms:creator "Didier Bringer (https://orcid.org/0009-0007-9787-2559)" ; # Didier Bringer : 0009-0007-9787-2559 dcterms:contributor "Lionel Tailhardat (https://orcid.org/0000-0001-5887-899X)" ; # Lionel Tailhardat dcterms:publisher ; dcterms:license ; vann:preferredNamespacePrefix "dseco" ; vann:preferredNamespaceUri "https://w3id.org/dseco/ontology/" ; # See https://dgarijo.github.io/Widoco/doc/bestPractices/index-en.html dcterms:issued "2022-05-10"^^xsd:date ; dcterms:modified "2026-06-03"^^xsd:date ; skos:changeNote """Changes in v2.0.0: - Used only camelCase for properties : list of properties and their changes: - is_CNAME_of -> isCNAMEOf - is_A_to -> isATo - is_AAAA_to -> isAAAATo - resolves_to -> resolvesTo - is_in_zone -> isInZONE - is_CNAME_of_CNAME_of -> isCNAMEOfCNAMEOf - is_part_of -> isPartOf - is_hosted_by -> isHostedBy - is_included_in -> isIncludedIn - isinOurSubnet -> isInOurSubnet - FQDN_ends_in_exampleorg -> FQDNEndsInExampleorg - answers_on_port_443 -> answersOnPort443 - answers_on_port_80 -> answersOnPort80 - answers_on_port -> answersOnPort) - Deleted TAG and hasTag and replaced it by knownFrom and ORGU_team_GCP """@en ; owl:versionInfo "v2.0.0" ; owl:versionIRI ; owl:priorVersion ; rdfs:seeAlso ; . ################################################################# # Classes ################################################################# :FQDN a owl:Class ; rdfs:label "FQDN" ; rdfs:comment "Fully Qualified Domain Name."@en ; rdfs:comment "Un fully qualified domain name (FQDN, ou nom de domaine pleinement qualifié) est un nom de domaine qui donne la position exacte de son noeud dans l'arborescence DNS en indiquant tous les domaines de niveau supérieur."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of a FQDN instance :FQDN_example.com a :FQDN . """@en ; . :ZONE a owl:Class ; rdfs:label "ZONE" ; rdfs:comment "A domain zone in DNS context. A DNS zone is an administrative subdivision of the DNS namespace."@en ; rdfs:comment "Une zone de domaine dans le contexte du DNS. Une zone DNS est une subdivision administrative de l’espace de noms DNS."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of a ZONE instance :ZONE_example.com a :ZONE . """@en ; . :CVE a owl:Class ; rdfs:label "CVE" ; rdfs:comment "A CVE (Common Vulnerability Exposure)."@en ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of a CVE instance :CVE_2025-1212 a :CVE . """@en ; . :COMPONENT a owl:Class ; rdfs:label "COMPONENT" ; rdfs:comment "A COMPONENT is able of hosting a FQDN, a COMPONENT is made of other COMPONENTs."@en ; rdfs:comment "Un COMPONENT peut héberger un FQDN et est constitué d’autres COMPONENTs."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of a COMPONENT instance :COMPONENT_1212 a :COMPONENT . based on sbom.json """@en ; . :SERVICEID a owl:Class ; rdfs:label "SERVICEID" ; rdfs:comment "A SERVICEID is an identifier of a service, it is associated to a FQDN and can be used to link security indicators."@en ; rdfs:comment "Un SERVICEID est un identifiant de service associé à un FQDN et pouvant servir à relier des indicateurs de sécurité."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of a SERVICEID instance :SERVICEID_1 a :SERVICEID . """@en ; . :DisjointClasses a owl:AllDisjointClasses ; owl:members ( :FQDN :ZONE :CVE :COMPONENT :TAG :SERVICEID observable:NetworkSubnet observable:IPAddress observable:AutonomousSystem org:OrganizationalUnit ) . ################################################################# # Object Properties ################################################################# :isCNAMEOf a owl:ObjectProperty ; rdfs:label "isCNAMEOf" ; rdfs:domain :FQDN ; rdfs:range :FQDN ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isCNAMEOf property :FQDN_alias.example.com a :FQDN ; :isCNAMEOf :FQDN_target.example.com . """@en ; . :isATo a owl:ObjectProperty ; rdfs:label "isATo" ; rdfs:subPropertyOf :resolvesTo ; rdfs:domain :FQDN ; rdfs:range observable:IPv4Address ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isATo property :FQDN_example.com a :FQDN ; :isATo :IP_192.0.2.1 . """@en ; . :isAAAATo a owl:ObjectProperty ; rdfs:subPropertyOf :resolvesTo ; rdfs:label "isAAAATo" ; rdfs:domain :FQDN ; rdfs:range observable:IPv6Address ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isAAAATo property :FQDN_example.com a :FQDN ; :isAAAATo :IP_::1 . """@en ; . :resolvesTo a owl:ObjectProperty ; rdfs:label "resolvesTo" ; rdfs:domain :FQDN ; rdfs:range observable:IPAddress ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using resolvesTo property :FQDN_example.com a :FQDN ; :resolvesTo :IP_::2 . """@en ; . :isInZONE a owl:FunctionalProperty , # A functional property is a property that can have only one (unique) value y for each instance x owl:ObjectProperty ; rdfs:label "isInZONE" ; rdfs:domain :FQDN ; rdfs:range :ZONE ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isInZONE property :FQDN_example.com a :FQDN ; :isInZONE :ZONE_example.com . """@en ; . :isCNAMEOfCNAMEOf a owl:ObjectProperty ; rdfs:label "isCNAMEOfCNAMEOf" ; rdfs:comment "To test inferences."@en ; rdfs:comment "Pour tester les inférences."@fr ; owl:propertyChainAxiom (:isCNAMEOf :isCNAMEOf) ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isCNAMEOfCNAMEOf property :FQDN_example.com a :FQDN ; :isCNAMEOfCNAMEOf :FQDN_example2.com . """@en ; . :managedBy a owl:ObjectProperty ; rdfs:label "managedBy" ; rdfs:domain :ZONE ; rdfs:range org:OrganizationalUnit ; rdfs:comment "The Agent or Owner that can change entries in the zone."@en ; rdfs:comment "L’agent (Agent) ou le propriétaire (Owner) autorisé à modifier les entrées de la zone."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using managedBy property :ZONE_example.com a :ZONE ; :managedBy :ORGU_internal . """@en ; . :hasOrgu a owl:ObjectProperty ; rdfs:label "hasOrgu" ; rdfs:domain observable:AutonomousSystem ; rdfs:range org:OrganizationalUnit ; rdfs:comment "An AS belongs to an organizational unit."@en ; rdfs:comment "Un AS appartient à une unité organisationnelle."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasOrgu property :AS_64496 a observable:AutonomousSystem ; :hasOrgu :ORGU_network_provider . """@en ; . :hasAS a owl:ObjectProperty ; owl:propertyChainAxiom ( :isPartOf :hasAS ) ; owl:inverseOf :originates ; rdfs:label "hasAS" ; rdfs:comment "The Autonomous System Number (ASN) associated with a network entity."@en ; rdfs:comment "L'Autonomous System Number (ASN) associé à une entité."@fr ; rdfs:domain [ owl:unionOf (observable:IPAddress observable:NetworkSubnet) ; a owl:Class ] ; rdfs:range observable:AutonomousSystem ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasAS property <:SUBNET_12.12.12.0/24> a observable:NetworkSubnet ; :hasAS :AS_64496 . """@en ; . :originates a owl:ObjectProperty ; owl:inverseOf :hasAS ; rdfs:label "originates" ; rdfs:comment "A network entity associated with an Autonomous System."@en ; rdfs:comment "Une entité associée à un système autonome (AS)."@fr ; rdfs:domain observable:AutonomousSystem ; rdfs:range [ owl:unionOf (observable:IPAddress observable:NetworkSubnet) ; a owl:Class ] ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using originates property :AS_64496 a observable:AutonomousSystem ; :originates <:SUBNET_12.12.12.0/24>. """@en ; . :isPartOf a owl:FunctionalProperty , owl:ObjectProperty ; rdfs:label "isPartOf" ; rdfs:comment "A network subnet associated to an ip address."@en ; rdfs:comment "Un subnet associé à une adresse ip."@fr ; rdfs:domain observable:IPAddress ; rdfs:range observable:NetworkSubnet ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isPartOf property :IP_12.12.12.1 a observable:IPAddress ; :isPartOf <:SUBNET_12.12.12.0/24> . """@en ; . :isHostedBy a owl:ObjectProperty ; rdfs:label "isHostedBy" ; rdfs:domain :FQDN ; rdfs:range :COMPONENT ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isHostedBy property :FQDN_alias.example.com a :FQDN ; :isHostedBy :COMPONENT_1212 . """@en ; . :isIncludedIn a owl:ObjectProperty ; rdfs:label "isIncludedIn" ; rdfs:domain :COMPONENT ; rdfs:range :COMPONENT ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isIncludedIn property :COMPONENT_1212 a :COMPONENT ; :isIncludedIn :COMPONENT_3434 . """@en ; . :dependsOn a owl:ObjectProperty ; rdfs:label "dependsOn" ; rdfs:domain :COMPONENT ; rdfs:range :COMPONENT ; rdfs:comment "A COMPONENT depends on another COMPONENT."@en ; rdfs:comment "Un COMPONENT dépend d’un autre COMPONENT."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using dependsOn property :COMPONENT_1212 a :COMPONENT ; :dependsOn :COMPONENT_3434 . """@en ; . :knownFrom a owl:ObjectProperty ; rdfs:label "knownFrom" ; rdfs:range org:OrganizationalUnit ; rdfs:comment "An entity is known from an organizational unit."@en ; rdfs:comment "Une entité est connue d’une unité organisationnelle."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using knownFrom property :IP_12.12.12.1 a observable:IPAddress ; :knownFrom :OrganizationalUnit_1 . """@en ; . ################################################################# # Data properties ################################################################# :hasName a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:label "hasName" ; rdfs:range xsd:string ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasName property :FQDN_example.com a :FQDN ; :hasName "example.com."^^xsd:string . # Can also be used with ZONE :ZONE_example.org a :ZONE ; :hasName "example.org."^^xsd:string . """@en ; . :hasCountry a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:label "hasCountry" ; rdfs:domain observable:IPAddress ; rdfs:range xsd:string ; rdfs:comment "The country where the entity is located."@en ; rdfs:comment "Le pays où se trouve l'entité."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasCountry property :IP_203.0.113.1 a observable:IPAddress ; :hasCountry "FR"^^xsd:string . """@en ; . :isInOurSubnet a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:label "isInOurSubnet" ; rdfs:domain observable:IPAddress ; rdfs:range xsd:boolean ; rdfs:comment "True if the IP is in our subnets. It is populated by a INSERT WHERE query."@en ; rdfs:comment "Vrai si l’adresse IP se trouve dans nos sous-réseaux. Ce champ est renseigné à l’aide d’une requête INSERT ... WHERE."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using isInOurSubnet property :IP_198.51.100.1 a observable:IPAddress ; :isInOurSubnet "true"^^xsd:boolean . """@en ; . :FQDNEndsInExampleorg a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:label "FQDNEndsInExampleorg" ; rdfs:domain :FQDN ; rdfs:range xsd:boolean ; rdfs:comment "This property is designed here for illustrative purposes. It is populated by an INSERT WHERE."@en ; rdfs:comment "Cette propriété est définie ici à des fins d’illustration. Elle est renseignée à l’aide d’une requête INSERT ... WHERE."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using FQDNEndsInExampleorg property :FQDN_www.example.org a :FQDN ; :FQDNEndsInExampleorg "true"^^xsd:boolean . """@en ; . :hasServiceId a owl:ObjectProperty ; rdfs:label "hasServiceId" ; rdfs:domain [ owl:unionOf (:FQDN :COMPONENT) ; a owl:Class ] ; rdfs:range :SERVICEID ; rdfs:comment "The service ID associated with the FQDN."@en ; rdfs:comment "L'identifiant de service associé au FQDN."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasServiceId property :FQDN_www.example.org a :FQDN ; :hasServiceId :SERVICEID_123 . """@en ; . :hasBomRef a owl:FunctionalProperty, owl:DatatypeProperty ; rdfs:label "hasBomRef" ; rdfs:domain :COMPONENT ; rdfs:range xsd:string ; rdfs:comment "The BOM reference associated with the component."@en ; rdfs:comment "La référence BOM associée au composant."@fr ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using hasBomRef property :COMPONENT_example a :COMPONENT ; :hasBomRef "BOM-12345"^^xsd:string . """@en ; . :answersOnPort443 a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:subPropertyOf :answersOnPort ; rdfs:label "answersOnPort443" ; rdfs:domain :FQDN ; rdfs:range xsd:boolean ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using answersOnPort443 property :FQDN_www.example.org a :FQDN ; :answersOnPort443 "true"^^xsd:boolean . """@en ; . :answersOnPort80 a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:subPropertyOf :answersOnPort ; rdfs:label "answersOnPort80" ; rdfs:domain :FQDN ; rdfs:range xsd:boolean ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using answersOnPort80 property :FQDN_www.example.org a :FQDN ; :answersOnPort80 "true"^^xsd:boolean . """@en ; . :answersOnPort a owl:FunctionalProperty , owl:DatatypeProperty ; rdfs:label "answersOnPort" ; rdfs:domain :FQDN ; rdfs:range xsd:boolean ; vs:term_status "stable" ; rdfs:isDefinedBy dseco: ; skos:example """# Example of using answersOnPort property :FQDN_www.example.org a :FQDN ; :answersOnPort "true"^^xsd:boolean . """@en ; . ################################################################# # SHACL Shapes ################################################################# observable:AutonomousSystemShape a sh:NodeShape ; rdfs:comment "SHACL shape for hasAS."@en ; sh:targetClass [ owl:unionOf (observable:IPAddress observable:NetworkSubnet) ; a owl:Class ] ; sh:property [ sh:path :hasAS ; sh:name "Autonomous System Number" ; sh:maxCount 1 ] . :CountryShape a sh:NodeShape ; rdfs:comment "SHACL shape for hasCountry."@en ; sh:targetClass observable:IPAddress ; sh:property [ sh:path :hasCountry ; sh:datatype xsd:string ; sh:name "Country" ; sh:maxCount 1 ; sh:pattern "^[A-Z]+$" ; # Assuming country codes are in two-letter ISO format (or "UNKNOWN") sh:flags "i" # Case insensitive matching ] . :managedByShape a sh:NodeShape ; rdfs:comment "SHACL shape for managedBy."@en ; sh:targetClass :ZONE ; sh:property [ sh:path :managedBy ; sh:maxCount 1 ; sh:message "A ZONE instance can have only one value for managedBy." ; ] . :hasOrguShape a sh:NodeShape ; rdfs:comment "SHACL shape for hasOrgu."@en ; sh:targetClass observable:AutonomousSystem ; sh:property [ sh:path :hasOrgu ; sh:maxCount 1 ; sh:message "An ASN can belong to only one Orgu." ; ] . # === EOF =====================================================================