PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX ys: <https://w3id.org/yang/server#>

ys:Datastore a rdfs:Class ;
  rdfs:label "Datastore" ;
  rdfs:comment "A conceptual place to store and access information. A datastore might be implemented, for example, using files, a database, flash memory locations, or combinations thereof. A datastore maps to an instantiated YANG data tree." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> .

ys:server a rdf:Property ;
  rdfs:label "server" ;
  rdfs:comment "Refers to the YANG server that runs the YANG datastore." ;
  rdfs:domain ys:Datastore ;
  rdfs:range ys:YangServer .

ys:NetconfQuerySource a rdfs:Class ;
  rdfs:label "Netconf Query Source" ;
  rdfs:comment "Represents a NETCONF query operation in RML mappings." ;
  rdfs:seeAlso <https://w3id.org/yang/w3id.org/rml/io/spec> , <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf <http://w3id.org/rml/XPathReferenceFormulation> .

<http://xmlns.com/foaf/0.1/OnlineAccount> a rdfs:Class ;
  rdfs:label "Online Account" .

ys:DynamicDatastore a rdfs:Class ;
  rdfs:label "Dynamic Datastore" ;
  rdfs:comment "A configuration datastore holding configuration obtained dynamically during the operation of a device through interaction with other systems, rather than through one of the conventional configuration datastores." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:Datastore .

ys:RunningDatastore a rdfs:Class ;
  rdfs:label "Running Datastore" ;
  rdfs:comment "A configuration datastore holding the current configuration of the device.  It may include configuration that requires further transformations before it can be applied." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:ConventionalDatastore .

ys:ConventionalDatastore a rdfs:Class ;
  rdfs:label "Conventional Datastore" ;
  rdfs:comment "One of the following set of configuration datastores: `<running>`, `<startup>`, `<candidate>`, and `<intended>`.  These datastores share a common datastore schema, and protocol operations allow copying data between these datastores. The term \"conventional\" is chosen as a generic umbrella term for these datastores." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:Datastore .

ys:ServerAccount a rdfs:Class ;
  rdfs:label "Server Account" ;
  rdfs:comment "Represents an account used for accessing the YANG server." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf <http://xmlns.com/foaf/0.1/OnlineAccount> , <https://ontology.unifiedcyberontology.org/uco/observable/UserAccount> .

ys:username a rdf:Property ;
  rdfs:label "username" ;
  rdfs:comment "Username for accessing the YANG server." ;
  rdfs:domain ys:ServerAccount ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf <https://ontology.unifiedcyberontology.org/uco/observable/userName> , <http://xmlns.com/foaf/0.1/accountName> .

ys:Operation a rdfs:Class ;
  rdfs:label "Operation" ;
  rdfs:comment "Represents a Operation to a YANG server using the corresponding network management protocol." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> .

ys:filter a rdf:Property ;
  rdfs:label "filter" ;
  rdfs:comment "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
  rdfs:domain ys:Operation ;
  rdfs:range ys:Filter .

ys:sourceDatastore a rdf:Property ;
  rdfs:label "source datastore" ;
  rdfs:comment "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
  rdfs:domain ys:Operation ;
  rdfs:range ys:Datastore .

<https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> a rdfs:Class ;
  rdfs:label "SocketAddress" .

ys:Filter a rdfs:Class ;
  rdfs:label "Filter" ;
  rdfs:comment "Evaluation criteria that may be applied to fetch data from a given YANG server." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> .

ys:filterValue a rdf:Property ;
  rdfs:label "filter value" ;
  rdfs:comment "Value used by filter to access YANG data of the NETCONF server." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:domain ys:Filter ;
  rdfs:range xsd:string .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" .

ys:XPathFilter a rdfs:Class ;
  rdfs:label "XPath Filter" ;
  rdfs:comment "Evaluation criteria based on XPath expression." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf ys:Filter .

