|
| 1 | +@prefix : <http://w3id.org/rml/> . |
| 2 | +@prefix cc: <http://creativecommons.org/ns#> . |
| 3 | +@prefix dc: <http://purl.org/dc/terms/> . |
| 4 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 5 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 6 | +@prefix xml: <http://www.w3.org/XML/1998/namespace> . |
| 7 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 8 | +@prefix foaf: <http://xmlns.com/foaf/0.1/> . |
| 9 | +@prefix rr: <http://www.w3.org/ns/r2rml#> . |
| 10 | +@prefix oldrml: <http://semweb.mmlab.be/ns/rml#> . |
| 11 | +@prefix rml: <http://w3id.org/rml/> . |
| 12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 13 | +@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . |
| 14 | +@prefix vann: <http://purl.org/vocab/vann/> . |
| 15 | +@base <http://w3id.org/rml/> . |
| 16 | + |
| 17 | +<http://w3id.org/rml/rr-rml-io-bc> rdf:type owl:Ontology ; |
| 18 | + dc:description "This module specifies the relationships established by the R2RML and previous RML vocabularies to the new RML-IO specification."@en ; |
| 19 | + dc:modified "2023-05-02" ; |
| 20 | + dc:title "R2RML to RML alignment module for RML-IO"@en ; |
| 21 | + dc:creator "Ana Iglesias Molina" ; |
| 22 | + dc:license <http://purl.org/NET/rdflicense/cc-by4.0> ; |
| 23 | + vann:preferredNamespaceUri "http://w3id.org/rml/rr-rml-io-bc" . |
| 24 | + |
| 25 | +################################################################# |
| 26 | +# Annotation properties |
| 27 | +################################################################# |
| 28 | + |
| 29 | +### http://creativecommons.org/ns#license |
| 30 | +cc:license rdf:type owl:AnnotationProperty . |
| 31 | + |
| 32 | + |
| 33 | +### http://purl.org/dc/elements/1.1/contributor |
| 34 | +dc:contributor rdf:type owl:AnnotationProperty . |
| 35 | + |
| 36 | + |
| 37 | +### http://purl.org/dc/elements/1.1/creator |
| 38 | +dc:creator rdf:type owl:AnnotationProperty . |
| 39 | + |
| 40 | + |
| 41 | +### http://purl.org/dc/elements/1.1/description |
| 42 | +dc:description rdf:type owl:AnnotationProperty . |
| 43 | + |
| 44 | + |
| 45 | +### http://purl.org/dc/elements/1.1/issued |
| 46 | +dc:issued rdf:type owl:AnnotationProperty . |
| 47 | + |
| 48 | + |
| 49 | +### http://purl.org/dc/elements/1.1/modified |
| 50 | +dc:modified rdf:type owl:AnnotationProperty . |
| 51 | + |
| 52 | + |
| 53 | +### http://purl.org/dc/elements/1.1/publisher |
| 54 | +dc:publisher rdf:type owl:AnnotationProperty . |
| 55 | + |
| 56 | + |
| 57 | +### http://purl.org/dc/elements/1.1/title |
| 58 | +dc:title rdf:type owl:AnnotationProperty . |
| 59 | + |
| 60 | + |
| 61 | +### http://purl.org/vocab/vann/preferredNamespacePrefix |
| 62 | +vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty . |
| 63 | + |
| 64 | + |
| 65 | +### http://purl.org/vocab/vann/preferredNamespaceUri |
| 66 | +vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . |
| 67 | + |
| 68 | + |
| 69 | +### http://www.linkedmodel.org/schema/vaem#acronym |
| 70 | +vaem:acronym rdf:type owl:AnnotationProperty . |
| 71 | + |
| 72 | + |
| 73 | +### http://xmlns.com/foaf/0.1/name |
| 74 | +foaf:name rdf:type owl:AnnotationProperty . |
| 75 | + |
| 76 | + |
| 77 | +################################################################# |
| 78 | +# Classes |
| 79 | +################################################################# |
| 80 | + |
| 81 | +oldrml:LogicalSource rdf:type owl:Class ; |
| 82 | + rdfs:comment "Denotes a logical source."@en ; |
| 83 | + rdfs:label "Logical Source"@en ; |
| 84 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/rml#> ; |
| 85 | + owl:equivalentClass rml:LogicalSource . |
| 86 | + |
| 87 | +rr:LogicalTable rdf:type owl:Class ; |
| 88 | + rdfs:comment "Denotes a logical table."@en ; |
| 89 | + rdfs:label "Logical Table"@en ; |
| 90 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 91 | + dc:isReplacedBy rml:LogicalSource . |
| 92 | + |
| 93 | +oldrml:BaseSource rdf:type owl:Class ; |
| 94 | + rdfs:comment "Denotes a base source."@en ; |
| 95 | + rdfs:label "Base Source"@en ; |
| 96 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/rml#> ; |
| 97 | + dc:isReplacedBy rml:LogicalSource . |
| 98 | + |
| 99 | +rr:BaseTableOrView rdf:type owl:Class ; |
| 100 | + rdfs:comment "Denotes a base table or view."@en ; |
| 101 | + rdfs:label "Base Table Or View"@en ; |
| 102 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 103 | + dc:isReplacedBy rml:LogicalSource . |
| 104 | + |
| 105 | +rr:R2RMLView rdf:type owl:Class ; |
| 106 | + rdfs:comment "Denotes an R2RML view."@en ; |
| 107 | + rdfs:label "R2RML View"@en ; |
| 108 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 109 | + dc:isReplacedBy rml:LogicalSource . |
| 110 | + |
| 111 | + |
| 112 | +################################################################# |
| 113 | +# Object Properties |
| 114 | +################################################################# |
| 115 | + |
| 116 | +rr:sqlVersion rdf:type owl:ObjectProperty ; |
| 117 | + rdfs:label "SQL version"@en ; |
| 118 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 119 | + dc:isReplacedBy rml:referenceFormulation ; |
| 120 | + rdfs:comment "An identifier for a SQL version."@en . |
| 121 | + |
| 122 | +oldrml:source rdf:type rdf:Property ; |
| 123 | + rdfs:label "source"@en ; |
| 124 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/rml#> ; |
| 125 | + dc:isReplacedBy rml:source ; |
| 126 | + rdfs:comment "Qualified name of the source data."@en . |
| 127 | + |
| 128 | + |
| 129 | +################################################################# |
| 130 | +# Data properties |
| 131 | +################################################################# |
| 132 | + |
| 133 | +rr:tableName rdf:type owl:DatatypeProperty ; |
| 134 | + rdfs:label "table name"@en ; |
| 135 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 136 | + dc:isReplacedBy rml:source ; |
| 137 | + rdfs:comment "Schema-qualified name of a table or view."@en . |
| 138 | + |
| 139 | +rr:sqlQuery rdf:type owl:DatatypeProperty ; |
| 140 | + rdfs:label "SQL query"@en ; |
| 141 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 142 | + dc:isReplacedBy rml:query ; |
| 143 | + rdfs:comment "A valid SQL query."@en . |
| 144 | + |
| 145 | +oldrml:iterator rdf:type owl:DatatypeProperty ; |
| 146 | + rdfs:label "iterator"@en ; |
| 147 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 148 | + owl:equivalentProperty rml:iterator ; |
| 149 | + rdfs:comment "an expression qualified according to the reference formulation specified for pointing to an extract of the source data."@en . |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | +################################################################# |
| 154 | +# Named Individuals |
| 155 | +################################################################# |
| 156 | + |
| 157 | +ql:CSV rdf:type owl:NamedIndividual, oldrml:ReferenceFormulation ; |
| 158 | + rdfs:label "CSV" ; |
| 159 | + rdfs:comment "Denotes that the CSV file's column names are used for referring to extracts of CSV resources."@en ; |
| 160 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/ql#> ; |
| 161 | + dc:isReplacedBy rml:CSV . |
| 162 | + |
| 163 | +ql:JSONPath rdf:type owl:NamedIndividual, oldrml:ReferenceFormulation ; |
| 164 | + rdfs:label "JSONPath" ; |
| 165 | + rdfs:comment "Denotes the JSONPath reference formulation, used for referring to extracts of JSON sources."@en ; |
| 166 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/ql#> ; |
| 167 | + dc:isReplacedBy rml:JSONPath . |
| 168 | + |
| 169 | +ql:XPath rdf:type owl:NamedIndividual, oldrml:ReferenceFormulation ; |
| 170 | + rdfs:label "JSONPath" ; |
| 171 | + rdfs:comment "Denotes the XPath reference formulation, used for referring to extracts of XML sources."@en ; |
| 172 | + rdfs:isDefinedBy <http://semweb.mmlab.be/ns/ql#> ; |
| 173 | + dc:isReplacedBy rml:XPath . |
| 174 | + |
| 175 | +rr:SQL2008 rdf:type owl:NamedIndividual ; |
| 176 | + rdfs:label "SQL 2008" ; |
| 177 | + rdfs:comment "Core SQL 2008"@en ; |
| 178 | + rdfs:isDefinedBy <http://www.w3.org/ns/r2rml#> ; |
| 179 | + dc:isReplacedBy rml:SQL2008 . |
0 commit comments