@prefix : <http://w3id.org/rml/io/> .
@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/rml/io/> .

<http://w3id.org/rml/io/> rdf:type owl:Ontology ;
                           owl:versionIRI <http://w3id.org/rml/io> ;
                           owl:imports <http://w3id.org/rml/core/> ;
                           <http://purl.org/dc/terms/contributor> "Ana Iglesias Molina" ,
                                                                  "Anastasia Dimou" ,
                                                                  "Dylan Van Assche" ,
                                                                  "Pano Maria" ,
                                                                  "Sitt Min Oo" ;
                           <http://purl.org/dc/terms/created> "2023-03-14" ;
                           <http://purl.org/dc/terms/description> "RML-IO enables the description of input data sources and target output data serialization "@en ;
                           <http://purl.org/dc/terms/license> <http://purl.org/NET/rdflicense/cc-by4.0> ;
                           <http://purl.org/dc/terms/modified> "2025-01-18" ;
                           <http://purl.org/dc/terms/publisher> <https://www.w3.org/community/kg-construct/> ;
                           <http://purl.org/dc/terms/title> "RML-IO: Source and Target"@en ;
                           <http://purl.org/ontology/bibo/status> "draft" ;
                           <http://purl.org/vocab/vann/preferredNamespacePrefix> "rml" ;
                           <http://purl.org/vocab/vann/preferredNamespaceUri> "http://w3id.org/rml/" ;
                           owl:versionInfo "0.1.0" .

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

###  http://creativecommons.org/ns#license
<http://creativecommons.org/ns#license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/contributor
<http://purl.org/dc/terms/contributor> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/created
<http://purl.org/dc/terms/created> rdf:type owl:AnnotationProperty .


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


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


###  http://purl.org/dc/terms/issued
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/modified
<http://purl.org/dc/terms/modified> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/publisher
<http://purl.org/dc/terms/publisher> rdf:type owl:AnnotationProperty .


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


###  http://purl.org/ontology/bibo/status
<http://purl.org/ontology/bibo/status> rdf:type owl:AnnotationProperty .


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


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


###  http://www.linkedmodel.org/schema/vaem#acronym
<http://www.linkedmodel.org/schema/vaem#acronym> rdf:type owl:AnnotationProperty .


###  http://xmlns.com/foaf/0.1/name
<http://xmlns.com/foaf/0.1/name> rdf:type owl:AnnotationProperty .


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

###  http://w3id.org/rml/compression
<http://w3id.org/rml/compression> rdf:type owl:ObjectProperty ;
                                  rdfs:domain [ rdf:type owl:Class ;
                                                owl:unionOf ( <http://w3id.org/rml/Source>
                                                              <http://w3id.org/rml/Target>
                                                            )
                                              ] ;
                                  rdfs:range <http://w3id.org/rml/Compression> ;
                                  rdfs:comment "Defines the compression format of a Source or Target."@en ;
                                  rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                  rdfs:label "compression" .


###  http://w3id.org/rml/encoding
<http://w3id.org/rml/encoding> rdf:type owl:ObjectProperty ;
                               rdfs:domain [ rdf:type owl:Class ;
                                             owl:unionOf ( <http://w3id.org/rml/Source>
                                                           <http://w3id.org/rml/Target>
                                                         )
                                           ] ;
                               rdfs:range <http://w3id.org/rml/Encoding> ;
                               rdfs:comment "Defines the encoding format of a Source or Target."@en ;
                               rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                               rdfs:label "encoding" .


###  http://w3id.org/rml/logicalTarget
<http://w3id.org/rml/logicalTarget> rdf:type owl:ObjectProperty ;
                                    rdfs:domain [ rdf:type owl:Class ;
                                                  owl:unionOf ( <http://w3id.org/rml/LanguageMap>
                                                                <http://w3id.org/rml/TermMap>
                                                              )
                                                ] ;
                                    rdfs:range <http://w3id.org/rml/LogicalTarget> ;
                                    rdfs:comment "Represents the logical target to where triples are exported to." ;
                                    rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                    rdfs:label "logical target" .