ys:namespace a rdf:Property ;
  rdfs:label "namespace" ;
  rdfs:comment "Refers to an XML namespace used in the XPath expression." ;
  rdfs:domain ys:XPathFilter ;
  rdfs:range ys:Namespace .

ys:xpathValue a rdf:Property ;
  rdfs:label "xpath value" ;
  rdfs:comment "XPath expression used to access YANG data of the YANG server." ;
  rdfs:domain ys:XPathFilter ;
  rdfs:range xsd:string ;
  rdfs:subPropertyOf ys:filterValue .

ys:CandidateDatastore a rdfs:Class ;
  rdfs:label "Candidate Datastore" ;
  rdfs:comment "A configuration datastore that can be manipulated without impacting the device's running configuration datastore and that can be committed to the running configuration datastore." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:ConventionalDatastore .

ys:YangServer a rdfs:Class ;
  rdfs:label "Yang Server" ;
  rdfs:comment "An entity that provides access to YANG-defined data to a client, over some network management protocol." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc7950> .

ys:socketAddress a rdf:Property ;
  rdfs:label "socket address" ;
  rdfs:comment "Refers to the socket address for connecting to the YANG server." ;
  rdfs:domain ys:YangServer ;
  rdfs:range <https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> .

ys:datastore a rdf:Property ;
  rdfs:label "datastore" ;
  rdfs:comment "Indicates the YANG datastore used by the YANG server." ;
  rdfs:domain ys:YangServer ;
  rdfs:range ys:Datastore .

ys:OnChangeSubscription a rdfs:Class ;
  rdfs:label "On-change Subscription" ;
  rdfs:comment "A datastore subscription with updates that are triggered when changes in subscribed datastore nodes are detected." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8641> ;
  rdfs:subClassOf ys:Subscription .

ys:IntendedDatastore a rdfs:Class ;
  rdfs:label "Intended Datastore" ;
  rdfs:comment "A configuration datastore holding the complete intended configuration of the device. This represents the configuration after all configuration transformations to <running> have been performed and is the configuration that the system attempts to apply." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:ConventionalDatastore .

ys:Query a rdfs:Class ;
  rdfs:label "Query" ;
  rdfs:comment "Represents a query operation to a YANG server using the corresponding network management protocol." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf ys:Operation .

ys:PeriodicSubscription a rdfs:Class ;
  rdfs:label "Periodic Subscription" ;
  rdfs:comment "A datastore subscription with updates that are triggered periodically according to some time interval." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8641> ;
  rdfs:subClassOf ys:Subscription .

ys:period a rdf:Property ;
  rdfs:label "period" ;
  rdfs:comment "Refers to period interval with which to report updates in a periodic subscription." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8641> ;
  rdfs:domain ys:PeriodicSubscription ;
  rdfs:range ys:Period .

ys:Period a rdfs:Class ;
  rdfs:label "Period" ;
  rdfs:comment "Represents the period interval with which to report updates in a periodic subscription." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8641> .

<http://w3id.org/rml/XPathReferenceFormulation> a rdfs:Class .

ys:NetconfCapability a rdfs:Class ;
  rdfs:label "Netconf Capability" ;
  rdfs:comment "NETCONF capability." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> .

ys:netconfCapabilityId a rdf:Property ;
  rdfs:label "netconf capability id" ;
  rdfs:comment "Represents the URI that identifies the NETCONF capability." ;
  rdfs:domain ys:NetconfCapability ;
  rdfs:range xsd:anyURI .

ys:netconfCapabilityVersion a rdf:Property ;
  rdfs:label "netconf capability version" ;
  rdfs:comment "Represents the version of the NETCONF capability." ;
  rdfs:domain ys:NetconfCapability ;
  rdfs:range xsd:anyURI .

ys:netconfCapabilityName a rdf:Property ;
  rdfs:label "netconf capability name" ;
  rdfs:comment "Represents the name of the NETCONF capability." ;
  rdfs:domain ys:NetconfCapability ;
  rdfs:range xsd:string .

