r2rml.rdf 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. <?xml version="1.0"?>
  2. <!DOCTYPE rdf:RDF [
  3. <!ENTITY r2rml "http://www.w3.org/ns/r2rml#" >
  4. <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
  5. <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
  6. <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
  7. <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
  8. ]>
  9. <rdf:RDF xmlns="http://www.w3.org/ns/r2rml#"
  10. xml:base="http://www.w3.org/ns/r2rml"
  11. xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  12. xmlns:r2rml="http://www.w3.org/ns/r2rml#"
  13. xmlns:owl="http://www.w3.org/2002/07/owl#"
  14. xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  15. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  16. xmlns:dc="http://purl.org/dc/elements/1.1/"
  17. xmlns:foaf="http://xmlns.com/foaf/0.1/"
  18. xmlns:cc="http://creativecommons.org/ns#"
  19. xmlns:vann="http://purl.org/vocab/vann/"
  20. xmlns:vaem="http://www.linkedmodel.org/schema/vaem#">
  21. <owl:Ontology rdf:about="http://www.w3.org/ns/r2rml#">
  22. <dc:title xml:lang="en">R2RML vocabulary</dc:title>
  23. <rdf:type rdf:resource="http://purl.org/vocommons/voaf#Vocabulary"/>
  24. <dc:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-01-24</dc:issued>
  25. <dc:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-07-16</dc:modified>
  26. <dc:description xml:lang="en">RDB to RDF Mapping Language - Vocabulary</dc:description>
  27. <dc:creator>
  28. <foaf:Person rdf:about="http://richard.cyganiak.de/foaf.rdf#cygri">
  29. <foaf:name>Richard Cyganiak</foaf:name>
  30. </foaf:Person>
  31. </dc:creator>
  32. <dc:contributor>
  33. <foaf:Person rdf:about="http://boris.villazon.terrazas.name">
  34. <foaf:name>Boris Villazon-Terrazas</foaf:name>
  35. </foaf:Person>
  36. </dc:contributor>
  37. <dc:contributor>
  38. <foaf:Person rdf:about="http://www.w3.org/People/Ivan/">
  39. <foaf:name>Ivan Herman</foaf:name>
  40. </foaf:Person>
  41. </dc:contributor>
  42. <dc:publisher>
  43. <foaf:Organization rdf:about="http://www.w3.org/">
  44. <rdfs:label xml:lang="en">The World Wide Web Consortium (W3C)</rdfs:label>
  45. <vaem:acronym>W3C</vaem:acronym>
  46. </foaf:Organization>
  47. </dc:publisher>
  48. <cc:license rdf:resource="http://creativecommons.org/licenses/by/3.0/"/>
  49. <vann:preferredNamespacePrefix>rr</vann:preferredNamespacePrefix>
  50. <vann:preferredNamespaceUri>http://www.w3.org/ns/r2rml#</vann:preferredNamespaceUri>
  51. </owl:Ontology>
  52. <!--
  53. ///////////////////////////////////////////////////////////////////////////////////////
  54. //
  55. // Annotation properties
  56. //
  57. ///////////////////////////////////////////////////////////////////////////////////////
  58. -->
  59. <!--
  60. ///////////////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Datatypes
  63. //
  64. ///////////////////////////////////////////////////////////////////////////////////////
  65. -->
  66. <!--
  67. ///////////////////////////////////////////////////////////////////////////////////////
  68. //
  69. // Object Properties
  70. //
  71. ///////////////////////////////////////////////////////////////////////////////////////
  72. -->
  73. <!-- http://www.w3.org/ns/r2rml#class -->
  74. <owl:ObjectProperty rdf:about="&r2rml;class">
  75. <rdfs:comment xml:lang="en">The subject value generated for a logical table row will be asserted as an instance of this RDFS class.</rdfs:comment>
  76. <rdfs:range rdf:resource="&rdfs;Class"/>
  77. <rdfs:domain rdf:resource="&r2rml;SubjectMap"/>
  78. </owl:ObjectProperty>
  79. <!-- http://www.w3.org/ns/r2rml#constant -->
  80. <owl:ObjectProperty rdf:about="&r2rml;constant"/>
  81. <!-- http://www.w3.org/ns/r2rml#datatype -->
  82. <owl:ObjectProperty rdf:about="&r2rml;datatype">
  83. <rdfs:comment xml:lang="en">Specifies the datatype of the object component for the generated triple from a logical table row.</rdfs:comment>
  84. <rdfs:range rdf:resource="&rdfs;Datatype"/>
  85. <rdfs:domain rdf:resource="&r2rml;ObjectMap"/>
  86. </owl:ObjectProperty>
  87. <!-- http://www.w3.org/ns/r2rml#graph -->
  88. <owl:ObjectProperty rdf:about="&r2rml;graph">
  89. <rdfs:comment xml:lang="en">An IRI reference for use as the graph name of all triples generated with the GraphMap.</rdfs:comment>
  90. <rdfs:domain>
  91. <owl:Class>
  92. <owl:intersectionOf rdf:parseType="Collection">
  93. <rdf:Description rdf:about="&r2rml;GraphMap"/>
  94. <owl:Restriction>
  95. <owl:onProperty rdf:resource="&r2rml;template"/>
  96. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:maxQualifiedCardinality>
  97. <owl:onDataRange rdf:resource="&xsd;string"/>
  98. </owl:Restriction>
  99. </owl:intersectionOf>
  100. </owl:Class>
  101. </rdfs:domain>
  102. </owl:ObjectProperty>
  103. <!-- http://www.w3.org/ns/r2rml#graphMap -->
  104. <owl:ObjectProperty rdf:about="&r2rml;graphMap">
  105. <rdfs:comment xml:lang="en">Specifies a GraphMap. When used with a SubjectMap element, all the RDF triples generated from a logical row will be stored in the specified named graph. Otherwise, the RDF triple generated using the (predicate, object) pair will be stored in the specified named graph.</rdfs:comment>
  106. <rdfs:range rdf:resource="&r2rml;GraphMap"/>
  107. <rdfs:domain>
  108. <owl:Class>
  109. <owl:unionOf rdf:parseType="Collection">
  110. <rdf:Description rdf:about="&r2rml;PredicateObjectMap"/>
  111. <rdf:Description rdf:about="&r2rml;SubjectMap"/>
  112. </owl:unionOf>
  113. </owl:Class>
  114. </rdfs:domain>
  115. </owl:ObjectProperty>
  116. <!-- http://www.w3.org/ns/r2rml#joinCondition -->
  117. <owl:ObjectProperty rdf:about="&r2rml;joinCondition">
  118. <rdfs:comment xml:lang="en">Specifies the join condition for joining the child logical table with the parent logical table of the foreign key constraint.</rdfs:comment>
  119. <rdfs:range rdf:resource="&r2rml;Join"/>
  120. <rdfs:domain rdf:resource="&r2rml;RefObjectMap"/>
  121. </owl:ObjectProperty>
  122. <!-- http://www.w3.org/ns/r2rml#logicalTable -->
  123. <owl:ObjectProperty rdf:about="&r2rml;logicalTable">
  124. <rdfs:comment xml:lang="en">Definition of logical table to be mapped.</rdfs:comment>
  125. <rdfs:range rdf:resource="&r2rml;LogicalTable"/>
  126. <rdfs:domain rdf:resource="&r2rml;TriplesMap"/>
  127. </owl:ObjectProperty>
  128. <!-- http://www.w3.org/ns/r2rml#object -->
  129. <owl:ObjectProperty rdf:about="&r2rml;object">
  130. <rdfs:comment xml:lang="en">Specifies the object for the generated triple from the logical table row.</rdfs:comment>
  131. <rdfs:range rdf:resource="&rdfs;Resource"/>
  132. <rdfs:domain>
  133. <owl:Class>
  134. <owl:intersectionOf rdf:parseType="Collection">
  135. <rdf:Description rdf:about="&r2rml;ObjectMap"/>
  136. <owl:Restriction>
  137. <owl:onProperty rdf:resource="&r2rml;column"/>
  138. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:maxQualifiedCardinality>
  139. <owl:onDataRange rdf:resource="&xsd;string"/>
  140. </owl:Restriction>
  141. </owl:intersectionOf>
  142. </owl:Class>
  143. </rdfs:domain>
  144. </owl:ObjectProperty>
  145. <!-- http://www.w3.org/ns/r2rml#objectMap -->
  146. <owl:ObjectProperty rdf:about="&r2rml;objectMap">
  147. <rdfs:comment xml:lang="en">An ObjectMap element to generate the object component of the (predicate, object) pair from a logical table row.</rdfs:comment>
  148. <rdfs:domain rdf:resource="&r2rml;PredicateObjectMap"/>
  149. <rdfs:range>
  150. <owl:Class>
  151. <owl:unionOf rdf:parseType="Collection">
  152. <rdf:Description rdf:about="&r2rml;ObjectMap"/>
  153. <rdf:Description rdf:about="&r2rml;RefObjectMap"/>
  154. </owl:unionOf>
  155. </owl:Class>
  156. </rdfs:range>
  157. </owl:ObjectProperty>
  158. <!-- http://www.w3.org/ns/r2rml#parentTriplesMap -->
  159. <owl:ObjectProperty rdf:about="&r2rml;parentTriplesMap">
  160. <rdfs:comment xml:lang="en">Specifies the TriplesMap element corresponding to the parent logical table of the foreign key constraint.</rdfs:comment>
  161. <rdfs:domain rdf:resource="&r2rml;RefObjectMap"/>
  162. <rdfs:range rdf:resource="&r2rml;TriplesMap"/>
  163. </owl:ObjectProperty>
  164. <!-- http://www.w3.org/ns/r2rml#predicate -->
  165. <owl:ObjectProperty rdf:about="&r2rml;predicate">
  166. <rdfs:comment xml:lang="en">Specifies the predicate for the generated triple from the logical table row.</rdfs:comment>
  167. <rdfs:range rdf:resource="&rdf;Property"/>
  168. <rdfs:domain>
  169. <owl:Class>
  170. <owl:intersectionOf rdf:parseType="Collection">
  171. <rdf:Description rdf:about="&r2rml;PredicateMap"/>
  172. <owl:Restriction>
  173. <owl:onProperty rdf:resource="&r2rml;column"/>
  174. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:maxQualifiedCardinality>
  175. <owl:onDataRange rdf:resource="&xsd;string"/>
  176. </owl:Restriction>
  177. </owl:intersectionOf>
  178. </owl:Class>
  179. </rdfs:domain>
  180. </owl:ObjectProperty>
  181. <!-- http://www.w3.org/ns/r2rml#predicateMap -->
  182. <owl:ObjectProperty rdf:about="&r2rml;predicateMap">
  183. <rdfs:comment xml:lang="en">A PredicateMap element to generate the predicate component of the (predicate, object) pair from a logical table row.</rdfs:comment>
  184. <rdfs:range rdf:resource="&r2rml;PredicateMap"/>
  185. <rdfs:domain rdf:resource="&r2rml;PredicateObjectMap"/>
  186. </owl:ObjectProperty>
  187. <!-- http://www.w3.org/ns/r2rml#predicateObjectMap -->
  188. <owl:ObjectProperty rdf:about="&r2rml;predicateObjectMap">
  189. <rdfs:comment xml:lang="en">A PredicateObjectMap element to generate (predicate, object) pair from a logical table row.</rdfs:comment>
  190. <rdfs:range rdf:resource="&r2rml;PredicateObjectMap"/>
  191. </owl:ObjectProperty>
  192. <!-- http://www.w3.org/ns/r2rml#sqlVersion -->
  193. <owl:ObjectProperty rdf:about="&r2rml;sqlVersion">
  194. <rdfs:comment xml:lang="en">An identifier for a SQL version.</rdfs:comment>
  195. <rdfs:domain rdf:resource="&r2rml;R2RMLView"/>
  196. </owl:ObjectProperty>
  197. <!-- http://www.w3.org/ns/r2rml#subject -->
  198. <owl:ObjectProperty rdf:about="&r2rml;subject">
  199. <rdfs:comment xml:lang="en">An IRI reference for use as subject for all the RDF triples generated from a logical table row.</rdfs:comment>
  200. <rdfs:domain>
  201. <owl:Class>
  202. <owl:intersectionOf rdf:parseType="Collection">
  203. <rdf:Description rdf:about="&r2rml;SubjectMap"/>
  204. <owl:Restriction>
  205. <owl:onProperty rdf:resource="&r2rml;column"/>
  206. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:maxQualifiedCardinality>
  207. <owl:onDataRange rdf:resource="&xsd;string"/>
  208. </owl:Restriction>
  209. </owl:intersectionOf>
  210. </owl:Class>
  211. </rdfs:domain>
  212. </owl:ObjectProperty>
  213. <!-- http://www.w3.org/ns/r2rml#subjectMap -->
  214. <owl:ObjectProperty rdf:about="&r2rml;subjectMap">
  215. <rdfs:comment xml:lang="en">A SubjectMap element to generate a subject from a logical table row.</rdfs:comment>
  216. <rdfs:range rdf:resource="&r2rml;SubjectMap"/>
  217. <rdfs:domain rdf:resource="&r2rml;TriplesMap"/>
  218. </owl:ObjectProperty>
  219. <!-- http://www.w3.org/ns/r2rml#termType -->
  220. <owl:ObjectProperty rdf:about="&r2rml;termType">
  221. <rdfs:comment xml:lang="en">A string indicating whether subject or object generated using the value from column name specified for rr:column should be an IRI reference, blank node, or a literal.</rdfs:comment>
  222. <rdfs:domain rdf:resource="&r2rml;TermMap"/>
  223. <rdfs:range>
  224. <owl:Class>
  225. <owl:unionOf rdf:parseType="Collection">
  226. <rdf:Description rdf:about="&r2rml;BlankNode"/>
  227. <rdf:Description rdf:about="&r2rml;IRI"/>
  228. <rdf:Description rdf:about="&r2rml;Literal"/>
  229. </owl:unionOf>
  230. </owl:Class>
  231. </rdfs:range>
  232. </owl:ObjectProperty>
  233. <!--
  234. ///////////////////////////////////////////////////////////////////////////////////////
  235. //
  236. // Data properties
  237. //
  238. ///////////////////////////////////////////////////////////////////////////////////////
  239. -->
  240. <!-- http://www.w3.org/ns/r2rml#child -->
  241. <owl:DatatypeProperty rdf:about="&r2rml;child">
  242. <rdfs:comment xml:lang="en">Names a column in the child table of a join.</rdfs:comment>
  243. <rdfs:range rdf:resource="&xsd;string"/>
  244. <rdfs:domain rdf:resource="&r2rml;Join"/>
  245. </owl:DatatypeProperty>
  246. <!-- http://www.w3.org/ns/r2rml#column -->
  247. <owl:DatatypeProperty rdf:about="&r2rml;column">
  248. <rdfs:comment xml:lang="en">Name of a column in the logical table. When generating RDF triples from a logical table row, value from the specified column is used as the subject, predicate, or object (based upon the specific domain).</rdfs:comment>
  249. <rdfs:range rdf:resource="&xsd;string"/>
  250. <rdfs:domain rdf:resource="&r2rml;TermMap"/>
  251. </owl:DatatypeProperty>
  252. <!-- http://www.w3.org/ns/r2rml#inverseExpression -->
  253. <owl:DatatypeProperty rdf:about="&r2rml;inverseExpression">
  254. <rdfs:comment xml:lang="en">An expression that allows, at query processing time, use of index-based access to the the (underlying) relational tables, instead of simply retrieving the table rows first and then applying a filter. This property is useful for retrieval based on conditions involving subject, predicate, or object generated from logical table column(s) and involves some transformation.</rdfs:comment>
  255. <rdfs:range rdf:resource="&xsd;string"/>
  256. <rdfs:domain rdf:resource="&r2rml;TermMap"/>
  257. </owl:DatatypeProperty>
  258. <!-- http://www.w3.org/ns/r2rml#language -->
  259. <owl:DatatypeProperty rdf:about="&r2rml;language">
  260. <rdfs:comment xml:lang="en">Specified the language for the object component for the generated triple from a logical table row.</rdfs:comment>
  261. <rdfs:range rdf:resource="&xsd;string"/>
  262. <rdfs:domain rdf:resource="&r2rml;ObjectMap"/>
  263. </owl:DatatypeProperty>
  264. <!-- http://www.w3.org/ns/r2rml#parent -->
  265. <owl:DatatypeProperty rdf:about="&r2rml;parent">
  266. <rdfs:comment xml:lang="en">Names a column in the parent table of a join.</rdfs:comment>
  267. <rdfs:range rdf:resource="&xsd;string"/>
  268. <rdfs:domain rdf:resource="&r2rml;Join"/>
  269. </owl:DatatypeProperty>
  270. <!-- http://www.w3.org/ns/r2rml#sqlQuery -->
  271. <owl:DatatypeProperty rdf:about="&r2rml;sqlQuery">
  272. <rdfs:comment xml:lang="en">A valid SQL query.</rdfs:comment>
  273. <rdfs:range rdf:resource="&xsd;string"/>
  274. <rdfs:domain rdf:resource="&r2rml;R2RMLView"/>
  275. </owl:DatatypeProperty>
  276. <!-- http://www.w3.org/ns/r2rml#tableName -->
  277. <owl:DatatypeProperty rdf:about="&r2rml;tableName">
  278. <rdfs:comment xml:lang="en">Schema-qualified name of a table or view.</rdfs:comment>
  279. <rdfs:range rdf:resource="&xsd;string"/>
  280. <rdfs:domain rdf:resource="&r2rml;BaseTableOrView"/>
  281. </owl:DatatypeProperty>
  282. <!-- http://www.w3.org/ns/r2rml#template -->
  283. <owl:DatatypeProperty rdf:about="&r2rml;template">
  284. <rdfs:comment xml:lang="en">A template (format string) to specify how to generate a value for a subject, predicate, or object, using one or more columns from a logical table row.</rdfs:comment>
  285. <rdfs:range rdf:resource="&xsd;string"/>
  286. <rdfs:domain rdf:resource="&r2rml;TermMap"/>
  287. </owl:DatatypeProperty>
  288. <!--
  289. ///////////////////////////////////////////////////////////////////////////////////////
  290. //
  291. // Classes
  292. //
  293. ///////////////////////////////////////////////////////////////////////////////////////
  294. -->
  295. <!-- http://www.w3.org/1999/02/22-rdf-syntax-ns#Property -->
  296. <owl:Class rdf:about="&rdf;Property"/>
  297. <!-- http://www.w3.org/2000/01/rdf-schema#Class -->
  298. <owl:Class rdf:about="&rdfs;Class"/>
  299. <!-- http://www.w3.org/2000/01/rdf-schema#Datatype -->
  300. <owl:Class rdf:about="&rdfs;Datatype"/>
  301. <!-- http://www.w3.org/2000/01/rdf-schema#Resource -->
  302. <owl:Class rdf:about="&rdfs;Resource"/>
  303. <!-- http://www.w3.org/ns/r2rml#BaseTableOrView -->
  304. <owl:Class rdf:about="&r2rml;BaseTableOrView">
  305. <rdfs:subClassOf rdf:resource="&r2rml;LogicalTable"/>
  306. </owl:Class>
  307. <!-- http://www.w3.org/ns/r2rml#BlankNode -->
  308. <owl:Class rdf:about="&r2rml;BlankNode">
  309. <rdfs:comment xml:lang="en">Denotes a blank node, used with termType</rdfs:comment>
  310. </owl:Class>
  311. <!-- http://www.w3.org/ns/r2rml#GraphMap -->
  312. <owl:Class rdf:about="&r2rml;GraphMap">
  313. <rdfs:subClassOf rdf:resource="&r2rml;TermMap"/>
  314. <rdfs:comment xml:lang="en">Represents a graph map.</rdfs:comment>
  315. </owl:Class>
  316. <!-- http://www.w3.org/ns/r2rml#IRI -->
  317. <owl:Class rdf:about="&r2rml;IRI">
  318. <rdfs:comment xml:lang="en">Denotes an IRI, used with termpType.</rdfs:comment>
  319. </owl:Class>
  320. <!-- http://www.w3.org/ns/r2rml#Join -->
  321. <owl:Class rdf:about="&r2rml;Join">
  322. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  323. <rdfs:subClassOf>
  324. <owl:Restriction>
  325. <owl:onProperty rdf:resource="&r2rml;parent"/>
  326. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minQualifiedCardinality>
  327. <owl:onDataRange rdf:resource="&xsd;string"/>
  328. </owl:Restriction>
  329. </rdfs:subClassOf>
  330. <rdfs:subClassOf>
  331. <owl:Restriction>
  332. <owl:onProperty rdf:resource="&r2rml;parent"/>
  333. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxQualifiedCardinality>
  334. <owl:onDataRange rdf:resource="&xsd;string"/>
  335. </owl:Restriction>
  336. </rdfs:subClassOf>
  337. <rdfs:subClassOf>
  338. <owl:Restriction>
  339. <owl:onProperty rdf:resource="&r2rml;child"/>
  340. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxQualifiedCardinality>
  341. <owl:onDataRange rdf:resource="&xsd;string"/>
  342. </owl:Restriction>
  343. </rdfs:subClassOf>
  344. <rdfs:subClassOf>
  345. <owl:Restriction>
  346. <owl:onProperty rdf:resource="&r2rml;child"/>
  347. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minQualifiedCardinality>
  348. <owl:onDataRange rdf:resource="&xsd;string"/>
  349. </owl:Restriction>
  350. </rdfs:subClassOf>
  351. <rdfs:comment xml:lang="en">Represents a join condition.</rdfs:comment>
  352. </owl:Class>
  353. <!-- http://www.w3.org/ns/r2rml#Literal -->
  354. <owl:Class rdf:about="&r2rml;Literal">
  355. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  356. <rdfs:comment xml:lang="en">Denotes a Literal, used with termType.</rdfs:comment>
  357. </owl:Class>
  358. <!-- http://www.w3.org/ns/r2rml#LogicalTable -->
  359. <owl:Class rdf:about="&r2rml;LogicalTable">
  360. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  361. <rdfs:comment xml:lang="en">Represents a logical table.</rdfs:comment>
  362. </owl:Class>
  363. <!-- http://www.w3.org/ns/r2rml#ObjectMap -->
  364. <owl:Class rdf:about="&r2rml;ObjectMap">
  365. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  366. <rdfs:subClassOf rdf:resource="&r2rml;TermMap"/>
  367. <rdfs:subClassOf>
  368. <owl:Restriction>
  369. <owl:onProperty rdf:resource="&r2rml;object"/>
  370. <owl:onClass rdf:resource="&rdfs;Resource"/>
  371. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minQualifiedCardinality>
  372. </owl:Restriction>
  373. </rdfs:subClassOf>
  374. <rdfs:subClassOf>
  375. <owl:Restriction>
  376. <owl:onProperty rdf:resource="&r2rml;object"/>
  377. <owl:onClass rdf:resource="&rdfs;Resource"/>
  378. <owl:maxQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:maxQualifiedCardinality>
  379. </owl:Restriction>
  380. </rdfs:subClassOf>
  381. <rdfs:subClassOf>
  382. <owl:Restriction>
  383. <owl:onProperty rdf:resource="&r2rml;language"/>
  384. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minQualifiedCardinality>
  385. <owl:onDataRange rdf:resource="&xsd;string"/>
  386. </owl:Restriction>
  387. </rdfs:subClassOf>
  388. <rdfs:subClassOf>
  389. <owl:Restriction>
  390. <owl:onProperty rdf:resource="&r2rml;datatype"/>
  391. <owl:onClass rdf:resource="&rdfs;Datatype"/>
  392. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minQualifiedCardinality>
  393. </owl:Restriction>
  394. </rdfs:subClassOf>
  395. <rdfs:comment xml:lang="en">Represents an object map.</rdfs:comment>
  396. </owl:Class>
  397. <!-- http://www.w3.org/ns/r2rml#PredicateMap -->
  398. <owl:Class rdf:about="&r2rml;PredicateMap">
  399. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  400. <rdfs:subClassOf rdf:resource="&r2rml;TermMap"/>
  401. <rdfs:subClassOf>
  402. <owl:Restriction>
  403. <owl:onProperty rdf:resource="&r2rml;predicate"/>
  404. <owl:onClass rdf:resource="&rdf;Property"/>
  405. <owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
  406. </owl:Restriction>
  407. </rdfs:subClassOf>
  408. <rdfs:comment xml:lang="en">Represents a predicate map.</rdfs:comment>
  409. </owl:Class>
  410. <!-- http://www.w3.org/ns/r2rml#PredicateObjectMap -->
  411. <owl:Class rdf:about="&r2rml;PredicateObjectMap">
  412. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  413. <rdfs:subClassOf>
  414. <owl:Restriction>
  415. <owl:onProperty rdf:resource="&r2rml;objectMap"/>
  416. <owl:onClass rdf:resource="&r2rml;ObjectMap"/>
  417. <owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
  418. </owl:Restriction>
  419. </rdfs:subClassOf>
  420. <rdfs:subClassOf>
  421. <owl:Restriction>
  422. <owl:onProperty rdf:resource="&r2rml;predicateMap"/>
  423. <owl:onClass rdf:resource="&r2rml;PredicateMap"/>
  424. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minQualifiedCardinality>
  425. </owl:Restriction>
  426. </rdfs:subClassOf>
  427. <rdfs:comment xml:lang="en">Represents a predicate-object map.</rdfs:comment>
  428. </owl:Class>
  429. <!-- http://www.w3.org/ns/r2rml#R2RMLView -->
  430. <owl:Class rdf:about="&r2rml;R2RMLView">
  431. <rdfs:subClassOf rdf:resource="&r2rml;LogicalTable"/>
  432. </owl:Class>
  433. <!-- http://www.w3.org/ns/r2rml#RefObjectMap -->
  434. <owl:Class rdf:about="&r2rml;RefObjectMap">
  435. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  436. <rdfs:comment xml:lang="en">Denotes a reference to an object map.</rdfs:comment>
  437. </owl:Class>
  438. <!-- http://www.w3.org/ns/r2rml#SubjectMap -->
  439. <owl:Class rdf:about="&r2rml;SubjectMap">
  440. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  441. <rdfs:subClassOf rdf:resource="&r2rml;TermMap"/>
  442. <rdfs:subClassOf>
  443. <owl:Restriction>
  444. <owl:onProperty rdf:resource="&r2rml;class"/>
  445. <owl:onClass rdf:resource="&rdfs;Class"/>
  446. <owl:minQualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">0</owl:minQualifiedCardinality>
  447. </owl:Restriction>
  448. </rdfs:subClassOf>
  449. <rdfs:comment xml:lang="en">Represents a subject map.</rdfs:comment>
  450. </owl:Class>
  451. <!-- http://www.w3.org/ns/r2rml#TermMap -->
  452. <owl:Class rdf:about="&r2rml;TermMap">
  453. <rdfs:label xml:lang="en">Term Map</rdfs:label>
  454. <rdfs:comment xml:lang="en">A function that generates an RDF term from a logical table row.</rdfs:comment>
  455. </owl:Class>
  456. <!-- http://www.w3.org/ns/r2rml#TriplesMap -->
  457. <owl:Class rdf:about="&r2rml;TriplesMap">
  458. <rdfs:subClassOf rdf:resource="&owl;Thing"/>
  459. <rdfs:subClassOf>
  460. <owl:Restriction>
  461. <owl:onProperty rdf:resource="&r2rml;logicalTable"/>
  462. <owl:onClass rdf:resource="&r2rml;LogicalTable"/>
  463. <owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
  464. </owl:Restriction>
  465. </rdfs:subClassOf>
  466. <rdfs:subClassOf>
  467. <owl:Restriction>
  468. <owl:onProperty rdf:resource="&r2rml;subjectMap"/>
  469. <owl:onClass rdf:resource="&r2rml;SubjectMap"/>
  470. <owl:qualifiedCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:qualifiedCardinality>
  471. </owl:Restriction>
  472. </rdfs:subClassOf>
  473. <rdfs:comment xml:lang="en">Represents a triples map.</rdfs:comment>
  474. </owl:Class>
  475. <!--
  476. ///////////////////////////////////////////////////////////////////////////////////////
  477. //
  478. // Individuals
  479. //
  480. ///////////////////////////////////////////////////////////////////////////////////////
  481. -->
  482. <!-- http://www.w3.org/ns/r2rml#SQL2008 -->
  483. <owl:NamedIndividual rdf:about="&r2rml;SQL2008">
  484. <rdfs:comment xml:lang="en">Core SQL 2008</rdfs:comment>
  485. </owl:NamedIndividual>
  486. <!-- http://www.w3.org/ns/r2rml#defaultGraph -->
  487. <owl:NamedIndividual rdf:about="&r2rml;defaultGraph">
  488. <rdfs:comment xml:lang="en">Denotes a default graph</rdfs:comment>
  489. </owl:NamedIndividual>
  490. </rdf:RDF>
  491. <!-- Generated by the OWL API (version 3.2.3.1824) http://owlapi.sourceforge.net -->