###  http://w3id.org/rml/namespace
<http://w3id.org/rml/namespace> rdf:type owl:ObjectProperty ;
                                rdfs:domain <http://w3id.org/rml/XPathReferenceFormulation> ;
                                rdfs:range <http://w3id.org/rml/Namespace> ;
                                rdfs:comment "A namespace for describing a XPath reference formulation."@en ;
                                rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                rdfs:label "namespace" .


###  http://w3id.org/rml/root
<http://w3id.org/rml/root> rdf:type owl:ObjectProperty ;
                           rdfs:domain [ rdf:type owl:Class ;
                                         owl:unionOf ( <http://w3id.org/rml/FilePath>
                                                       <http://w3id.org/rml/RelativePath>
                                                     )
                                       ] ;
                           rdfs:range [ rdf:type owl:Class ;
                                        owl:unionOf ( <http://w3id.org/rml/CurrentWorkingDirectory>
                                                      <http://w3id.org/rml/MappingDirectory>
                                                      rdf:Literal
                                                    )
                                      ] ;
                           rdfs:comment "Defines the root of the relative path."@en ;
                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                           rdfs:label "root" .


###  http://w3id.org/rml/serialization
<http://w3id.org/rml/serialization> rdf:type owl:ObjectProperty ;
                                    rdfs:domain <http://w3id.org/rml/LogicalTarget> ;
                                    rdfs:range <http://www.w3.org/ns/formats/Format> ;
                                    rdfs:comment "Defines the serialization to generate the target output."@en ;
                                    rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                    rdfs:label "serialization" .


###  http://w3id.org/rml/source
<http://w3id.org/rml/source> rdf:type owl:ObjectProperty ;
                             rdfs:domain <http://w3id.org/rml/LogicalSource> ;
                             rdfs:range [ rdf:type owl:Class ;
                                          owl:unionOf ( <http://w3id.org/rml/RelativePath>
                                                        <http://w3id.org/rml/Source>
                                                      )
                                        ] ;
                             rdfs:comment "Defines the source that describe the input data."@en ;
                             rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                             rdfs:label "source" .


###  http://w3id.org/rml/target
<http://w3id.org/rml/target> rdf:type owl:ObjectProperty ;
                             rdfs:domain <http://w3id.org/rml/LogicalTarget> ;
                             rdfs:range [ rdf:type owl:Class ;
                                          owl:unionOf ( <http://w3id.org/rml/RelativePath>
                                                        <http://w3id.org/rml/Target>
                                                      )
                                        ] ;
                             rdfs:comment "Defines the target that describe the output data."@en ;
                             rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                             rdfs:label "target" .


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

###  http://w3id.org/rml/namespacePrefix
<http://w3id.org/rml/namespacePrefix> rdf:type owl:DatatypeProperty ;
                                      rdfs:domain <http://w3id.org/rml/Namespace> ;
                                      rdfs:range xsd:string ;
                                      rdfs:comment "Describes the prefix of a namespace."@en ;
                                      rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                      rdfs:label "namespace prefix" .


###  http://w3id.org/rml/namespaceURL
<http://w3id.org/rml/namespaceURL> rdf:type owl:DatatypeProperty ;
                                   rdfs:domain <http://w3id.org/rml/Namespace> ;
                                   rdfs:comment "Describes the URL of a namespace."@en ;
                                   rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                   rdfs:label "namespace URL" .


###  http://w3id.org/rml/null
<http://w3id.org/rml/null> rdf:type owl:DatatypeProperty ;
                           rdfs:domain <http://w3id.org/rml/Source> ;
                           rdfs:range xsd:string ;
                           rdfs:comment "Describes which data values inside the source should be considered as NULL."@en ;
                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                           rdfs:label "null" .


###  http://w3id.org/rml/path
<http://w3id.org/rml/path> rdf:type owl:DatatypeProperty ;
                           rdfs:domain [ rdf:type owl:Class ;
                                         owl:unionOf ( <http://w3id.org/rml/FilePath>
                                                       <http://w3id.org/rml/LogicalSource>
                                                     )
                                       ] ;
                           rdfs:range xsd:string ;
                           rdfs:comment "Denotes the path to a source or target resource."@en ;
                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                           rdfs:label "path" .


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