<https://ontology.unifiedcyberontology.org/uco/observable/UserAccount> a rdfs:Class ;
  rdfs:label "UserAccount" .

ys:StartupDatastore a rdfs:Class ;
  rdfs:label "Startup Datastore" ;
  rdfs:comment "A configuration datastore holding the configuration loaded by the device into the running configuration datastore when it boots." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:ConventionalDatastore .

ys:NetconfServer a rdfs:Class ;
  rdfs:label "Netconf Server" ;
  rdfs:comment "YANG server that can be managed via the NETCONF protocol." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf ys:YangServer .

ys:capability a rdf:Property ;
  rdfs:label "capability" ;
  rdfs:comment "Refers to the NETCONF capability supported by the NETCONF server." ;
  rdfs:domain ys:NetconfServer ;
  rdfs:range ys:NetconfCapability .

ys:hostKeyVerification a rdf:Property ;
  rdfs:label "host key verification" ;
  rdfs:comment "Indicates whether SSH host key is verified to access the NETCONF server." ;
  rdfs:domain ys:NetconfServer ;
  rdfs:range xsd:boolean .

ys:Namespace a rdfs:Class ;
  rdfs:label "Namespace" ;
  rdfs:comment "Represents an XML namespace used in the XPath expression." .

ys:namespacePrefix a rdf:Property ;
  rdfs:label "namespace prefix" ;
  rdfs:comment "Prefix of the XML namespace." ;
  rdfs:domain ys:Namespace ;
  rdfs:range xsd:string .

ys:namespaceURL a rdf:Property ;
  rdfs:label "namespace url" ;
  rdfs:comment "URL of the XML namespace." ;
  rdfs:domain ys:Namespace ;
  rdfs:range xsd:anyURI .

ys:Subscription a rdfs:Class ;
  rdfs:label "Subscription" ;
  rdfs:comment "Represents a subscription operation to a YANG server using the corresponding network management protocol." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8641> ;
  rdfs:subClassOf ys:Operation .

ys:SubtreeFilter a rdfs:Class ;
  rdfs:label "Subtree Filter" ;
  rdfs:comment "Evaluation criteria based on XML subtree expression." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc6241> ;
  rdfs:subClassOf ys:Filter .

ys:subtreeValue a rdf:Property ;
  rdfs:label "subtree value" ;
  rdfs:comment "XML Subtree filter used to access YANG data of the NETCONF server." ;
  rdfs:domain ys:SubtreeFilter ;
  rdfs:range rdf:XMLLiteral ;
  rdfs:subPropertyOf ys:filterValue .

ys:OperationalDatastore a rdfs:Class ;
  rdfs:label "Operational Datastore" ;
  rdfs:comment "A datastore holding the complete operational state of the device." ;
  rdfs:seeAlso <https://datatracker.ietf.org/doc/rfc8342> ;
  rdfs:subClassOf ys:Datastore .

<http://qudt.org/schema/qudt/Unit> a rdfs:Class ;
  rdfs:label "Unit" .

<http://qudt.org/schema/qudt/numericValue> a rdf:Property ;
  rdfs:label "numeric value" ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://qudt.org/schema/qudt/unit> a rdf:Property ;
  rdfs:label "unit" ;
  rdfs:range <http://qudt.org/schema/qudt/Unit> .

<http://xmlns.com/foaf/0.1/accountName> a rdf:Property ;
  rdfs:label "account name" ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://ontology.unifiedcyberontology.org/uco/observable/addressValue> a rdf:Property ;
  rdfs:label "addressValue" ;
  rdfs:range <https://w3id.org/linkml/Any> .

<https://ontology.unifiedcyberontology.org/uco/observable/userName> a rdf:Property ;
  rdfs:label "userName" ;
  rdfs:range <https://w3id.org/linkml/Any> .

rdf:XMLLiteral a rdfs:Datatype .