###  http://w3id.org/rml/AbstractLogicalSource
<http://w3id.org/rml/AbstractLogicalSource> rdf:type owl:Class .


###  http://w3id.org/rml/Compression
<http://w3id.org/rml/Compression> rdf:type owl:Class ;
                                  rdfs:comment "Represents file compression schemes."@en ;
                                  rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                  rdfs:label "compression class" .


###  http://w3id.org/rml/CurrentWorkingDirectory
<http://w3id.org/rml/CurrentWorkingDirectory> rdf:type owl:Class ;
                                              rdfs:comment "Denotes the path to the current working directory of the RML processor."@en ;
                                              rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                              rdfs:label "Current Working Directory" .


###  http://w3id.org/rml/Encoding
<http://w3id.org/rml/Encoding> rdf:type owl:Class ;
                               rdfs:comment "Represents encoding formats."@en ;
                               rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                               rdfs:label "Encoding class" .


###  http://w3id.org/rml/FilePath
<http://w3id.org/rml/FilePath> rdf:type owl:Class ;
                               rdfs:comment "Denotes a file's path location."@en ;
                               rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                               rdfs:label "File Path" .


###  http://w3id.org/rml/LanguageMap
<http://w3id.org/rml/LanguageMap> rdf:type owl:Class .


###  http://w3id.org/rml/LogicalSource
<http://w3id.org/rml/LogicalSource> rdf:type owl:Class ;
                                    rdfs:subClassOf <http://w3id.org/rml/AbstractLogicalSource> ;
                                    rdfs:comment "Denotes a logical source."@en ;
                                    rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                    rdfs:label "Logical Source" .


###  http://w3id.org/rml/LogicalTarget
<http://w3id.org/rml/LogicalTarget> rdf:type owl:Class ;
                                    rdfs:comment "Denotes a logical target."@en ;
                                    rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                    rdfs:label "LogicalTarget" .


###  http://w3id.org/rml/MappingDirectory
<http://w3id.org/rml/MappingDirectory> rdf:type owl:Class ;
                                       rdfs:comment "Denotes the path to the location of the RML mapping."@en ;
                                       rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                       rdfs:label "Mapping Directory" .


###  http://w3id.org/rml/Namespace
<http://w3id.org/rml/Namespace> rdf:type owl:Class ;
                                rdfs:comment "Denotes a namespace."@en ;
                                rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                rdfs:label "Namespace" .


###  http://w3id.org/rml/ReferenceFormulation
<http://w3id.org/rml/ReferenceFormulation> rdf:type owl:Class ;
                                           rdfs:comment "Denotes a Reference Formulation."@en ;
                                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                           rdfs:label "Reference Formulation" .


###  http://w3id.org/rml/RelativePath
<http://w3id.org/rml/RelativePath> rdf:type owl:Class ;
                                   rdfs:comment "Denotes a relative path location."@en ;
                                   rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                   rdfs:label "Relative Path" .


###  http://w3id.org/rml/Source
<http://w3id.org/rml/Source> rdf:type owl:Class ;
                             rdfs:comment "Denotes a source."@en ;
                             rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                             rdfs:label "Source" .


###  http://w3id.org/rml/Target
<http://w3id.org/rml/Target> rdf:type owl:Class ;
                             rdfs:comment "Denotes a target."@en ;
                             rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                             rdfs:label "Target" .


###  http://w3id.org/rml/TermMap
<http://w3id.org/rml/TermMap> rdf:type owl:Class .


###  http://w3id.org/rml/XPathReferenceFormulation
<http://w3id.org/rml/XPathReferenceFormulation> rdf:type owl:Class ;
                                                rdfs:subClassOf <http://w3id.org/rml/ReferenceFormulation> ;
                                                rdfs:comment "Denotes a XPath Reference Formulation."@en ;
                                                rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                                rdfs:label "XPath Reference Formulation" .


###  http://www.w3.org/1999/02/22-rdf-syntax-ns#Literal
rdf:Literal rdf:type owl:Class .


###  http://www.w3.org/ns/formats/Format
<http://www.w3.org/ns/formats/Format> rdf:type owl:Class .


#################################################################
#    Individuals
#################################################################

###  http://w3id.org/rml/CSV
<http://w3id.org/rml/CSV> rdf:type owl:NamedIndividual ,
                                   <http://w3id.org/rml/ReferenceFormulation> ;
                          rdfs:comment "Denotes that the CSV file's column names are used for referring to extracts of CSV resources."@en ;
                          rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                          rdfs:label "CSV" ;
                          rdfs:seeAlso <http://tools.ietf.org/html/rfc4180> .


###  http://w3id.org/rml/JSONPath
<http://w3id.org/rml/JSONPath> rdf:type owl:NamedIndividual ,
                                        <http://w3id.org/rml/ReferenceFormulation> ;
                               rdfs:comment "Denotes the JSONPath reference formulation, used for referring to extracts of JSON sources."@en ;
                               rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                               rdfs:label "JSONPath" .


###  http://w3id.org/rml/SQL2008Query
<http://w3id.org/rml/SQL2008Query> rdf:type owl:NamedIndividual ,
                                            <http://w3id.org/rml/ReferenceFormulation> ;
                                   rdfs:comment "Denotes a query in SQL 2008."@en ;
                                   rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                   rdfs:label "SQL 2008 Query" .


###  http://w3id.org/rml/SQL2008Table
<http://w3id.org/rml/SQL2008Table> rdf:type owl:NamedIndividual ,
                                            <http://w3id.org/rml/ReferenceFormulation> ;
                                   rdfs:comment "Denotes a table in SQL 2008."@en ;
                                   rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                                   rdfs:label "SQL 2008 Table" .


###  http://w3id.org/rml/UTF-16
<http://w3id.org/rml/UTF-16> rdf:type owl:NamedIndividual ,
                                      <http://w3id.org/rml/Encoding> ;
                             rdfs:comment "Represents the UFT-16 encoding."@en ;
                             rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                             rdfs:label "UTF-16" .


###  http://w3id.org/rml/UTF-8
<http://w3id.org/rml/UTF-8> rdf:type owl:NamedIndividual ,
                                     <http://w3id.org/rml/Encoding> ;
                            rdfs:comment "Represents the UFT-8 encoding."@en ;
                            rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                            rdfs:label "UTF-8" .


###  http://w3id.org/rml/XPath
<http://w3id.org/rml/XPath> rdf:type owl:NamedIndividual ,
                                     <http://w3id.org/rml/ReferenceFormulation> ;
                            rdfs:comment "Denotes the XPath reference formulation, used for referring to extracts of XML sources."@en ;
                            rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                            rdfs:label "XPath" ;
                            rdfs:seeAlso <http://www.w3.org/TR/xpath20/> .


###  http://w3id.org/rml/gzip
<http://w3id.org/rml/gzip> rdf:type owl:NamedIndividual ,
                                    <http://w3id.org/rml/Compression> ;
                           rdfs:comment "Represents GZip file compression."@en ;
                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                           rdfs:label "GZip" .


###  http://w3id.org/rml/none
<http://w3id.org/rml/none> rdf:type owl:NamedIndividual ,
                                    <http://w3id.org/rml/Compression> ;
                           rdfs:comment "Represents no compression."@en ;
                           rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                           rdfs:label "None" .


###  http://w3id.org/rml/targz
<http://w3id.org/rml/targz> rdf:type owl:NamedIndividual ,
                                     <http://w3id.org/rml/Compression> ;
                            rdfs:comment "Represents TarGZip file compression."@en ;
                            rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                            rdfs:label "TarGZip" .


###  http://w3id.org/rml/tarxz
<http://w3id.org/rml/tarxz> rdf:type owl:NamedIndividual ,
                                     <http://w3id.org/rml/Compression> ;
                            rdfs:comment "Represents TarXz file compression."@en ;
                            rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                            rdfs:label "TarXz" .


###  http://w3id.org/rml/zip
<http://w3id.org/rml/zip> rdf:type owl:NamedIndividual ,
                                   <http://w3id.org/rml/Compression> ;
                          rdfs:comment "Represents Zip file compression."@en ;
                          rdfs:isDefinedBy <http://w3id.org/rml/io/> ;
                          rdfs:label "Zip" .


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