index.html 176 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910
<!DOCTYPE html  PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN'  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>OWL 2 Web Ontology Language Profiles</title>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  <style type="text/css">
   .editsection { display: none; }
</style>
<link href="owl.css" rel="stylesheet" type="text/css" />
<link href="http://www.w3.org/StyleSheets/TR/W3C-REC" rel="stylesheet" type="text/css" />

  <script src="http://www.w3.org/2007/OWL/toggles.js" type="text/javascript"></script>

</head>
<body>

<div class="head">
<a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72" /></a><h1 id="title" style="clear:both">OWL 2 Web Ontology Language <br /><span id="short-title">Profiles</span></h1>

<h2 id="W3C-doctype">W3C Recommendation 27 October 2009</h2>

<!-- no inplace warning -->
<dl>
<dt>This version:</dt>
<dd><a href="http://www.w3.org/TR/2009/REC-owl2-profiles-20091027/" id="this-version-url">http://www.w3.org/TR/2009/REC-owl2-profiles-20091027/</a></dd>

<dt>Latest version (series 2):</dt>
<dd><a href="http://www.w3.org/TR/owl2-profiles/">http://www.w3.org/TR/owl2-profiles/</a></dd>

<dt>Latest Recommendation:</dt>
<dd><a href="http://www.w3.org/TR/owl-profiles">http://www.w3.org/TR/owl-profiles</a></dd>

<dt>Previous version:</dt>
<dd><a href="http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/">http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/</a> (<a href="http://www.w3.org/TR/2009/REC-owl2-profiles-20091027/diff-from-20090922">color-coded diff</a>)</dd>
</dl>

<dl><dt>Editors:</dt><dd><a href="http://web.comlab.ox.ac.uk/people/Boris.Motik/">Boris Motik</a>, Oxford University Computing Laboratory</dd>
<dd><a href="http://web.comlab.ox.ac.uk/people/Bernardo.CuencaGrau/">Bernardo Cuenca Grau</a>, Oxford University Computing Laboratory</dd>
<dd><a href="http://web.comlab.ox.ac.uk/people/ian.horrocks/">Ian Horrocks</a>, Oxford University Computing Laboratory</dd>
<dd><a href="http://www.w3.org/2007/OWL/wiki/Zhe_Wu">Zhe Wu</a>, Oracle</dd>
<dd><a href="http://domino.research.ibm.com/comm/research_people.nsf/pages/achille.index.html">Achille Fokoue</a>, IBM Corporation</dd>
<dd><a href="http://www.informatik.uni-bremen.de/~clu/">Carsten Lutz</a>, University of Bremen</dd>
<dt>Contributors: (in alphabetical order)</dt><dd><a href="http://www.inf.unibz.it/~calvanese/">Diego Calvanese</a>, Free University of Bozen-Bolzano</dd>
<dd><a href="http://semanticweb.org/wiki/Jeremy_J._Carroll">Jeremy Carroll</a>, HP (now at TopQuadrant)</dd>
<dd><a href="http://www.dis.uniroma1.it/~degiacom/">Giuseppe De Giacomo</a>, Sapienza Universit&agrave; di Roma</dd>
<dd><a href="http://tw.rpi.edu/wiki/James_A._Hendler">Jim Hendler</a>, Rensselaer Polytechnic Institute</dd>
<dd><a href="http://www.w3.org/People/Ivan/">Ivan Herman</a>, W3C/ERCIM</dd>
<dd><a href="http://www.cs.man.ac.uk/~bparsia/">Bijan Parsia</a>, University of Manchester</dd>
<dd><a href="http://ect.bell-labs.com/who/pfps/">Peter F. Patel-Schneider</a>, Bell Labs Research, Alcatel-Lucent</dd>
<dd><a href="http://sciencecommons.org/about/whoweare/ruttenberg/">Alan Ruttenberg</a>, Science Commons (Creative Commons)</dd>
<dd><a href="http://www.cs.man.ac.uk/~sattler/">Uli Sattler</a>, University of Manchester</dd>
<dd><a href="http://www.fzi.de/michael.schneider">Michael Schneider</a>, FZI Research Center for Information Technology</dd>
</dl>

<p>Please refer to the <a href="http://www.w3.org/2007/OWL/errata"><strong>errata</strong></a> for this document, which may include some normative corrections.</p>

<p>This document is also available in these non-normative formats: <a href="http://www.w3.org/2009/pdf/REC-owl2-profiles-20091027.pdf">PDF version</a>.</p>

<p>See also <a href="http://www.w3.org/2007/OWL/translation/owl2-profiles">translations</a>.</p>

<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 2009 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p>

</div>
<hr />
<h2><a id="abstract" name="abstract">Abstract</a></h2>

<div>
<div><p>The OWL 2 Web Ontology Language, informally OWL 2, is an ontology language for the Semantic Web with formally defined meaning.  OWL 2 ontologies provide classes, properties, individuals, and data values and are stored as Semantic Web documents.  OWL 2 ontologies can be used along with information written in RDF, and OWL 2 ontologies themselves are primarily exchanged as RDF documents.  The OWL 2 <a href="http://www.w3.org/TR/2009/REC-owl2-overview-20091027/" title="Document Overview">Document Overview</a> describes the overall state of OWL 2, and should be read before other OWL 2 documents.</p><p>This document provides a specification of several profiles of OWL 2 which can be more simply and/or efficiently implemented. In logic, profiles are often called fragments. Most profiles are defined by placing restrictions on the structure of OWL 2 ontologies. These restrictions have been specified by modifying the productions of the functional-style syntax.</p></div>
</div>

<h2 class="no-toc no-num">
<a id="status" name="status">Status of this Document</a>
</h2>
    
<h4 class="no-toc no-num" id="may-be">May Be Superseded</h4>
    
<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p>

    

<!-- no eventStatusExtra -->

<!-- no statusExtra -->

<div>

<h4 class="no-toc no-num" id="sotd-xml-dep">XML Schema Datatypes Dependency</h4>

<p>OWL 2 is defined to use datatypes defined in the <a href="http://www.w3.org/TR/xmlschema-2/">XML Schema Definition Language (XSD)</a>.  As of this writing, the latest W3C Recommendation for XSD is version 1.0, with <a href="http://www.w3.org/TR/xmlschema11-1/">version 1.1</a> progressing toward Recommendation.  OWL 2 has been designed to take advantage of the new datatypes and clearer explanations available in XSD 1.1, but for now those advantages are being partially put on hold.  Specifically, until XSD 1.1 becomes a W3C Recommendation, the elements of OWL 2 which are based on it should be considered <em>optional</em>, as detailed in <a href="http://www.w3.org/TR/2009/REC-owl2-conformance-20091027/#XML_Schema_Datatypes">Conformance, section 2.3</a>.  Upon the publication of XSD 1.1 as a W3C Recommendation, those elements cease to be optional and are to be considered required as otherwise specified.</p>

<p>We suggest that for now developers and users follow the <a href="http://www.w3.org/TR/2009/CR-xmlschema11-1-20090430/">XSD 1.1 Candidate Recommendation</a>.  Based on discussions between the Schema and OWL Working Groups, we do not expect any implementation changes will be necessary as XSD 1.1 advances to Recommendation.</p>
</div>



           <h4 class="no-toc no-num" id="status-changes">Document Unchanged</h4>

<p>There have been no changes to the body of this document since the <a href="http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/">previous version</a>.   For details on earlier changes, see the <a href="#changelog">change log</a>.</p>



<h4 class="no-toc no-num" id="please">Please Send Comments</h4><p>Please send any comments to <a class="mailto" href="mailto:public-owl-comments@w3.org">public-owl-comments@w3.org</a>
    (<a class="http" href="http://lists.w3.org/Archives/Public/public-owl-comments/">public
    archive</a>).  Although work on this document by the <a href="http://www.w3.org/2007/OWL/">OWL Working Group</a> is complete, comments may be addressed in the <a href="http://www.w3.org/2007/OWL/errata">errata</a> or in future revisions.  Open discussion among developers is welcome at <a class="mailto" href="mailto:public-owl-dev@w3.org">public-owl-dev@w3.org</a> (<a class="http" href="http://lists.w3.org/Archives/Public/public-owl-dev/">public archive</a>).</p>
    
<h4 class="no-toc no-num" id="endorsement">Endorsed By W3C</h4>
    
<p><em>This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.</em></p>


<h4 class="no-toc no-num" id="patents">Patents</h4>
    
<p><em>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/41712/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent.</em></p>

<hr title="Separator After Status Section" />


<table class="toc" id="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Table of Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Introduction"><span class="tocnumber">1</span> <span class="toctext">Introduction</span></a></li>
<li class="toclevel-1"><a href="#OWL_2_EL"><span class="tocnumber">2</span> <span class="toctext">OWL 2 EL</span></a>
<ul>
<li class="toclevel-2"><a href="#Feature_Overview"><span class="tocnumber">2.1</span> <span class="toctext">Feature Overview</span></a></li>
<li class="toclevel-2"><a href="#Profile_Specification"><span class="tocnumber">2.2</span> <span class="toctext">Profile Specification</span></a>
<ul>
<li class="toclevel-3"><a href="#Entities"><span class="tocnumber">2.2.1</span> <span class="toctext">Entities</span></a></li>
<li class="toclevel-3"><a href="#Property_Expressions"><span class="tocnumber">2.2.2</span> <span class="toctext">Property Expressions</span></a></li>
<li class="toclevel-3"><a href="#Class_Expressions"><span class="tocnumber">2.2.3</span> <span class="toctext">Class Expressions</span></a></li>
<li class="toclevel-3"><a href="#Data_Ranges"><span class="tocnumber">2.2.4</span> <span class="toctext">Data Ranges</span></a></li>
<li class="toclevel-3"><a href="#Axioms"><span class="tocnumber">2.2.5</span> <span class="toctext">Axioms</span></a></li>
<li class="toclevel-3"><a href="#Global_Restrictions"><span class="tocnumber">2.2.6</span> <span class="toctext">Global Restrictions</span></a></li>
</ul>
</li>
</ul>
</li>
<li class="toclevel-1"><a href="#OWL_2_QL"><span class="tocnumber">3</span> <span class="toctext">OWL 2 QL</span></a>
<ul>
<li class="toclevel-2"><a href="#Feature_Overview_2"><span class="tocnumber">3.1</span> <span class="toctext">Feature Overview</span></a></li>
<li class="toclevel-2"><a href="#Profile_Specification_2"><span class="tocnumber">3.2</span> <span class="toctext">Profile Specification</span></a>
<ul>
<li class="toclevel-3"><a href="#Entities_2"><span class="tocnumber">3.2.1</span> <span class="toctext">Entities</span></a></li>
<li class="toclevel-3"><a href="#Property_Expressions_2"><span class="tocnumber">3.2.2</span> <span class="toctext">Property Expressions</span></a></li>
<li class="toclevel-3"><a href="#Class_Expressions_2"><span class="tocnumber">3.2.3</span> <span class="toctext">Class Expressions</span></a></li>
<li class="toclevel-3"><a href="#Data_Ranges_2"><span class="tocnumber">3.2.4</span> <span class="toctext">Data Ranges</span></a></li>
<li class="toclevel-3"><a href="#Axioms_2"><span class="tocnumber">3.2.5</span> <span class="toctext">Axioms</span></a></li>
</ul>
</li>
</ul>
</li>
<li class="toclevel-1"><a href="#OWL_2_RL"><span class="tocnumber">4</span> <span class="toctext">OWL 2 RL</span></a>
<ul>
<li class="toclevel-2"><a href="#Feature_Overview_3"><span class="tocnumber">4.1</span> <span class="toctext">Feature Overview</span></a></li>
<li class="toclevel-2"><a href="#Profile_Specification_3"><span class="tocnumber">4.2</span> <span class="toctext">Profile Specification</span></a>
<ul>
<li class="toclevel-3"><a href="#Entities_3"><span class="tocnumber">4.2.1</span> <span class="toctext">Entities</span></a></li>
<li class="toclevel-3"><a href="#Property_Expressions_3"><span class="tocnumber">4.2.2</span> <span class="toctext">Property Expressions</span></a></li>
<li class="toclevel-3"><a href="#Class_Expressions_3"><span class="tocnumber">4.2.3</span> <span class="toctext">Class Expressions</span></a></li>
<li class="toclevel-3"><a href="#Data_Ranges_3"><span class="tocnumber">4.2.4</span> <span class="toctext">Data Ranges</span></a></li>
<li class="toclevel-3"><a href="#Axioms_3"><span class="tocnumber">4.2.5</span> <span class="toctext">Axioms</span></a></li>
</ul>
</li>
<li class="toclevel-2"><a href="#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules"><span class="tocnumber">4.3</span> <span class="toctext">Reasoning in OWL 2 RL and RDF Graphs using Rules</span></a></li>
</ul>
</li>
<li class="toclevel-1"><a href="#Computational_Properties"><span class="tocnumber">5</span> <span class="toctext">Computational Properties</span></a></li>
<li class="toclevel-1"><a href="#Appendix:_Complete_Grammars_for_Profiles"><span class="tocnumber">6</span> <span class="toctext">Appendix: Complete Grammars for Profiles</span></a>
<ul>
<li class="toclevel-2"><a href="#OWL_2_EL_2"><span class="tocnumber">6.1</span> <span class="toctext">OWL 2 EL</span></a></li>
<li class="toclevel-2"><a href="#OWL_2_QL_2"><span class="tocnumber">6.2</span> <span class="toctext">OWL 2 QL</span></a></li>
<li class="toclevel-2"><a href="#OWL_2_RL_2"><span class="tocnumber">6.3</span> <span class="toctext">OWL 2 RL</span></a></li>
</ul>
</li>
<li class="toclevel-1"><a href="#Appendix:_Change_Log_.28Informative.29"><span class="tocnumber">7</span> <span class="toctext">Appendix: Change Log (Informative)</span></a>
<ul>
<li class="toclevel-2"><a href="#Changes_Since_Proposed_Recommendation"><span class="tocnumber">7.1</span> <span class="toctext">Changes Since Proposed Recommendation</span></a></li>
<li class="toclevel-2"><a href="#Changes_Since_Candidate_Recommendation"><span class="tocnumber">7.2</span> <span class="toctext">Changes Since Candidate Recommendation</span></a></li>
<li class="toclevel-2"><a href="#Changes_Since_Last_Call"><span class="tocnumber">7.3</span> <span class="toctext">Changes Since Last Call</span></a></li>
</ul>
</li>
<li class="toclevel-1"><a href="#Acknowledgments"><span class="tocnumber">8</span> <span class="toctext">Acknowledgments</span></a></li>
<li class="toclevel-1"><a href="#References"><span class="tocnumber">9</span> <span class="toctext">References</span></a>
<ul>
<li class="toclevel-2"><a href="#Normative_References"><span class="tocnumber">9.1</span> <span class="toctext">Normative References</span></a></li>
<li class="toclevel-2"><a href="#Nonnormative_References"><span class="tocnumber">9.2</span> <span class="toctext">Nonnormative References</span></a></li>
</ul>
</li>
</ul>
</td></tr></table><script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
<p><br />
</p>
<a name="Introduction"></a><h2> <span class="mw-headline">1  Introduction </span></h2>
<p>An OWL 2 <i>profile</i> (commonly called a <i>fragment</i> or a <i>sublanguage</i> in computational logic) is a trimmed down version of OWL 2 that trades some expressive power for the efficiency of reasoning. This document describes three profiles of OWL 2, each of which achieves efficiency in a different way and is useful in different application scenarios. The profiles are independent of each other, so (prospective) users can skip over the descriptions of profiles that are not of interest to them. The choice of which profile to use in practice will depend on the structure of the ontologies and the reasoning tasks at hand (see <a href="http://www.w3.org/TR/2009/REC-owl2-primer-20091027/#OWL_2_Profiles" title="Primer">Section 10</a> of the OWL 2 Primer [<cite><a href="#ref-owl-2-primer" title="">OWL 2 Primer</a></cite>] for more help in understanding and selecting profiles).
</p>
<ul><li> <b>OWL 2 EL</b> is particularly useful in applications employing ontologies that contain very large numbers of properties and/or classes. This profile captures the expressive power used by many such ontologies and is a subset of OWL 2 for which the basic reasoning problems can be performed in time that is polynomial with respect to the size of the ontology [<cite><a href="#ref-ELpp" title="">EL++</a></cite>] (see <a href="#Computational_Properties" title="">Section 5</a> for more information on computational complexity). Dedicated reasoning algorithms for this profile are available and have been demonstrated to be implementable in a highly scalable way. The EL acronym reflects the profile's basis in the EL family of description logics [<cite><a href="#ref-ELpp" title="">EL++</a></cite>], logics that provide only Existential quantification.
</li><li> <b>OWL 2 QL</b> is aimed at applications that use very large volumes of instance data, and where query answering is the most important reasoning task. In OWL 2 QL, conjunctive query answering can be implemented using conventional relational database systems. Using a suitable reasoning technique, sound and complete conjunctive query answering can be performed in LOGSPACE with respect to the size of the data (assertions). As in OWL 2 EL, polynomial time algorithms can be used to implement the ontology consistency and class expression subsumption reasoning problems. The expressive power of the profile is necessarily quite limited, although it does include most of the main features of conceptual models such as UML class diagrams and ER diagrams. The QL acronym reflects the fact that query answering in this profile can be implemented by rewriting queries into a standard relational Query Language.
</li><li> <b>OWL 2 RL</b> is aimed at applications that require scalable reasoning without sacrificing too much expressive power. It is designed to accommodate OWL 2 applications that can trade the full expressivity of the language for efficiency, as well as RDF(S) applications that need some added expressivity. OWL 2 RL reasoning systems can be implemented using rule-based reasoning engines. The ontology consistency, class expression satisfiability, class expression subsumption, instance checking, and conjunctive query answering problems can be solved in time that is polynomial with respect to the size of the ontology. The RL acronym reflects the fact that reasoning in this profile can be implemented using a standard Rule Language.
</li></ul>
<p>OWL 2 profiles are defined by placing restrictions on the structure of OWL 2 ontologies. Syntactic restrictions can be specified by modifying the grammar of the functional-style syntax [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>] and possibly giving additional global restrictions. In this document, the modified grammars are specified in two ways. In each profile definition, only the difference with respect to the full grammar is given; that is, only the productions that differ from the functional-style syntax are presented, while the productions that are the same as in the functional-style syntax are not repeated. Furthermore, the full grammar for each of the profiles is given in the <a href="#Appendix:_Complete_Grammars_for_Profiles" title="">Appendix</a>. Note that none of the profiles is a subset of another.
</p><p>An ontology in any profile can be written into an ontology document by using any of the syntaxes of OWL 2.
</p><p>Apart from the ones specified here, there are many other possible profiles of OWL 2 &mdash; there are, for example, a whole family of profiles that extend OWL 2 QL. This document does not list OWL Lite [<cite><a href="#ref-owl-1-reference" title="">OWL 1 Reference</a></cite>]; however, all OWL Lite ontologies are OWL 2 ontologies, so OWL Lite can be viewed as a profile of OWL 2. Similarly, OWL 1 DL can also be viewed as a profile of OWL 2.
</p><p>The italicized keywords <em class="RFC2119" title="MUST in RFC 2119 context">MUST</em>, <em class="RFC2119" title="MUST NOT in RFC 2119 context">MUST NOT</em>, <em class="RFC2119" title="SHOULD in RFC 2119 context">SHOULD</em>, <em class="RFC2119" title="SHOULD NOT in RFC 2119 context">SHOULD NOT</em>, and <em class="RFC2119" title="MAY in RFC 2119 context">MAY</em> are used to specify normative features of OWL 2 documents and tools, and are interpreted as specified in RFC 2119 [<cite><a href="#ref-rfc-2119" title="">RFC 2119</a></cite>].
</p>
<a name="OWL_2_EL"></a><h2> <span class="mw-headline">2  OWL 2 EL </span></h2>
<p>The OWL 2 EL profile [<cite><a href="#ref-ELpp" title="">EL++</a></cite>,<cite><a href="#ref-ELppUpd" title="">EL++ Update</a></cite>] is designed as a subset of OWL 2 that
</p>
<ul><li> is particularly suitable for applications employing ontologies that define very large numbers of classes and/or properties,
</li><li> captures the expressive power used by many such ontologies, and
</li><li> for which ontology consistency, class expression subsumption, and instance checking can be decided in polynomial time.
</li></ul>
<p>For example, OWL 2 EL provides class constructors that are sufficient to express the very large biomedical ontology SNOMED CT [<cite><a href="#ref-snomed-ct" title="">SNOMED CT</a></cite>].
</p>
<a name="Feature_Overview"></a><h3> <span class="mw-headline">2.1  Feature Overview </span></h3>
<p>OWL 2 EL places restrictions on the type of class restrictions that can be used in axioms. In particular, the following types of class restrictions are supported:
</p>
<ul><li> existential quantification to a class expression (<span class="nonterminal">ObjectSomeValuesFrom</span>) or a data range (<span class="nonterminal">DataSomeValuesFrom</span>)
</li><li> existential quantification to an individual (<span class="nonterminal">ObjectHasValue</span>) or a literal (<span class="nonterminal">DataHasValue</span>)
</li><li> self-restriction (<span class="nonterminal">ObjectHasSelf</span>)
</li><li> enumerations involving a <i>single</i> individual (<span class="nonterminal">ObjectOneOf</span>) or a <i>single</i> literal (<span class="nonterminal">DataOneOf</span>)
</li><li> intersection of classes (<span class="nonterminal">ObjectIntersectionOf</span>) and data ranges (<span class="nonterminal">DataIntersectionOf</span>)
</li></ul>
<p>OWL 2 EL supports the following axioms, all of which are restricted to the allowed set of class expressions:
</p>
<ul><li> class inclusion (<span class="nonterminal">SubClassOf</span>)
</li><li> class equivalence (<span class="nonterminal">EquivalentClasses</span>)
</li><li> class disjointness (<span class="nonterminal">DisjointClasses</span>)
</li><li> object property inclusion (<span class="nonterminal">SubObjectPropertyOf</span>) with or without property chains, and data property inclusion (<span class="nonterminal">SubDataPropertyOf</span>)
</li><li> property equivalence (<span class="nonterminal">EquivalentObjectProperties</span> and <span class="nonterminal">EquivalentDataProperties</span>),
</li><li> transitive object properties (<span class="nonterminal">TransitiveObjectProperty</span>)
</li><li> reflexive object properties (<span class="nonterminal">ReflexiveObjectProperty</span>)
</li><li> domain restrictions (<span class="nonterminal">ObjectPropertyDomain</span> and <span class="nonterminal">DataPropertyDomain</span>)
</li><li> range restrictions (<span class="nonterminal">ObjectPropertyRange</span> and <span class="nonterminal">DataPropertyRange</span>)
</li><li> assertions (<span class="nonterminal">SameIndividual</span>, <span class="nonterminal">DifferentIndividuals</span>, <span class="nonterminal">ClassAssertion</span>, <span class="nonterminal">ObjectPropertyAssertion</span>, <span class="nonterminal">DataPropertyAssertion</span>, <span class="nonterminal">NegativeObjectPropertyAssertion</span>, and <span class="nonterminal">NegativeDataPropertyAssertion</span>)
</li><li> functional data properties (<span class="nonterminal">FunctionalDataProperty</span>)
</li><li> keys (<span class="nonterminal">HasKey</span>)
</li></ul>
<p>The following constructs are not supported in OWL 2 EL:
</p>
<ul><li> universal quantification to a class expression (<span class="nonterminal">ObjectAllValuesFrom</span>) or a data range (<span class="nonterminal">DataAllValuesFrom</span>)
</li><li> cardinality restrictions (<span class="nonterminal">ObjectMaxCardinality</span>, <span class="nonterminal">ObjectMinCardinality</span>, <span class="nonterminal">ObjectExactCardinality</span>, <span class="nonterminal">DataMaxCardinality</span>, <span class="nonterminal">DataMinCardinality</span>, and <span class="nonterminal">DataExactCardinality</span>)
</li><li> disjunction (<span class="nonterminal">ObjectUnionOf</span>, <span class="nonterminal">DisjointUnion</span>, and <span class="nonterminal">DataUnionOf</span>)
</li><li> class negation (<span class="nonterminal">ObjectComplementOf</span>)
</li><li> enumerations involving more than one individual (<span class="nonterminal">ObjectOneOf</span> and <span class="nonterminal">DataOneOf</span>)
</li><li> disjoint properties (<span class="nonterminal">DisjointObjectProperties</span> and <span class="nonterminal">DisjointDataProperties</span>)
</li><li> irreflexive object properties (<span class="nonterminal">IrreflexiveObjectProperty</span>)
</li><li> inverse object properties (<span class="nonterminal">InverseObjectProperties</span>)
</li><li> functional and inverse-functional object properties (<span class="nonterminal">FunctionalObjectProperty</span> and <span class="nonterminal">InverseFunctionalObjectProperty</span>)
</li><li> symmetric object properties (<span class="nonterminal">SymmetricObjectProperty</span>)
</li><li> asymmetric object properties (<span class="nonterminal">AsymmetricObjectProperty</span>)
</li></ul>
<a name="Profile_Specification"></a><h3> <span class="mw-headline">2.2  Profile Specification </span></h3>
<p>The following sections specify the structure of OWL 2 EL ontologies.
</p>
<a name="Entities"></a><h4> <span class="mw-headline">2.2.1  Entities </span></h4>
<p>Entities are defined in OWL 2 EL in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], and OWL 2 EL supports all predefined classes and properties. Furthermore, OWL 2 EL supports the following datatypes:
</p>
<ul><li> <i>rdf:PlainLiteral</i>
</li><li> <i>rdf:XMLLiteral</i>
</li><li> <i>rdfs:Literal</i>
</li><li> <i>owl:real</i>
</li><li> <i>owl:rational</i>
</li><li> <i>xsd:decimal</i>
</li><li> <i>xsd:integer</i>
</li><li> <i>xsd:nonNegativeInteger</i>
</li><li> <i>xsd:string</i>
</li><li> <i>xsd:normalizedString</i>
</li><li> <i>xsd:token</i>
</li><li> <i>xsd:Name</i>
</li><li> <i>xsd:NCName</i>
</li><li> <i>xsd:NMTOKEN</i>
</li><li> <i>xsd:hexBinary</i>
</li><li> <i>xsd:base64Binary</i>
</li><li> <i>xsd:anyURI</i>
</li><li> <i>xsd:dateTime</i>
</li><li> <i>xsd:dateTimeStamp</i>
</li></ul>
<p>The set of supported datatypes has been designed such that the intersection of the value spaces of any set of these datatypes is either empty or infinite, which is necessary to obtain the desired computational properties [<cite><a href="#ref-ELpp" title="">EL++</a></cite>]. Consequently, the following datatypes <em class="RFC2119" title="MUST NOT in RFC 2119 context">MUST NOT</em> be used in OWL 2 EL: <i>xsd:double</i>, <i>xsd:float</i>, <i>xsd:nonPositiveInteger</i>, <i>xsd:positiveInteger</i>, <i>xsd:negativeInteger</i>, <i>xsd:long</i>, <i>xsd:int</i>, <i>xsd:short</i>, <i>xsd:byte</i>, <i>xsd:unsignedLong</i>, <i>xsd:unsignedInt</i>, <i>xsd:unsignedShort</i>, <i>xsd:unsignedByte</i>, <i>xsd:language</i>, and <i>xsd:boolean</i>.
</p><p>Finally, OWL 2 EL does not support anonymous individuals.
</p>
<div class="grammar">
<p><span class="nonterminal">Individual</span>&nbsp;:= <span class="nonterminal">NamedIndividual</span>
</p>
</div>
<a name="Property_Expressions"></a><h4> <span class="mw-headline">2.2.2  Property Expressions </span></h4>
<p>Inverse properties are not supported in OWL 2 EL, so object property expressions are restricted to named properties. Data property expressions are defined in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<div class="grammar">
<p><span class="nonterminal">ObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectProperty</span>
</p>
</div>
<a name="Class_Expressions"></a><h4> <span class="mw-headline">2.2.3   Class Expressions </span></h4>
<p>In order to allow for efficient reasoning, OWL 2 EL restricts the set of supported class expressions to <span class="nonterminal">ObjectIntersectionOf</span>, <span class="nonterminal">ObjectSomeValuesFrom</span>, <span class="nonterminal">ObjectHasSelf</span>, <span class="nonterminal">ObjectHasValue</span>, <span class="nonterminal">DataSomeValuesFrom</span>, <span class="nonterminal">DataHasValue</span>, and <span class="nonterminal">ObjectOneOf</span> containing a single individual.
</p>
<div class="grammar">
<p><span class="nonterminal">ClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> | <span class="nonterminal">ObjectIntersectionOf</span> | <span class="nonterminal">ObjectOneOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectSomeValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> | <span class="nonterminal">ObjectHasSelf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataSomeValuesFrom</span> | <span class="nonterminal">DataHasValue</span><br />
<span class="nonterminal">ObjectOneOf</span>&nbsp;:= 'ObjectOneOf' '(' <span class="nonterminal">Individual</span> ')'
</p>
</div>
<a name="Data_Ranges"></a><h4> <span class="mw-headline">2.2.4  Data Ranges </span></h4>
<p>A data range expression is restricted in OWL 2 EL to the predefined datatypes admitted in OWL 2 EL, intersections of data ranges, and to enumerations of literals consisting of a single literal.
</p>
<div class="grammar">
<p><span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span> | <span class="nonterminal">DataOneOf</span><br />
<span class="nonterminal">DataOneOf</span>&nbsp;:= 'DataOneOf' '(' <span class="nonterminal">Literal</span> ')'
</p>
</div>
<a name="Axioms"></a><h4> <span class="mw-headline">2.2.5  Axioms </span></h4>
<p>The class axioms of OWL 2 EL are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the exception that <span class="nonterminal">DisjointUnion</span> is disallowed. Different class axioms are defined in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the difference that they use the new definition of <span class="nonterminal">ClassExpression</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span>
</p>
</div>
<p>OWL 2 EL supports the following object property axioms, which are defined in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the difference that they use the new definition of <span class="nonterminal">ObjectPropertyExpression</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">EquivalentObjectProperties</span> | <span class="nonterminal">SubObjectPropertyOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ReflexiveObjectProperty</span> | <span class="nonterminal">TransitiveObjectProperty</span>
</p>
</div>
<p>OWL 2 EL provides the same axioms about data properties as the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>] apart from <span class="nonterminal">DisjointDataProperties</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">DataPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubDataPropertyOf</span> | <span class="nonterminal">EquivalentDataProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyDomain</span> | <span class="nonterminal">DataPropertyRange</span> | <span class="nonterminal">FunctionalDataProperty</span>
</p>
</div>
<p>The assertions in OWL 2 EL, as well as all other axioms, are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the difference that class object property expressions are restricted as defined in the previous sections.
</p>
<a name="Global_Restrictions"></a><h4> <span class="mw-headline">2.2.6  Global Restrictions </span></h4>
<p>OWL 2 EL extends the global restrictions on axioms from Section 11 of the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>] with an additional condition [<cite><a href="#ref-ELppUpd" title="">EL++ Update</a></cite>]. In order to define this condition, the following notion is used.
</p><p>The set of axioms <span class="name">Ax</span> <i>imposes a range restriction to a class expression</i> <span class="name">CE</span> <i>on an object property</i> <span class="name">OP<sub>1</sub></span> if <span class="name">Ax</span> contains the following axioms, where k &ge; 1 is an integer and <span class="name">OP<sub>i</sub></span> are object properties:
</p>
<div class="fss">
<p>SubObjectPropertyOf( OP<sub>1</sub> OP<sub>2</sub>)<br />
...<br />
SubObjectPropertyOf( OP<sub>k-1</sub> OP<sub>k</sub> )<br />
ObjectPropertyRange( OP<sub>k</sub> CE )
</p>
</div>
<p>The axiom closure <span class="name">Ax</span> of an OWL 2 EL ontology <em class="RFC2119" title="MUST in RFC 2119 context">MUST</em> obey the restrictions described in Section 11 of the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>] and, in addition, if
</p>
<ul><li> <span class="name">Ax</span> contains <span class="name">SubObjectPropertyOf( ObjectPropertyChain( OP<sub>1</sub> ... OP<sub>n</sub> ) OP )</span> and
</li><li> <span class="name">Ax</span> imposes a range restriction to some class expression <span class="name">CE</span> on <span class="name">OP</span>
</li></ul>
<p>then <span class="name">Ax</span> <em class="RFC2119" title="MUST in RFC 2119 context">MUST</em> impose a range restriction to <span class="name">CE</span> on <span class="name">OP<sub>n</sub></span>.
</p><p>This additional restriction is vacuously true for each <span class="nonterminal">SubObjectPropertyOf</span> axiom in which in the first item of the previous definition does not contain a property chain. There are no additional restrictions for range restrictions on reflexive and transitive roles &mdash; that is, a range restriction can be placed on a reflexive and/or transitive role provided that it satisfies the previously mentioned restriction.
</p>
<a name="OWL_2_QL"></a><h2> <span class="mw-headline">3  OWL 2 QL </span></h2>
<p>The OWL 2 QL profile is designed so that sound and complete query answering is in LOGSPACE (more precisely, in AC<sup>0</sup>) with respect to the size of the data (assertions), while providing many of the main features necessary to express conceptual models such as UML class diagrams and ER diagrams. In particular, this profile contains the intersection of RDFS and OWL 2 DL. It is designed so that data (assertions) that is stored in a standard relational database system can be queried through an ontology via a simple rewriting mechanism, i.e., by rewriting the query into an SQL query that is then answered by the RDBMS system, without any changes to the data. 
</p><p>OWL 2 QL is based on the DL-Lite family of description logics [<cite><a href="#ref-DL-Lite" title="">DL-Lite</a></cite>]. Several variants of DL-Lite have been described in the literature, and DL-Lite<sub>R</sub> provides the logical underpinning for OWL 2 QL. DL-Lite<sub>R</sub> does not require the unique name assumption (UNA), since making this assumption would have no impact on the semantic consequences of a DL-Lite<sub>R</sub> ontology. More expressive variants of DL-Lite, such as DL-Lite<sub>A</sub>, extend DL-Lite<sub>R</sub> with functional properties, and these can also be extended with keys; however, for query answering to remain in LOGSPACE, these extensions require UNA and need to impose certain global restrictions on the interaction between properties used in different types of axiom. Basing OWL 2 QL on DL-Lite<sub>R</sub> avoids practical problems involved in the explicit axiomatization of UNA. Other variants of DL-Lite can also be supported on top of OWL 2 QL, but may require additional restrictions on the structure of ontologies.
</p>
<a name="Feature_Overview_2"></a><h3> <span class="mw-headline">3.1  Feature Overview </span></h3>
<p>OWL 2 QL is defined not only in terms of the set of supported constructs, but it also restricts the places in which these constructs are allowed to occur. The allowed usage of constructs in class expressions is summarized in Table 1.
</p>
<div class="center">
<table border="2" cellpadding="5" style="text-align: left">
<caption> <span class="caption">Table 1.</span> Syntactic Restrictions on Class Expressions in OWL 2 QL
</caption>
<tr>
<th> Subclass Expressions
</th><th> Superclass Expressions
</th></tr>
<tr>
<td> a class<br /> existential quantification (<span class="nonterminal">ObjectSomeValuesFrom</span>)<br /> &nbsp;&nbsp;&nbsp; where the class is limited to <i>owl:Thing</i><br /> existential quantification to a data range (<span class="nonterminal">DataSomeValuesFrom</span>)
</td><td> a class<br /> intersection (<span class="nonterminal">ObjectIntersectionOf</span>)<br /> negation (<span class="nonterminal">ObjectComplementOf</span>)<br /> existential quantification to a class (<span class="nonterminal">ObjectSomeValuesFrom</span>)<br /> existential quantification to a data range (<span class="nonterminal">DataSomeValuesFrom</span>)
</td></tr></table>
</div>
<p>OWL 2 QL supports the following axioms, constrained so as to be compliant with the mentioned restrictions on class expressions:
</p>
<ul><li> subclass axioms (<span class="nonterminal">SubClassOf</span>)
</li><li> class expression equivalence (<span class="nonterminal">EquivalentClasses</span>)
</li><li> class expression disjointness (<span class="nonterminal">DisjointClasses</span>)
</li><li> inverse object properties (<span class="nonterminal">InverseObjectProperties</span>)
</li><li> property inclusion (<span class="nonterminal">SubObjectPropertyOf</span> not involving property chains and <span class="nonterminal">SubDataPropertyOf</span>)
</li><li> property equivalence (<span class="nonterminal">EquivalentObjectProperties</span> and <span class="nonterminal">EquivalentDataProperties</span>)
</li><li> property domain (<span class="nonterminal">ObjectPropertyDomain</span> and <span class="nonterminal">DataPropertyDomain</span>)
</li><li> property range (<span class="nonterminal">ObjectPropertyRange</span> and <span class="nonterminal">DataPropertyRange</span>)
</li><li> disjoint properties (<span class="nonterminal">DisjointObjectProperties</span> and <span class="nonterminal">DisjointDataProperties</span>)
</li><li> symmetric properties (<span class="nonterminal">SymmetricObjectProperty</span>)
</li><li> reflexive properties (<span class="nonterminal">ReflexiveObjectProperty</span>)
</li><li> irreflexive properties (<span class="nonterminal">IrreflexiveObjectProperty</span>)
</li><li> asymmetric properties (<span class="nonterminal">AsymmetricObjectProperty</span>)
</li><li> assertions other than individual equality assertions and negative property assertions (<span class="nonterminal">DifferentIndividuals</span>, <span class="nonterminal">ClassAssertion</span>, <span class="nonterminal">ObjectPropertyAssertion</span>, and <span class="nonterminal">DataPropertyAssertion</span>)
</li></ul>
<p>The following constructs are not supported in OWL 2 QL:
</p>
<ul><li> existential quantification to a class expression or a data range (<span class="nonterminal">ObjectSomeValuesFrom</span> and <span class="nonterminal">DataSomeValuesFrom</span>) in the subclass position
</li><li> self-restriction (<span class="nonterminal">ObjectHasSelf</span>)
</li><li> existential quantification to an individual or a literal (<span class="nonterminal">ObjectHasValue</span>, <span class="nonterminal">DataHasValue</span>)
</li><li> enumeration of individuals and literals (<span class="nonterminal">ObjectOneOf</span>, <span class="nonterminal">DataOneOf</span>)
</li><li> universal quantification to a class expression or a data range (<span class="nonterminal">ObjectAllValuesFrom</span>, <span class="nonterminal">DataAllValuesFrom</span>)
</li><li> cardinality restrictions (<span class="nonterminal">ObjectMaxCardinality</span>, <span class="nonterminal">ObjectMinCardinality</span>, <span class="nonterminal">ObjectExactCardinality</span>, <span class="nonterminal">DataMaxCardinality</span>, <span class="nonterminal">DataMinCardinality</span>, <span class="nonterminal">DataExactCardinality</span>)
</li><li> disjunction (<span class="nonterminal">ObjectUnionOf</span>, <span class="nonterminal">DisjointUnion</span>, and <span class="nonterminal">DataUnionOf</span>)
</li><li> property inclusions (<span class="nonterminal">SubObjectPropertyOf</span>) involving property chains
</li><li> functional and inverse-functional properties (<span class="nonterminal">FunctionalObjectProperty</span>, <span class="nonterminal">InverseFunctionalObjectProperty</span>, and <span class="nonterminal">FunctionalDataProperty</span>)
</li><li> transitive properties (<span class="nonterminal">TransitiveObjectProperty</span>)
</li><li> keys (<span class="nonterminal">HasKey</span>)
</li><li> individual equality assertions and negative property assertions
</li></ul>
<p>OWL 2 QL does not support individual equality assertions (<span class="nonterminal">SameIndividual</span>): adding such axioms to OWL 2 QL would increase the data complexity of query answering, so that it is no longer first order rewritable, which means that query answering could not be implemented directly using relational database technologies. However, an ontology <i>O</i> that includes individual equality assertions, but is otherwise OWL 2 QL, could be handled by computing the reflexive&ndash;symmetric&ndash;transitive closure of the equality (<span class="nonterminal">SameIndividual</span>) relation in <i>O</i> (this requires answering recursive queries and can be implemented in LOGSPACE w.r.t. the size of data) [<cite><a href="#ref-DL-Lite-bool" title="">DL-Lite-bool</a></cite>], and then using this relation in query answering procedures to simulate individual equality reasoning [<cite><a href="#ref-automated-reasoning" title="">Automated Reasoning</a></cite>].
</p>
<a name="Profile_Specification_2"></a><h3> <span class="mw-headline">3.2  Profile Specification </span></h3>
<p>The productions for OWL 2 QL are defined in the following sections. Note that each OWL 2 QL ontology must satisfy the global restrictions on axioms defined in Section 11 of the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<a name="Entities_2"></a><h4> <span class="mw-headline">3.2.1  Entities </span></h4>
<p>Entities are defined in OWL 2 QL in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], and OWL 2 QL supports all predefined classes and properties. Furthermore, OWL 2 QL supports the following datatypes:
</p>
<ul><li> <i>rdf:PlainLiteral</i>
</li><li> <i>rdf:XMLLiteral</i>
</li><li> <i>rdfs:Literal</i>
</li><li> <i>owl:real</i>
</li><li> <i>owl:rational</i>
</li><li> <i>xsd:decimal</i>
</li><li> <i>xsd:integer</i>
</li><li> <i>xsd:nonNegativeInteger</i>
</li><li> <i>xsd:string</i>
</li><li> <i>xsd:normalizedString</i>
</li><li> <i>xsd:token</i>
</li><li> <i>xsd:Name</i>
</li><li> <i>xsd:NCName</i>
</li><li> <i>xsd:NMTOKEN</i>
</li><li> <i>xsd:hexBinary</i>
</li><li> <i>xsd:base64Binary</i>
</li><li> <i>xsd:anyURI</i>
</li><li> <i>xsd:dateTime</i>
</li><li> <i>xsd:dateTimeStamp</i>
</li></ul>
<p>The set of supported datatypes has been designed such that the intersection of the value spaces of any set of these datatypes is either empty or infinite, which is necessary to obtain the desired computational properties. Consequently, the following datatypes <em class="RFC2119" title="MUST NOT in RFC 2119 context">MUST NOT</em> be used in OWL 2 QL: <i>xsd:double</i>, <i>xsd:float</i>, <i>xsd:nonPositiveInteger</i>, <i>xsd:positiveInteger</i>, <i>xsd:negativeInteger</i>, <i>xsd:long</i>, <i>xsd:int</i>, <i>xsd:short</i>, <i>xsd:byte</i>, <i>xsd:unsignedLong</i>, <i>xsd:unsignedInt</i>, <i>xsd:unsignedShort</i>, <i>xsd:unsignedByte</i>, <i>xsd:language</i>, and <i>xsd:boolean</i>.
</p><p>Finally, OWL 2 QL does not support anonymous individuals.
</p>
<div class="grammar">
<p><span class="nonterminal">Individual</span>&nbsp;:= <span class="nonterminal">NamedIndividual</span>
</p>
</div>
<a name="Property_Expressions_2"></a><h4> <span class="mw-headline">3.2.2  Property Expressions </span></h4>
<p>OWL 2 QL object and data property expressions are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<a name="Class_Expressions_2"></a><h4> <span class="mw-headline">3.2.3  Class Expressions </span></h4>
<p>In OWL 2 QL, there are two types of class expressions. The <span class="nonterminal">subClassExpression</span> production defines the class expressions that can occur as subclass expressions in <span class="nonterminal">SubClassOf</span> axioms, and the <span class="nonterminal">superClassExpression</span> production defines the classes that can occur as superclass expressions in <span class="nonterminal">SubClassOf</span> axioms.
</p>
<div class="grammar">
<p><span class="nonterminal">subClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectSomeValuesFrom</span> | <span class="nonterminal">DataSomeValuesFrom</span><br />
<span class="nonterminal">subObjectSomeValuesFrom</span>&nbsp;:= 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<br />
<span class="nonterminal">superClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectIntersectionOf</span> | <span class="nonterminal">superObjectComplementOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectSomeValuesFrom</span> | <span class="nonterminal">DataSomeValuesFrom</span><br />
<span class="nonterminal">superObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">superClassExpression</span> <span class="nonterminal">superClassExpression</span> { <span class="nonterminal">superClassExpression</span> } ')'<br />
<span class="nonterminal">superObjectComplementOf</span>&nbsp;:= 'ObjectComplementOf' '(' <span class="nonterminal">subClassExpression</span> ')'<br />
<span class="nonterminal">superObjectSomeValuesFrom</span>&nbsp;:= 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">Class</span> ')'
</p>
</div>
<a name="Data_Ranges_2"></a><h4> <span class="mw-headline">3.2.4  Data Ranges </span></h4>
<p>A data range expression is restricted in OWL 2 QL to the predefined datatypes and the intersection of data ranges.
</p>
<div class="grammar">
<p><span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span>
</p>
</div>
<a name="Axioms_2"></a><h4> <span class="mw-headline">3.2.5  Axioms </span></h4>
<p>The class axioms of OWL 2 QL are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the exception that <span class="nonterminal">DisjointUnion</span> is disallowed; however, all axioms that refer to the <span class="nonterminal">ClassExpression</span> production are redefined so as to use <span class="nonterminal">subClassExpression</span> and/or <span class="nonterminal">superClassExpression</span> as appropriate.
</p>
<div class="grammar">
<p><span class="nonterminal">SubClassOf</span>&nbsp;:= 'SubClassOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">EquivalentClasses</span>&nbsp;:= 'EquivalentClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<span class="nonterminal">DisjointClasses</span>&nbsp;:= 'DisjointClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span>
</p>
</div>
<p>OWL 2 QL disallows the use of property chains in property inclusion axioms; however, simple property inclusions are supported. Furthermore, OWL 2 QL disallows the use of functional and  transitive object properties, and it restricts the class expressions in object property domain and range axioms to <span class="nonterminal">superClassExpression</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">ObjectPropertyDomain</span>&nbsp;:= 'ObjectPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">ObjectPropertyRange</span>&nbsp;:= 'ObjectPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">SubObjectPropertyOf</span>&nbsp;:= 'SubObjectPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubObjectPropertyOf</span> | <span class="nonterminal">EquivalentObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DisjointObjectProperties</span> | <span class="nonterminal">InverseObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ReflexiveObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SymmetricObjectProperty</span> | <span class="nonterminal">AsymmetricObjectProperty</span>
</p>
</div>
<p>OWL 2 QL disallows functional data property axioms, and it restricts the class expressions in data property domain axioms to <span class="nonterminal">superClassExpression</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">DataPropertyDomain</span>&nbsp;:= 'DataPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">DataPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubDataPropertyOf</span> | <span class="nonterminal">EquivalentDataProperties</span> | <span class="nonterminal">DisjointDataProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyDomain</span> | <span class="nonterminal">DataPropertyRange</span>
</p>
</div>
<p>OWL 2 QL disallows negative object property assertions and individual equality axioms. Furthermore, class assertions in OWL 2 QL can involve only atomic classes. Inequality axioms and property assertions are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<div class="grammar">
<p><span class="nonterminal">ClassAssertion</span>&nbsp;:= 'ClassAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Class</span> <span class="nonterminal">Individual</span> ')'<br />
<span class="nonterminal">Assertion</span>&nbsp;:= <span class="nonterminal">DifferentIndividuals</span> | <span class="nonterminal">ClassAssertion</span> | <span class="nonterminal">ObjectPropertyAssertion</span> | <span class="nonterminal">DataPropertyAssertion</span>
</p>
</div>
<p>Finally, the axioms in OWL 2 QL are the same as those in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], with the exception that key axioms are not allowed.
</p>
<div class="grammar">
<p><span class="nonterminal">Axiom</span>&nbsp;:= <span class="nonterminal">Declaration</span> | <span class="nonterminal">ClassAxiom</span> | <span class="nonterminal">ObjectPropertyAxiom</span> | <span class="nonterminal">DataPropertyAxiom</span> | <span class="nonterminal">DatatypeDefinition</span> | <span class="nonterminal">Assertion</span> | <span class="nonterminal">AnnotationAxiom</span>
</p>
</div>
<a name="OWL_2_RL"></a><h2> <span class="mw-headline">4   OWL 2 RL </span></h2>
<p>The OWL 2 RL profile is aimed at applications that require scalable reasoning without sacrificing too much expressive power. It is designed to accommodate both OWL 2 applications that can trade the full expressivity of the language for efficiency, and RDF(S) applications that need some added expressivity from OWL 2. This is achieved by defining a syntactic subset of OWL 2 which is amenable to implementation using rule-based technologies (see <a href="#Profile_Specification_3" title="">Section 4.2</a>), and presenting a partial axiomatization of the OWL 2 RDF-Based Semantics [<cite><a href="#ref-owl-2-rdf-semantics" title="">OWL 2 RDF-Based Semantics</a></cite>] in the form of first-order implications that can be used as the basis for such an implementation (see <a href="#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules" title="">Section 4.3</a>). The design of OWL 2 RL was inspired by Description Logic Programs [<cite><a href="#ref-dlp" title="">DLP</a></cite>] and pD* [<cite><a href="#ref-pdstar" title="">pD*</a></cite>].
</p><p>For ontologies satisfying the syntactic constraints described in <a href="#Profile_Specification_3" title="">Section 4.2</a>, a suitable rule-based implementation (e.g., one based on the partial axiomatization presented in <a href="#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules" title="">Section 4.3</a>) will have desirable computational properties; for example, it can return <i>all</i> and <i>only</i> the correct answers to certain kinds of query (see <a href="#Theorem-PR1" title="">Theorem PR1</a> and OWL 2 Conformance [<cite><a href="#ref-owl-2-conformance" title="">OWL 2 Conformance</a></cite>]). Such an implementation can also be used with arbitrary RDF graphs. In this case, however, these properties no longer hold &mdash; in particular, it is no longer possible to guarantee that <i>all</i> correct answers can be returned, for example if the RDF graph uses the built-in vocabulary in unusual ways. Such an implementation will, however, still produce only correct entailments (see OWL 2 Conformance [<cite><a href="#ref-owl-2-conformance" title="">OWL 2 Conformance</a></cite>]).
</p>
<a name="Feature_Overview_3"></a><h3> <span class="mw-headline">4.1  Feature Overview </span></h3>
<p>Restricting the way in which constructs are used makes it possible to implement reasoning systems using rule-based reasoning engines, while still providing desirable computational guarantees. These restrictions are designed so as to avoid the need to infer the existence of individuals not explicitly present in the knowledge base, and to avoid the need for nondeterministic reasoning. This is achieved by restricting the use of constructs to certain syntactic positions. For example in <span class="name">SubClassOf</span> axioms, the constructs in the subclass and superclass expressions must follow the usage patterns shown in Table 2.
</p>
<div class="center">
<table border="2" cellpadding="5" style="text-align: left">
<caption> <span class="caption">Table 2.</span>  Syntactic Restrictions on Class Expressions in OWL 2 RL
</caption>
<tr>
<th> Subclass Expressions
</th><th> Superclass Expressions
</th></tr>
<tr>
<td> a class other than <i>owl:Thing</i><br /> an enumeration of individuals (<span class="nonterminal">ObjectOneOf</span>)<br /> intersection of class expressions (<span class="nonterminal">ObjectIntersectionOf</span>)<br /> union of class expressions (<span class="nonterminal">ObjectUnionOf</span>)<br /> existential quantification to a class expression (<span class="nonterminal">ObjectSomeValuesFrom</span>)<br /> existential quantification to a data range (<span class="nonterminal">DataSomeValuesFrom</span>)<br /> existential quantification to an individual (<span class="nonterminal">ObjectHasValue</span>)<br /> existential quantification to a literal (<span class="nonterminal">DataHasValue</span>)
</td><td> a class other than <i>owl:Thing</i><br /> intersection of classes (<span class="nonterminal">ObjectIntersectionOf</span>)<br /> negation (<span class="nonterminal">ObjectComplementOf</span>)<br /> universal quantification to a class expression (<span class="nonterminal">ObjectAllValuesFrom</span>)<br /> existential quantification to an individual (<span class="nonterminal">ObjectHasValue</span>)<br /> at-most 0/1 cardinality restriction to a class expression (<span class="nonterminal">ObjectMaxCardinality</span> 0/1)<br /> universal quantification to a data range (<span class="nonterminal">DataAllValuesFrom</span>)<br /> existential quantification to a literal (<span class="nonterminal">DataHasValue</span>)<br /> at-most 0/1 cardinality restriction to a data range (<span class="nonterminal">DataMaxCardinality</span> 0/1)
</td></tr></table>
</div>
<p>All axioms in OWL 2 RL are constrained in a way that is compliant with these restrictions. Thus, OWL 2 RL supports all axioms of OWL 2 apart from disjoint unions of classes (<span class="nonterminal">DisjointUnion</span>) and reflexive object property axioms (<span class="nonterminal">ReflexiveObjectProperty</span>).
</p>
<a name="Profile_Specification_3"></a><h3> <span class="mw-headline">4.2  Profile Specification </span></h3>
<p>The productions for OWL 2 RL are defined in the following sections. OWL 2 RL is defined not only in terms of the set of supported constructs, but it also restricts the places in which these constructs can be used. Note that each OWL 2 RL ontology must satisfy the global restrictions on axioms defined in Section 11 of the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<a name="Entities_3"></a><h4> <span class="mw-headline">4.2.1  Entities </span></h4>
<p>Entities are defined in OWL 2 RL in the same way as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>]. OWL 2 RL supports the predefined classes <i>owl:Nothing</i> and <i>owl:Thing</i>, but the usage of the latter class is restricted by the grammar of OWL 2 RL. Furthermore, OWL 2 RL does not support the predefined object and data properties <i>owl:topObjectProperty</i>, <i>owl:bottomObjectProperty</i>, <i>owl:topDataProperty</i>, and <i>owl:bottomDataProperty</i>. Finally, OWL 2 RL supports the following datatypes:
</p>
<ul><li> <i>rdf:PlainLiteral</i>
</li><li> <i>rdf:XMLLiteral</i>
</li><li> <i>rdfs:Literal</i>
</li><li> <i>xsd:decimal</i>
</li><li> <i>xsd:integer</i>
</li><li> <i>xsd:nonNegativeInteger</i>
</li><li> <i>xsd:nonPositiveInteger</i>
</li><li> <i>xsd:positiveInteger</i>
</li><li> <i>xsd:negativeInteger</i>
</li><li> <i>xsd:long</i>
</li><li> <i>xsd:int</i>
</li><li> <i>xsd:short</i>
</li><li> <i>xsd:byte</i>
</li><li> <i>xsd:unsignedLong</i>
</li><li> <i>xsd:unsignedInt</i>
</li><li> <i>xsd:unsignedShort</i>
</li><li> <i>xsd:unsignedByte</i>
</li><li> <i>xsd:float</i>
</li><li> <i>xsd:double</i>
</li><li> <i>xsd:string</i>
</li><li> <i>xsd:normalizedString</i>
</li><li> <i>xsd:token</i>
</li><li> <i>xsd:language</i>
</li><li> <i>xsd:Name</i>
</li><li> <i>xsd:NCName</i>
</li><li> <i>xsd:NMTOKEN</i>
</li><li> <i>xsd:boolean</i>
</li><li> <i>xsd:hexBinary</i>
</li><li> <i>xsd:base64Binary</i>
</li><li> <i>xsd:anyURI</i>
</li><li> <i>xsd:dateTime</i>
</li><li> <i>xsd:dateTimeStamp</i>
</li></ul>
<p>The set of supported datatypes has been designed to allow for an implementation in rule systems. The <i>owl:real</i> and <i>owl:rational</i> datatypes <em class="RFC2119" title="MUST NOT in RFC 2119 context">MUST NOT</em> be used in OWL 2 RL.
</p>
<a name="Property_Expressions_3"></a><h4> <span class="mw-headline">4.2.2  Property Expressions </span></h4>
<p>Property expressions in OWL 2 RL are identical to the property expressions in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<a name="Class_Expressions_3"></a><h4> <span class="mw-headline">4.2.3  Class Expressions </span></h4>
<p>There are three types of class expressions in OWL 2 RL. The <span class="nonterminal">subClassExpression</span> production defines the class expressions that can occur as subclass expressions in <span class="nonterminal">SubClassOf</span> axioms; the <span class="nonterminal">superClassExpression</span> production defines the class expressions that can occur as superclass expressions in <span class="nonterminal">SubClassOf</span> axioms; and the <span class="nonterminal">equivClassExpressions</span> production defines the classes that can occur in <span class="nonterminal">EquivalentClasses</span> axioms.
</p>
<div class="grammar">
<p><span class="nonterminal">zeroOrOne </span>&nbsp;:= '0' | '1'<br />
<br />
<span class="nonterminal">subClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectIntersectionOf</span> | <span class="nonterminal">subObjectUnionOf</span> | <span class="nonterminal">ObjectOneOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectSomeValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataSomeValuesFrom</span> | <span class="nonterminal">DataHasValue</span><br />
<span class="nonterminal">subObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<span class="nonterminal">subObjectUnionOf</span>&nbsp;:= 'ObjectUnionOf' '(' <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<span class="nonterminal">subObjectSomeValuesFrom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">subClassExpression</span> ')' |<br />
&nbsp;&nbsp;&nbsp; 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<br />
<span class="nonterminal">superClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectIntersectionOf</span> | <span class="nonterminal">superObjectComplementOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectAllValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> | <span class="nonterminal">superObjectMaxCardinality</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataAllValuesFrom</span> | <span class="nonterminal">DataHasValue</span> | <span class="nonterminal">superDataMaxCardinality</span><br />
<span class="nonterminal">superObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">superClassExpression</span> <span class="nonterminal">superClassExpression</span> { <span class="nonterminal">superClassExpression</span> } ')'<br />
<span class="nonterminal">superObjectComplementOf</span>&nbsp;:= 'ObjectComplementOf' '(' <span class="nonterminal">subClassExpression</span> ')'<br />
<span class="nonterminal">superObjectAllValuesFrom</span>&nbsp;:= 'ObjectAllValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">superObjectMaxCardinality</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; 'ObjectMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">ObjectPropertyExpression</span> [ <span class="nonterminal">subClassExpression</span> ] ')' |<br />
&nbsp;&nbsp;&nbsp; 'ObjectMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<span class="nonterminal">superDataMaxCardinality</span>&nbsp;:= 'DataMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">DataPropertyExpression</span> [ <span class="nonterminal">DataRange</span> ] ')' <br />
<br />
<span class="nonterminal">equivClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">equivObjectIntersectionOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectHasValue</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataHasValue</span><br />
<span class="nonterminal">equivObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">equivClassExpression</span> <span class="nonterminal">equivClassExpression</span> { <span class="nonterminal">equivClassExpression</span> } ')'
</p>
</div>
<a name="Data_Ranges_3"></a><h4> <span class="mw-headline">4.2.4  Data Ranges </span></h4>
<p>A data range expression is restricted in OWL 2 RL to the predefined datatypes admitted in OWL 2 RL and the intersection of data ranges.
</p>
<div class="grammar">
<p><span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span>
</p>
</div>
<a name="Axioms_3"></a><h4> <span class="mw-headline">4.2.5  Axioms </span></h4>
<p>OWL 2 RL redefines all axioms of the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>] that refer to class expressions. In particular, it restricts various class axioms to use the appropriate form of class expressions (i.e., one of <span class="nonterminal">subClassExpression</span>, <span class="nonterminal">superClassExpression</span>, or <span class="nonterminal">equivClassExpression</span>), and it disallows the <span class="nonterminal">DisjointUnion</span> axiom.
</p>
<div class="grammar">
<p><span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span><br />
<span class="nonterminal">SubClassOf</span>&nbsp;:= 'SubClassOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">EquivalentClasses</span>&nbsp;:= 'EquivalentClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">equivClassExpression</span> <span class="nonterminal">equivClassExpression</span> { <span class="nonterminal">equivClassExpression</span> } ')'<br />
<span class="nonterminal">DisjointClasses</span>&nbsp;:= 'DisjointClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'
</p>
</div>
<p>OWL 2 RL axioms about property expressions are as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], the only differences being that class expressions in property domain and range axioms are restricted to <span class="nonterminal">superClassExpression</span>, and that the use of reflexive properties is disallowed.
</p>
<div class="grammar">
<p><span class="nonterminal">ObjectPropertyDomain</span>&nbsp;:= 'ObjectPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">ObjectPropertyRange</span>&nbsp;:= 'ObjectPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">DataPropertyDomain</span>&nbsp;:= 'DataPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubObjectPropertyOf</span> | <span class="nonterminal">EquivalentObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DisjointObjectProperties</span> | <span class="nonterminal">InverseObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">FunctionalObjectProperty</span> | <span class="nonterminal">InverseFunctionalObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">IrreflexiveObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SymmetricObjectProperty</span> | <span class="nonterminal">AsymmetricObjectProperty</span><br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">TransitiveObjectProperty</span>
</p>
</div>
<p>OWL 2 RL restricts class expressions in positive assertions to <span class="nonterminal">superClassExpression</span>. All other assertions are the same as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<div class="grammar">
<p><span class="nonterminal">ClassAssertion</span>&nbsp;:= 'ClassAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">superClassExpression</span> <span class="nonterminal">Individual</span> ')'
</p>
</div>
<p>OWL 2 RL restricts class expressions in keys to <span class="nonterminal">subClassExpression</span>.
</p>
<div class="grammar">
<p><span class="nonterminal">HasKey</span>&nbsp;:= 'HasKey' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> '(' { <span class="nonterminal">ObjectPropertyExpression</span> } ')' '(' { <span class="nonterminal">DataPropertyExpression</span> } ')' ')'
</p>
</div>
<p>All other axioms in OWL 2 RL are defined as in the structural specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>].
</p>
<a name="Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules"></a><h3> <span class="mw-headline">4.3  Reasoning in OWL 2 RL and RDF Graphs using Rules </span></h3>
<p>This section presents a partial axiomatization of the OWL 2 RDF-Based Semantics [<cite><a href="#ref-owl-2-rdf-semantics" title="">OWL 2 RDF-Based Semantics</a></cite>] in the form of first-order implications; this axiomatization is called the OWL 2 RL/RDF rules. These rules provide a useful starting point for practical implementation using rule-based technologies such as logic programming [<cite><a href="#ref-logic-programming" title="">Logic Programming</a></cite>, <cite><a href="#ref-lloyd" title="">Lloyd</a></cite>].
</p><p>The rules are given as universally quantified first-order implications over a ternary predicate <span class="name">T</span>. This predicate represents a generalization of RDF triples in which bnodes and literals are allowed in all positions (similar to the partial generalization in pD* [<cite><a href="#ref-pdstar" title="">pD*</a></cite>] and to generalized RDF triples in RIF [<cite><a href="#ref-rif-rdf-owl" title="">RIF RDF &amp; OWL</a></cite>]); thus, <span class="name">T(s, p, o)</span> represents a generalized RDF triple with the subject <span class="name">s</span>, predicate <span class="name">p</span>, and the object <span class="name">o</span>. Variables in the implications are preceded with a question mark. The rules that have empty "if" parts should be understood as being always applicable. The propositional symbol <span class="name">false</span> is a special symbol denoting contradiction: if it is derived, then the initial RDF graph was inconsistent. The set of rules listed in this section is not minimal, as certain rules are implied by other ones; this was done to make the definition of the semantic consequences of each piece of OWL 2 vocabulary self-contained.
</p><p>Many conditions contain atoms that match to the list construct of RDF. In order to simplify the presentation of the rules, <span class="name">LIST[h, e<sub>1</sub>, ..., e<sub>n</sub>]</span> is used as an abbreviation for the conjunction of triples shown in Table 3, where <span class="name">z<sub>2</sub></span>, ..., <span class="name">z<sub>n</sub></span> are fresh variables that do not occur anywhere where the abbreviation is used.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 3.</span> Expansion of <span class="name">LIST[h, e<sub>1</sub>, ..., e<sub>n</sub>]</span>
</caption>
<tr>
<td class="name"> T(h, rdf:first, e<sub>1</sub>)
</td><td class="name"> T(h, rdf:rest, z<sub>2</sub>)
</td></tr>
<tr>
<td class="name"> T(z<sub>2</sub>, rdf:first, e<sub>2</sub>)
</td><td class="name"> T(z<sub>2</sub>, rdf:rest, z<sub>3</sub>)
</td></tr>
<tr>
<td class="name"> ...
</td><td class="name"> ...
</td></tr>
<tr>
<td class="name"> T(z<sub>n</sub>, rdf:first, e<sub>n</sub>)
</td><td class="name"> T(z<sub>n</sub>, rdf:rest, rdf:nil)
</td></tr>
</table>
</div>
<p>The axiomatization is split into several tables for easier navigation. Each rule is given a short unique name. The rows of several tables specify rules that need to be instantiated for each combination of indices given in the right-most column.
</p><p>Table 4 axiomatizes the semantics of equality. In particular, it defines the equality relation <span class="name">owl:sameAs</span> as being reflexive, symmetric, and transitive, and it axiomatizes the standard replacement properties of equality for it.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 4.</span> The Semantics of Equality
</caption>
<tr>
<th>
</th><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="eq-ref">eq-ref</span>
</td><td class="name"> T(?s,&nbsp;?p,&nbsp;?o)<br />
</td><td class="name"> T(?s, owl:sameAs,&nbsp;?s)<br /> T(?p, owl:sameAs,&nbsp;?p)<br /> T(?o, owl:sameAs,&nbsp;?o)
</td></tr>
<tr>
<td> <span class="name" id="eq-sym">eq-sym</span>
</td><td class="name"> T(?x, owl:sameAs,&nbsp;?y)
</td><td class="name"> T(?y, owl:sameAs,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="eq-trans">eq-trans</span>
</td><td class="name"> T(?x, owl:sameAs,&nbsp;?y)<br /> T(?y, owl:sameAs,&nbsp;?z)
</td><td class="name"> T(?x, owl:sameAs,&nbsp;?z)
</td></tr>
<tr>
<td> <span class="name" id="eq-rep-s">eq-rep-s</span>
</td><td class="name"> T(?s, owl:sameAs,&nbsp;?s')<br /> T(?s,&nbsp;?p,&nbsp;?o)<br />
</td><td class="name"> T(?s',&nbsp;?p,&nbsp;?o)
</td></tr>
<tr>
<td> <span class="name" id="eq-rep-p">eq-rep-p</span>
</td><td class="name"> T(?p, owl:sameAs,&nbsp;?p')<br /> T(?s,&nbsp;?p,&nbsp;?o)<br />
</td><td class="name"> T(?s,&nbsp;?p',&nbsp;?o)
</td></tr>
<tr>
<td> <span class="name" id="eq-rep-o">eq-rep-o</span>
</td><td class="name"> T(?o, owl:sameAs,&nbsp;?o')<br /> T(?s,&nbsp;?p,&nbsp;?o)<br />
</td><td class="name"> T(?s,&nbsp;?p,&nbsp;?o')
</td></tr>
<tr>
<td> <span class="name" id="eq-diff1">eq-diff1</span>
</td><td class="name"> T(?x, owl:sameAs,&nbsp;?y)<br /> T(?x, owl:differentFrom,&nbsp;?y)<br />
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="eq-diff2">eq-diff2</span>
</td><td class="name"> T(?x, rdf:type, owl:AllDifferent)<br /> T(?x, owl:members,&nbsp;?y)<br /> LIST[?y,&nbsp;?z<sub>1</sub>, ...,&nbsp;?z<sub>n</sub>]<br /> T(?z<sub>i</sub>, owl:sameAs,&nbsp;?z<sub>j</sub>)
</td><td class="name"> false
</td><td> for each 1 &le; i &lt; j &le; n
</td></tr>
<tr>
<td> <span class="name" id="eq-diff3">eq-diff3</span>
</td><td class="name"> T(?x, rdf:type, owl:AllDifferent)<br /> T(?x, owl:distinctMembers,&nbsp;?y)<br /> LIST[?y,&nbsp;?z<sub>1</sub>, ...,&nbsp;?z<sub>n</sub>]<br /> T(?z<sub>i</sub>, owl:sameAs,&nbsp;?z<sub>j</sub>)
</td><td class="name"> false
</td><td> for each 1 &le; i &lt; j &le; n
</td></tr>
</table>
</div>
<p>Table 5 specifies the semantic conditions on axioms about properties.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 5.</span> The Semantics of Axioms about Properties
</caption>
<tr>
<th>
</th><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="prp-ap">prp-ap</span>
</td><td class="name">
</td><td class="name"> T(ap, rdf:type, owl:AnnotationProperty)
</td><td> for each built-in annotation property of OWL 2 RL
</td></tr>
<tr>
<td> <span class="name" id="prp-dom">prp-dom</span>
</td><td class="name"> T(?p, rdfs:domain,&nbsp;?c)<br /> T(?x,&nbsp;?p,&nbsp;?y)
</td><td class="name"> T(?x, rdf:type,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="prp-rng">prp-rng</span>
</td><td class="name"> T(?p, rdfs:range,&nbsp;?c)<br /> T(?x,&nbsp;?p,&nbsp;?y)
</td><td class="name"> T(?y, rdf:type,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="prp-fp">prp-fp</span>
</td><td class="name"> T(?p, rdf:type, owl:FunctionalProperty)<br /> T(?x,&nbsp;?p,&nbsp;?y<sub>1</sub>)<br /> T(?x,&nbsp;?p,&nbsp;?y<sub>2</sub>)
</td><td class="name"> T(?y<sub>1</sub>, owl:sameAs,&nbsp;?y<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="prp-ifp">prp-ifp</span>
</td><td class="name"> T(?p, rdf:type, owl:InverseFunctionalProperty)<br /> T(?x<sub>1</sub>,&nbsp;?p,&nbsp;?y)<br /> T(?x<sub>2</sub>,&nbsp;?p,&nbsp;?y)
</td><td class="name"> T(?x<sub>1</sub>, owl:sameAs,&nbsp;?x<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="prp-irp">prp-irp</span>
</td><td class="name"> T(?p, rdf:type, owl:IrreflexiveProperty)<br /> T(?x,&nbsp;?p,&nbsp;?x)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="prp-symp">prp-symp</span>
</td><td class="name"> T(?p, rdf:type, owl:SymmetricProperty)<br /> T(?x,&nbsp;?p,&nbsp;?y)
</td><td class="name"> T(?y,&nbsp;?p,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="prp-asyp">prp-asyp</span>
</td><td class="name"> T(?p, rdf:type, owl:AsymmetricProperty)<br /> T(?x,&nbsp;?p,&nbsp;?y)<br /> T(?y,&nbsp;?p,&nbsp;?x)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="prp-trp">prp-trp</span>
</td><td class="name"> T(?p, rdf:type, owl:TransitiveProperty)<br /> T(?x,&nbsp;?p,&nbsp;?y)<br /> T(?y,&nbsp;?p,&nbsp;?z)
</td><td class="name"> T(?x,&nbsp;?p,&nbsp;?z)
</td></tr>
<tr>
<td> <span class="name" id="prp-spo1">prp-spo1</span>
</td><td class="name"> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?y)<br />
</td><td class="name"> T(?x,&nbsp;?p<sub>2</sub>,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="prp-spo2">prp-spo2</span>
</td><td class="name"> T(?p, owl:propertyChainAxiom,&nbsp;?x)<br /> LIST[?x,&nbsp;?p<sub>1</sub>, ...,&nbsp;?p<sub>n</sub>]<br /> T(?u<sub>1</sub>,&nbsp;?p<sub>1</sub>,&nbsp;?u<sub>2</sub>)<br /> T(?u<sub>2</sub>,&nbsp;?p<sub>2</sub>,&nbsp;?u<sub>3</sub>)<br /> ...<br /> T(?u<sub>n</sub>,&nbsp;?p<sub>n</sub>,&nbsp;?u<sub>n+1</sub>)
</td><td class="name"> T(?u<sub>1</sub>,&nbsp;?p,&nbsp;?u<sub>n+1</sub>)
</td></tr>
<tr>
<td> <span class="name" id="prp-eqp1">prp-eqp1</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:equivalentProperty,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?y)
</td><td class="name"> T(?x,&nbsp;?p<sub>2</sub>,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="prp-eqp2">prp-eqp2</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:equivalentProperty,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>2</sub>,&nbsp;?y)
</td><td class="name"> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="prp-pdw">prp-pdw</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:propertyDisjointWith,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?y)<br /> T(?x,&nbsp;?p<sub>2</sub>,&nbsp;?y)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="prp-adp">prp-adp</span>
</td><td class="name"> T(?x, rdf:type, owl:AllDisjointProperties)<br /> T(?x, owl:members,&nbsp;?y)<br /> LIST[?y,&nbsp;?p<sub>1</sub>, ...,&nbsp;?p<sub>n</sub>]<br /> T(?u,&nbsp;?p<sub>i</sub>,&nbsp;?v)<br /> T(?u,&nbsp;?p<sub>j</sub>,&nbsp;?v)
</td><td class="name"> false
</td><td> for each 1 &le; i &lt; j &le; n
</td></tr>
<tr>
<td> <span class="name" id="prp-inv1">prp-inv1</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:inverseOf,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?y)
</td><td class="name"> T(?y,&nbsp;?p<sub>2</sub>,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="prp-inv2">prp-inv2</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:inverseOf,&nbsp;?p<sub>2</sub>)<br /> T(?x,&nbsp;?p<sub>2</sub>,&nbsp;?y)
</td><td class="name"> T(?y,&nbsp;?p<sub>1</sub>,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="prp-key">prp-key</span>
</td><td class="name"> T(?c, owl:hasKey,&nbsp;?u)<br /> LIST[?u,&nbsp;?p<sub>1</sub>, ...,&nbsp;?p<sub>n</sub>]<br /> T(?x, rdf:type,&nbsp;?c)<br /> T(?x,&nbsp;?p<sub>1</sub>,&nbsp;?z<sub>1</sub>)<br /> ...<br /> T(?x,&nbsp;?p<sub>n</sub>,&nbsp;?z<sub>n</sub>)<br /> T(?y, rdf:type,&nbsp;?c)<br /> T(?y,&nbsp;?p<sub>1</sub>,&nbsp;?z<sub>1</sub>)<br /> ...<br /> T(?y,&nbsp;?p<sub>n</sub>,&nbsp;?z<sub>n</sub>)
</td><td class="name"> T(?x, owl:sameAs,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="prp-npa1">prp-npa1</span>
</td><td class="name"> T(?x, owl:sourceIndividual,&nbsp;?i<sub>1</sub>)<br /> T(?x, owl:assertionProperty,&nbsp;?p)<br /> T(?x, owl:targetIndividual,&nbsp;?i<sub>2</sub>)<br /> T(?i<sub>1</sub>,&nbsp;?p,&nbsp;?i<sub>2</sub>)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="prp-npa2">prp-npa2</span>
</td><td class="name"> T(?x, owl:sourceIndividual,&nbsp;?i)<br /> T(?x, owl:assertionProperty,&nbsp;?p)<br /> T(?x, owl:targetValue,&nbsp;?lt)<br /> T(?i,&nbsp;?p,&nbsp;?lt)
</td><td class="name"> false
</td></tr>
</table>
</div>
<p>Table 6 specifies the semantic conditions on classes.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 6.</span> The Semantics of Classes
</caption>
<tr>
<th>
</th><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="cls-thing">cls-thing</span>
</td><td class="name">
</td><td class="name"> T(owl:Thing, rdf:type, owl:Class)
</td></tr>
<tr>
<td> <span class="name" id="cls-nothing1">cls-nothing1</span>
</td><td class="name">
</td><td class="name"> T(owl:Nothing, rdf:type, owl:Class)
</td></tr>
<tr>
<td> <span class="name" id="cls-nothing2">cls-nothing2</span>
</td><td class="name"> T(?x, rdf:type, owl:Nothing)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cls-int1">cls-int1</span>
</td><td class="name"> T(?c, owl:intersectionOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]<br /> T(?y, rdf:type,&nbsp;?c<sub>1</sub>)<br /> T(?y, rdf:type,&nbsp;?c<sub>2</sub>)<br /> ...<br /> T(?y, rdf:type,&nbsp;?c<sub>n</sub>)
</td><td class="name"> T(?y, rdf:type,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="cls-int2">cls-int2</span>
</td><td class="name"> T(?c, owl:intersectionOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]<br /> T(?y, rdf:type,&nbsp;?c)
</td><td class="name"> T(?y, rdf:type,&nbsp;?c<sub>1</sub>)<br /> T(?y, rdf:type,&nbsp;?c<sub>2</sub>)<br /> ...<br /> T(?y, rdf:type,&nbsp;?c<sub>n</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cls-uni">cls-uni</span>
</td><td class="name"> T(?c, owl:unionOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]<br /> T(?y, rdf:type,&nbsp;?c<sub>i</sub>)
</td><td class="name"> T(?y, rdf:type,&nbsp;?c)
</td><td> for each 1 &le; i &le; n
</td></tr>
<tr>
<td> <span class="name" id="cls-com">cls-com</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:complementOf,&nbsp;?c<sub>2</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>1</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>2</sub>)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cls-svf1">cls-svf1</span>
</td><td class="name"> T(?x, owl:someValuesFrom,&nbsp;?y)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u,&nbsp;?p,&nbsp;?v)<br /> T(?v, rdf:type,&nbsp;?y)
</td><td class="name"> T(?u, rdf:type,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="cls-svf2">cls-svf2</span>
</td><td class="name"> T(?x, owl:someValuesFrom, owl:Thing)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u,&nbsp;?p,&nbsp;?v)
</td><td class="name"> T(?u, rdf:type,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="cls-avf">cls-avf</span>
</td><td class="name"> T(?x, owl:allValuesFrom,&nbsp;?y)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?v)
</td><td class="name"> T(?v, rdf:type,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="cls-hv1">cls-hv1</span>
</td><td class="name"> T(?x, owl:hasValue,&nbsp;?y)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u, rdf:type,&nbsp;?x)
</td><td class="name"> T(?u,&nbsp;?p,&nbsp;?y)
</td></tr>
<tr>
<td> <span class="name" id="cls-hv2">cls-hv2</span>
</td><td class="name"> T(?x, owl:hasValue,&nbsp;?y)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u,&nbsp;?p,&nbsp;?y)
</td><td class="name"> T(?u, rdf:type,&nbsp;?x)
</td></tr>
<tr>
<td> <span class="name" id="cls-maxc1">cls-maxc1</span>
</td><td class="name"> T(?x, owl:maxCardinality, "0"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cls-maxc2">cls-maxc2</span>
</td><td class="name"> T(?x, owl:maxCardinality, "1"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>1</sub>)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>2</sub>)
</td><td class="name"> T(?y<sub>1</sub>, owl:sameAs,&nbsp;?y<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cls-maxqc1">cls-maxqc1</span>
</td><td class="name"> T(?x, owl:maxQualifiedCardinality, "0"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?x, owl:onClass,&nbsp;?c)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y)<br /> T(?y, rdf:type,&nbsp;?c)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cls-maxqc2">cls-maxqc2</span>
</td><td class="name"> T(?x, owl:maxQualifiedCardinality, "0"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?x, owl:onClass, owl:Thing)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cls-maxqc3">cls-maxqc3</span>
</td><td class="name"> T(?x, owl:maxQualifiedCardinality, "1"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?x, owl:onClass,&nbsp;?c)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>1</sub>)<br /> T(?y<sub>1</sub>, rdf:type,&nbsp;?c)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>2</sub>)<br /> T(?y<sub>2</sub>, rdf:type,&nbsp;?c)
</td><td class="name"> T(?y<sub>1</sub>, owl:sameAs,&nbsp;?y<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cls-maxqc4">cls-maxqc4</span>
</td><td class="name"> T(?x, owl:maxQualifiedCardinality, "1"^^xsd:nonNegativeInteger)<br /> T(?x, owl:onProperty,&nbsp;?p)<br /> T(?x, owl:onClass, owl:Thing)<br /> T(?u, rdf:type,&nbsp;?x)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>1</sub>)<br /> T(?u,&nbsp;?p,&nbsp;?y<sub>2</sub>)
</td><td class="name"> T(?y<sub>1</sub>, owl:sameAs,&nbsp;?y<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cls-oo">cls-oo</span>
</td><td class="name"> T(?c, owl:oneOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?y<sub>1</sub>, ...,&nbsp;?y<sub>n</sub>]
</td><td class="name"> T(?y<sub>1</sub>, rdf:type,&nbsp;?c)<br /> ...<br /> T(?y<sub>n</sub>, rdf:type,&nbsp;?c)
</td></tr>
</table>
</div>
<p>Table 7 specifies the semantic conditions on class axioms.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 7.</span> The Semantics of Class Axioms
</caption>
<tr>
<td>
</td><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="cax-sco">cax-sco</span>
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>1</sub>)
</td><td class="name"> T(?x, rdf:type,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cax-eqc1">cax-eqc1</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:equivalentClass,&nbsp;?c<sub>2</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>1</sub>)
</td><td class="name"> T(?x, rdf:type,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cax-eqc2">cax-eqc2</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:equivalentClass,&nbsp;?c<sub>2</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>2</sub>)
</td><td class="name"> T(?x, rdf:type,&nbsp;?c<sub>1</sub>)
</td></tr>
<tr>
<td> <span class="name" id="cax-dw">cax-dw</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:disjointWith,&nbsp;?c<sub>2</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>1</sub>)<br /> T(?x, rdf:type,&nbsp;?c<sub>2</sub>)
</td><td class="name"> false
</td></tr>
<tr>
<td> <span class="name" id="cax-adc">cax-adc</span>
</td><td class="name"> T(?x, rdf:type, owl:AllDisjointClasses)<br /> T(?x, owl:members,&nbsp;?y)<br /> LIST[?y,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]<br /> T(?z, rdf:type,&nbsp;?c<sub>i</sub>)<br /> T(?z, rdf:type,&nbsp;?c<sub>j</sub>)
</td><td class="name"> false
</td><td> for each 1 &le; i &lt; j &le; n
</td></tr>
</table>
</div>
<p>Table 8 specifies the semantics of datatypes.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 8.</span> The Semantics of Datatypes
</caption>
<tr>
<td>
</td><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="dt-type1">dt-type1</span>
</td><td class="name">
</td><td class="name"> T(dt, rdf:type, rdfs:Datatype)
</td><td> for each datatype <span class="name">dt</span> supported in OWL 2 RL
</td></tr>
<tr>
<td> <span class="name" id="dt-type2">dt-type2</span>
</td><td class="name">
</td><td class="name"> T(lt, rdf:type, dt)
</td><td> for each literal <span class="name">lt</span> and each datatype <span class="name">dt</span> supported in OWL 2 RL<br /> such that the data value of <span class="name">lt</span> is contained in the value space of <span class="name">dt</span>
</td></tr>
<tr>
<td> <span class="name" id="dt-eq">dt-eq</span>
</td><td class="name">
</td><td class="name"> T(lt<sub>1</sub>, owl:sameAs, lt<sub>2</sub>)
</td><td> for all literals <span class="name">lt<sub>1</sub></span> and <span class="name">lt<sub>2</sub></span> with the same data value
</td></tr>
<tr>
<td> <span class="name" id="dt-diff">dt-diff</span>
</td><td class="name">
</td><td class="name"> T(lt<sub>1</sub>, owl:differentFrom, lt<sub>2</sub>)
</td><td> for all literals <span class="name">lt<sub>1</sub></span> and <span class="name">lt<sub>2</sub></span> with different data values
</td></tr>
<tr>
<td> <span class="name" id="dt-not-type">dt-not-type</span>
</td><td class="name"> T(lt, rdf:type, dt)
</td><td class="name"> false
</td><td> for each literal <span class="name">lt</span> and each datatype <span class="name">dt</span> supported in OWL 2 RL<br /> such that the data value of <span class="name">lt</span> is not contained in the value space of <span class="name">dt</span>
</td></tr>
</table>
</div>
<p>Table 9 specifies the semantic restrictions on the vocabulary used to define the schema.
</p>
<div class="center">
<table border="2" cellpadding="5">
<caption> <span class="caption">Table 9.</span> The Semantics of Schema Vocabulary
</caption>
<tr>
<th>
</th><th> If
</th><th> then
</th></tr>
<tr>
<td> <span class="name" id="scm-cls">scm-cls</span>
</td><td class="name"> T(?c, rdf:type, owl:Class)
</td><td class="name"> T(?c, rdfs:subClassOf,&nbsp;?c)<br /> T(?c, owl:equivalentClass,&nbsp;?c)<br /> T(?c, rdfs:subClassOf, owl:Thing)<br /> T(owl:Nothing, rdfs:subClassOf,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="scm-sco">scm-sco</span>
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)<br /> T(?c<sub>2</sub>, rdfs:subClassOf,&nbsp;?c<sub>3</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>3</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-eqc1">scm-eqc1</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:equivalentClass,&nbsp;?c<sub>2</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)<br /> T(?c<sub>2</sub>, rdfs:subClassOf,&nbsp;?c<sub>1</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-eqc2">scm-eqc2</span>
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)<br /> T(?c<sub>2</sub>, rdfs:subClassOf,&nbsp;?c<sub>1</sub>)
</td><td class="name"> T(?c<sub>1</sub>, owl:equivalentClass,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-op">scm-op</span>
</td><td class="name"> T(?p, rdf:type, owl:ObjectProperty)
</td><td class="name"> T(?p, rdfs:subPropertyOf,&nbsp;?p)<br /> T(?p, owl:equivalentProperty,&nbsp;?p)
</td></tr>
<tr>
<td> <span class="name" id="scm-dp">scm-dp</span>
</td><td class="name"> T(?p, rdf:type, owl:DatatypeProperty)
</td><td class="name"> T(?p, rdfs:subPropertyOf,&nbsp;?p)<br /> T(?p, owl:equivalentProperty,&nbsp;?p)
</td></tr>
<tr>
<td> <span class="name" id="scm-spo">scm-spo</span>
</td><td class="name"> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>2</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>3</sub>)
</td><td class="name"> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>3</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-eqp1">scm-eqp1</span>
</td><td class="name"> T(?p<sub>1</sub>, owl:equivalentProperty,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>2</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>1</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-eqp2">scm-eqp2</span>
</td><td class="name"> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>2</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>1</sub>)
</td><td class="name"> T(?p<sub>1</sub>, owl:equivalentProperty,&nbsp;?p<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-dom1">scm-dom1</span>
</td><td class="name"> T(?p, rdfs:domain,&nbsp;?c<sub>1</sub>)<br /> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td><td class="name"> T(?p, rdfs:domain,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-dom2">scm-dom2</span>
</td><td class="name"> T(?p<sub>2</sub>, rdfs:domain,&nbsp;?c)<br /> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?p<sub>1</sub>, rdfs:domain,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="scm-rng1">scm-rng1</span>
</td><td class="name"> T(?p, rdfs:range,&nbsp;?c<sub>1</sub>)<br /> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td><td class="name"> T(?p, rdfs:range,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-rng2">scm-rng2</span>
</td><td class="name"> T(?p<sub>2</sub>, rdfs:range,&nbsp;?c)<br /> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?p<sub>1</sub>, rdfs:range,&nbsp;?c)
</td></tr>
<tr>
<td> <span class="name" id="scm-hv">scm-hv</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:hasValue,&nbsp;?i)<br /> T(?c<sub>1</sub>, owl:onProperty,&nbsp;?p<sub>1</sub>)<br /> T(?c<sub>2</sub>, owl:hasValue,&nbsp;?i)<br /> T(?c<sub>2</sub>, owl:onProperty,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-svf1">scm-svf1</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:someValuesFrom,&nbsp;?y<sub>1</sub>)<br /> T(?c<sub>1</sub>, owl:onProperty,&nbsp;?p)<br /> T(?c<sub>2</sub>, owl:someValuesFrom,&nbsp;?y<sub>2</sub>)<br /> T(?c<sub>2</sub>, owl:onProperty,&nbsp;?p)<br /> T(?y<sub>1</sub>, rdfs:subClassOf,&nbsp;?y<sub>2</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-svf2">scm-svf2</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:someValuesFrom,&nbsp;?y)<br /> T(?c<sub>1</sub>, owl:onProperty,&nbsp;?p<sub>1</sub>)<br /> T(?c<sub>2</sub>, owl:someValuesFrom,&nbsp;?y)<br /> T(?c<sub>2</sub>, owl:onProperty,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-avf1">scm-avf1</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:allValuesFrom,&nbsp;?y<sub>1</sub>)<br /> T(?c<sub>1</sub>, owl:onProperty,&nbsp;?p)<br /> T(?c<sub>2</sub>, owl:allValuesFrom,&nbsp;?y<sub>2</sub>)<br /> T(?c<sub>2</sub>, owl:onProperty,&nbsp;?p)<br /> T(?y<sub>1</sub>, rdfs:subClassOf,&nbsp;?y<sub>2</sub>)
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-avf2">scm-avf2</span>
</td><td class="name"> T(?c<sub>1</sub>, owl:allValuesFrom,&nbsp;?y)<br /> T(?c<sub>1</sub>, owl:onProperty,&nbsp;?p<sub>1</sub>)<br /> T(?c<sub>2</sub>, owl:allValuesFrom,&nbsp;?y)<br /> T(?c<sub>2</sub>, owl:onProperty,&nbsp;?p<sub>2</sub>)<br /> T(?p<sub>1</sub>, rdfs:subPropertyOf,&nbsp;?p<sub>2</sub>)
</td><td class="name"> T(?c<sub>2</sub>, rdfs:subClassOf,&nbsp;?c<sub>1</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-int">scm-int</span>
</td><td class="name"> T(?c, owl:intersectionOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]
</td><td class="name"> T(?c, rdfs:subClassOf,&nbsp;?c<sub>1</sub>)<br /> T(?c, rdfs:subClassOf,&nbsp;?c<sub>2</sub>)<br /> ...<br /> T(?c, rdfs:subClassOf,&nbsp;?c<sub>n</sub>)
</td></tr>
<tr>
<td> <span class="name" id="scm-uni">scm-uni</span>
</td><td class="name"> T(?c, owl:unionOf,&nbsp;?x)<br /> LIST[?x,&nbsp;?c<sub>1</sub>, ...,&nbsp;?c<sub>n</sub>]
</td><td class="name"> T(?c<sub>1</sub>, rdfs:subClassOf,&nbsp;?c)<br /> T(?c<sub>2</sub>, rdfs:subClassOf,&nbsp;?c)<br /> ...<br /> T(?c<sub>n</sub>, rdfs:subClassOf,&nbsp;?c)
</td></tr></table>
</div>
<p>In order to avoid potential performance problems in practice, OWL 2 RL/RDF rules do not include the axiomatic triples of RDF and RDFS (i.e., those triples that must be satisfied by, respectively, every RDF and RDFS interpretation) [<cite><a href="#ref-rdf-semantics" title="">RDF Semantics</a></cite>] and the relevant OWL vocabulary [<cite><a href="#ref-owl-2-rdf-semantics" title="">OWL 2 RDF-Based Semantics</a></cite>]; moreover, OWL 2 RL/RDF rules include most, but not all of the entailment rules of RDFS [<cite><a href="#ref-rdf-semantics" title="">RDF Semantics</a></cite>]. An OWL 2 RL/RDF implementation <em class="RFC2119" title="MAY in RFC 2119 context">MAY</em> include these triples and entailment rules as necessary without invalidating the conformance requirements for OWL 2 RL [<cite><a href="#ref-owl-2-conformance" title="">OWL 2 Conformance</a></cite>].
</p><p><span id="Theorem-PR1"><b>Theorem PR1.</b></span> Let <i>R</i> be the OWL 2 RL/RDF rules as defined above. Furthermore, let <i>O<sub>1</sub></i> and <i>O<sub>2</sub></i> be OWL 2 RL ontologies satisfying the following properties:
</p>
<ul><li> neither <i>O<sub>1</sub></i> nor <i>O<sub>2</sub></i> contains a IRI that is used for more than one type of entity (i.e., no IRIs is used both as, say, a class and an individual);
</li><li> <i>O<sub>1</sub></i> does not contain <span class="nonterminal">SubAnnotationPropertyOf</span>, <span class="nonterminal">AnnotationPropertyDomain</span>, and <span class="nonterminal">AnnotationPropertyRange</span> axioms; and
</li><li> each axiom in <i>O<sub>2</sub></i> is an assertion of the form as specified below, for <span class="name">a</span>, <span class="name">a<sub>1</sub></span>, ..., <span class="name">a<sub>n</sub></span> named individuals:
<ul><li> <span class="name">ClassAssertion( C a )</span> where <span class="name">C</span> is a class,
</li><li> <span class="name">ObjectPropertyAssertion( OP a<sub>1</sub> a<sub>2</sub> )</span> where <span class="name">OP</span> is an object property,
</li><li> <span class="name">DataPropertyAssertion( DP a v )</span> where <span class="name">DP</span> is a data property, or
</li><li> <span class="name">SameIndividual( a<sub>1</sub> ... a<sub>n</sub> )</span>.
</li></ul>
</li></ul>
<p>Furthermore, let <i>RDF(O<sub>1</sub>)</i> and <i>RDF(O<sub>2</sub>)</i> be translations of <i>O<sub>1</sub></i> and <i>O<sub>2</sub></i>, respectively, into RDF graphs as specified in the OWL 2 Mapping to RDF Graphs [<cite><a href="#ref-owl-2-rdf-mapping" title="">OWL 2 RDF Mapping</a></cite>]; and let <i>FO(RDF(O<sub>1</sub>))</i> and <i>FO(RDF(O<sub>2</sub>))</i> be the translation of these graphs into first-order theories in which triples are represented using the <span class="name">T</span> predicate &mdash; that is, <span class="name">T(s, p, o)</span> represents an RDF triple with the subject <span class="name">s</span>, predicate <span class="name">p</span>, and the object <span class="name">o</span>. Then, <i>O<sub>1</sub></i> entails <i>O<sub>2</sub></i> under the OWL 2 Direct Semantics [<cite><a href="#ref-owl-2-direct-semantics" title="">OWL 2 Direct Semantics</a></cite>] if and only if <i>FO(RDF(O<sub>1</sub>))</i> &cup; <i>R</i> entails <i>FO(RDF(O<sub>2</sub>))</i> under the standard first-order semantics.
</p><p><i>Proof Sketch.</i> Without loss of generality, it can be assumed that all axioms in <i>O<sub>1</sub></i> are fully normalized &mdash; that is, that all class expressions in the axioms are of depth at most one. Let <i>DLP(O<sub>1</sub>)</i> be the set of rules obtained by translating <i>O<sub>1</sub></i> into a set of rules as in Description Logic Programs [<cite><a href="#ref-dlp" title="">DLP</a></cite>].
</p><p>Consider now each assertion <i>A</i> &isin; <i>O<sub>2</sub></i> that is entailed by <i>DLP(O<sub>1</sub>)</i> (or, equivalently, by <i>O<sub>1</sub></i>). Let <i>dt</i> be a derivation tree for <i>A</i> from <i>DLP(O<sub>1</sub>)</i>. By examining the set of OWL 2 RL constructs, it is possible to see that each such tree can be transformed to a derivation tree <i>dt'</i> for <i>FO(RDF(A))</i> from <i>FO(RDF(O<sub>1</sub>))</i> &cup; <i>R</i>. Each assertion <i>B</i> occurring in <i>dt</i> is of the form as specified in the theorem. The tree <i>dt'</i> can, roughly speaking, be obtained from <i>dt</i> by replacing each assertion <i>B</i> with <i>FO(RDF(B))</i> and by replacing each rule from <i>DLP(O<sub>1</sub>)</i> with a corresponding rule from Tables 3&ndash;8. Consequently, <i>FO(RDF(O<sub>1</sub>))</i> &cup; <i>R</i> entails <i>FO(RDF(A))</i>.
</p><p>Since no IRI in <i>O<sub>1</sub></i> is used as both an individual and a class or a property, <i>FO(RDF(O<sub>1</sub>))</i> &cup; <i>R</i> does not entail a triple of the form <span class="name">T(a:i1, owl:sameAs, a:i2)</span> where either <i>a:i1</i> or <i>a:i2</i> is used in <i>O<sub>1</sub></i> as a class or a property. This allows one to transform a derivation tree for <i>FO(RDF(A))</i> from <i>FO(RDF(O<sub>1</sub>))</i> &cup; <i>R</i> to a derivation tree for <i>A</i> from <i>DLP(O<sub>1</sub>)</i> in a way that is analogous to the previous case. QED
</p>
<a name="Computational_Properties"></a><h2> <span class="mw-headline">5  Computational Properties </span></h2>
<p>This section describes the computational complexity of the most relevant reasoning problems of the languages defined in this document. For an introduction to computational complexity, please refer to a textbook on complexity such as [<cite><a href="#ref-papa" title="">Papadimitriou</a></cite>]. The reasoning problems considered here are <i>ontology consistency</i>, <i>class expression satisfiability</i>, <i>class expression subsumption</i>, <i>instance checking</i>, and <i>(Boolean) conjunctive query answering</i> [<cite><a href="#ref-owl-2-direct-semantics" title="">OWL 2 Direct Semantics</a></cite>]. When evaluating complexity, the following parameters will be considered:
</p>
<ul><li> <b>Data Complexity</b>: the complexity measured with respect to the total size of the assertions in the ontology.
</li><li> <b>Taxonomic Complexity</b>: the complexity measured with respect to the total size of the axioms in the ontology.
</li><li> <b>Query Complexity</b>: the complexity measured with respect to the total size of the query.
</li><li> <b>Combined Complexity</b>: the complexity measured with respect to both the size of the axioms, the size of the assertions, and, in the case of conjunctive query answering, the size of the query as well.
</li></ul>
<p>Table 10 summarizes the known complexity results for OWL 2 under both RDF and the direct semantics, OWL 2 EL, OWL 2 QL, OWL 2 RL, and OWL 1 DL. The meaning of the entries is as follows: 
</p>
<ul><li> <b>Decidability open</b> means that it is not known whether this reasoning problem is decidable at all. 
</li><li> <b>Decidable, but complexity open</b> means that decidability of this reasoning problem is known, but not its exact computational complexity. If available, known lower bounds are given in parenthesis; for example, <b>(NP-Hard)</b> means that this problem is at least as hard as any other problem in NP. 
</li><li> <b>X-complete</b> for X one of the complexity classes explained below indicates that tight complexity bounds are known &mdash; that is, the problem is known to be both <i>in</i> the complexity class X (i.e., an algorithm is known that only uses time/space in X) and <i>hard</i> for X (i.e., it is at least as hard as any other problem in X). The following is a brief sketch of the classes used in this table, from the most complex one down to the simplest ones. 
<ul><li> <b>2NEXPTIME</b> is the class of problems solvable by a nondeterministic algorithm in <i>time</i> that is at most double exponential in the size of the input (i.e., roughly 2<sup>2<sup>n</sup></sup>, for n the size of the input).
</li><li> <b>NEXPTIME</b> is the class of problems solvable by a nondeterministic algorithm in <i>time</i> that is at most exponential in the size of the input (i.e., roughly 2<sup>n</sup>, for n the size of the input).
</li><li> <b>PSPACE</b> is the class of problems solvable by a deterministic algorithm using <i>space</i> that is at most polynomial in the size of the input  (i.e., roughly n<sup>c</sup>, for n the size of the input and c a constant).
</li><li> <b>NP</b> is the class of problems solvable by a nondeterministic algorithm using <i>time</i> that is at most polynomial in the size of the input  (i.e., roughly n<sup>c</sup>, for n the size of the input and c a constant).
</li><li> <b>PTIME</b> is the class of problems solvable by a deterministic algorithm using <i>time</i> that is at most polynomial in the size of the input  (i.e., roughly n<sup>c</sup>, for n the size of the input and c a constant). PTIME is often referred to as <i>tractable</i>, whereas the problems in the classes above are often referred to as <i>intractable</i>. 
</li><li> <b>LOGSPACE</b> is the class of problems solvable by a deterministic algorithm using <i>space</i> that is at most logarithmic in the size of the input (i.e., roughly log(n), for n the size of the input and c a constant). NLOGSPACE is the nondeterministic version of this class. 
</li><li> <b>AC<sup>0</sup></b>  is a proper subclass of LOGSPACE and defined not via Turing Machines, but via circuits: AC<sup>0</sup> is the class of problems definable using a family of circuits of constant depth and polynomial size, which can be generated by a deterministic Turing machine in logarithmic time (in the size of the input). Intuitively, AC<sup>0</sup> allows us to use polynomially many processors but the run-time must be constant. A typical example of an AC<sup>0</sup> problem is the evaluation of first-order queries over databases (or model checking of first-order sentences over finite models), where only the database (first-order model) is regarded as the input and the query (first-order sentence) is assumed to be fixed. The undirected graph reachability problem is known to be in LogSpace, but not in AC<sup>0</sup>. 
</li></ul>
</li></ul>
<p>The results below refer to the <i>worst-case</i> complexity of these reasoning problems and, as such, do not say that implemented algorithms necessarily run in this class on all input problems, or what space/time they use on some/typical/certain kind of problems. For X-complete problems, these results only say that a reasoning algorithm cannot use less time/space than indicated by this class on <i>all</i> input problems.
</p>
<div class="center">
<table border="2" cellpadding="5" class="complexity">
<caption> <span class="caption">Table 10.</span> Complexity of the Profiles
</caption>
<tr>
<th> Language
</th><th> Reasoning Problems
</th><th> Taxonomic Complexity
</th><th> Data Complexity
</th><th> Query Complexity
</th><th> Combined Complexity
</th></tr>
<tr>
<td> OWL 2<br /> RDF-Based Semantics
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking,<br /> Conjunctive Query Answering
</td><td> Undecidable
</td><td> Undecidable
</td><td> Undecidable
</td><td> Undecidable
</td></tr>
<tr>
<td rowspan="2"> OWL 2<br /> Direct Semantics
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking
</td><td> 2NEXPTIME-complete (NEXPTIME if property hierarchies are bounded)
</td><td> Decidable, but complexity open<br />(NP-Hard)
</td><td> Not Applicable
</td><td> 2NEXPTIME-complete (NEXPTIME if property hierarchies are bounded)
</td></tr>
<tr>
<td style="text-align: left"> Conjunctive Query Answering
</td><td> Decidability open
</td><td> Decidability open
</td><td> Decidability open
</td><td> Decidability open
</td></tr>
<tr>
<td rowspan="2"> <a href="#OWL_2_EL" title="">OWL 2 EL</a>
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking
</td><td> PTIME-complete
</td><td> PTIME-complete
</td><td> Not Applicable
</td><td> PTIME-complete
</td></tr>
<tr>
<td style="text-align: left"> Conjunctive Query Answering
</td><td> PTIME-complete
</td><td> PTIME-complete
</td><td> NP-complete
</td><td> PSPACE-complete
</td></tr>
<tr>
<td rowspan="2"> <a href="#OWL_2_QL" title="">OWL 2 QL</a>
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking,
</td><td> NLogSpace-complete
</td><td> In AC<sup>0</sup>
</td><td> Not Applicable
</td><td> NLogSpace-complete
</td></tr>
<tr>
<td style="text-align: left"> Conjunctive Query Answering
</td><td> NLogSpace-complete
</td><td> In AC<sup>0</sup>
</td><td> NP-complete
</td><td> NP-complete
</td></tr>
<tr>
<td rowspan="2"> <a href="#OWL_2_RL" title="">OWL 2 RL</a>
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking
</td><td> PTIME-complete
</td><td> PTIME-complete
</td><td> Not Applicable
</td><td> PTIME-complete
</td></tr>
<tr>
<td style="text-align: left"> Conjunctive Query Answering
</td><td> PTIME-complete
</td><td> PTIME-complete
</td><td> NP-complete
</td><td> NP-complete
</td></tr>
<tr>
<td rowspan="2"> OWL 1 DL
</td><td style="text-align: left"> Ontology Consistency, Class Expression Satisfiability,<br /> Class Expression Subsumption, Instance Checking
</td><td> NEXPTIME-complete
</td><td> Decidable, but complexity open<br />(NP-Hard)
</td><td> Not Applicable
</td><td> NEXPTIME-complete
</td></tr>
<tr>
<td style="text-align: left"> Conjunctive Query Answering
</td><td> Decidability open
</td><td> Decidability open
</td><td> Decidability open
</td><td> Decidability open
</td></tr>
</table>
</div>
<a name="Appendix:_Complete_Grammars_for_Profiles"></a><h2> <span class="mw-headline">6  Appendix: Complete Grammars for Profiles </span></h2>
<p>This appendix contains the grammars for all three profiles of OWL 2.
</p>
<a name="OWL_2_EL_2"></a><h3> <span class="mw-headline">6.1  OWL 2 EL </span></h3>
<p>The grammar of OWL 2 EL consists of the general definitions from <a href="http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/#General_Definitions" title="Syntax">Section 13.1</a> of the OWL 2 Specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], as well as the following productions.
</p>
<div class="grammar">
<p><span class="nonterminal">Class</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Datatype</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">ObjectProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">DataProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">AnnotationProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Individual</span>&nbsp;:= <span class="nonterminal">NamedIndividual</span><br />
<br />
<span class="nonterminal">NamedIndividual</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Literal</span>&nbsp;:= <span class="nonterminal">typedLiteral</span> | <span class="nonterminal">stringLiteralNoLanguage</span> | <span class="nonterminal">stringLiteralWithLanguage</span><br />
<span class="nonterminal">typedLiteral</span>&nbsp;:= <span class="nonterminal">lexicalForm</span> '^^' <span class="nonterminal">Datatype</span><br />
<span class="nonterminal">lexicalForm</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralNoLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralWithLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span> <span class="nonterminal">languageTag</span><br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectProperty</span><br />
<br />
<span class="nonterminal">DataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataProperty</span><br />
<br />
<br />
<br />
<span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span> | <span class="nonterminal">DataOneOf</span><br />
<br />
<span class="nonterminal">DataIntersectionOf</span>&nbsp;:= 'DataIntersectionOf' '(' <span class="nonterminal">DataRange</span> <span class="nonterminal">DataRange</span> { <span class="nonterminal">DataRange</span> } ')'<br />
<br />
<span class="nonterminal">DataOneOf</span>&nbsp;:= 'DataOneOf' '(' <span class="nonterminal">Literal</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">ClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> | <span class="nonterminal">ObjectIntersectionOf</span> | <span class="nonterminal">ObjectOneOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectSomeValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> | <span class="nonterminal">ObjectHasSelf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataSomeValuesFrom</span> | <span class="nonterminal">DataHasValue</span><br />
<br />
<span class="nonterminal">ObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">ClassExpression</span> <span class="nonterminal">ClassExpression</span> { <span class="nonterminal">ClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">ObjectOneOf</span>&nbsp;:= 'ObjectOneOf' '(' <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">ObjectSomeValuesFrom</span>&nbsp;:= 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectHasValue</span>&nbsp;:= 'ObjectHasValue' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">ObjectHasSelf</span>&nbsp;:= 'ObjectHasSelf' '(' <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">DataSomeValuesFrom</span>&nbsp;:= 'DataSomeValuesFrom' '(' <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } <span class="nonterminal">DataRange</span> ')'<br />
<br />
<span class="nonterminal">DataHasValue</span>&nbsp;:= 'DataHasValue' '(' <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">Literal</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Axiom</span>&nbsp;:= <span class="nonterminal">Declaration</span> | <span class="nonterminal">ClassAxiom</span> | <span class="nonterminal">ObjectPropertyAxiom</span> | <span class="nonterminal">DataPropertyAxiom</span> | <span class="nonterminal">DatatypeDefinition</span> | <span class="nonterminal">HasKey</span> | <span class="nonterminal">Assertion</span> | <span class="nonterminal">AnnotationAxiom</span><br />
<br />
<br />
<br />
<span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span>
<br />
<span class="nonterminal">SubClassOf</span>&nbsp;:= 'SubClassOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<span class="nonterminal">subClassExpression</span>&nbsp;:= <span class="nonterminal">ClassExpression</span><br />
<span class="nonterminal">superClassExpression</span>&nbsp;:= <span class="nonterminal">ClassExpression</span><br />
<br />
<span class="nonterminal">EquivalentClasses</span>&nbsp;:= 'EquivalentClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ClassExpression</span> <span class="nonterminal">ClassExpression</span> { <span class="nonterminal">ClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointClasses</span>&nbsp;:= 'DisjointClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ClassExpression</span> <span class="nonterminal">ClassExpression</span> { <span class="nonterminal">ClassExpression</span> } ')'<br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">EquivalentObjectProperties</span> | <span class="nonterminal">SubObjectPropertyOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ReflexiveObjectProperty</span> | <span class="nonterminal">TransitiveObjectProperty</span><br />
<br />
<span class="nonterminal">SubObjectPropertyOf</span>&nbsp;:= 'SubObjectPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subObjectPropertyExpression</span> <span class="nonterminal">superObjectPropertyExpression</span> ')'<br />
<span class="nonterminal">subObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectPropertyExpression</span> | <span class="nonterminal">propertyExpressionChain</span><br />
<span class="nonterminal">propertyExpressionChain</span>&nbsp;:= 'ObjectPropertyChain' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<span class="nonterminal">superObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectPropertyExpression</span><br />
<br />
<span class="nonterminal">EquivalentObjectProperties</span>&nbsp;:= 'EquivalentObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">ObjectPropertyDomain</span>&nbsp;:= 'ObjectPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyRange</span>&nbsp;:= 'ObjectPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ReflexiveObjectProperty</span>&nbsp;:= 'ReflexiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">TransitiveObjectProperty</span>&nbsp;:= 'TransitiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DataPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubDataPropertyOf</span> | <span class="nonterminal">EquivalentDataProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyDomain</span> | <span class="nonterminal">DataPropertyRange</span> | <span class="nonterminal">FunctionalDataProperty</span><br />
<br />
<span class="nonterminal">SubDataPropertyOf</span>&nbsp;:= 'SubDataPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subDataPropertyExpression</span> <span class="nonterminal">superDataPropertyExpression</span> ')'<br />
<span class="nonterminal">subDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<span class="nonterminal">superDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<br />
<span class="nonterminal">EquivalentDataProperties</span>&nbsp;:= 'EquivalentDataProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DataPropertyDomain</span>&nbsp;:= 'DataPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">ClassExpression</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyRange</span>&nbsp;:= 'DataPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<span class="nonterminal">FunctionalDataProperty</span>&nbsp;:= 'FunctionalDataProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DatatypeDefinition</span>&nbsp;:= 'DatatypeDefinition' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Datatype</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">HasKey</span>&nbsp;:= 'HasKey' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ClassExpression</span> '(' { <span class="nonterminal">ObjectPropertyExpression</span> } ')' '(' { <span class="nonterminal">DataPropertyExpression</span> } ')' ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Assertion</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SameIndividual</span> | <span class="nonterminal">DifferentIndividuals</span> | <span class="nonterminal">ClassAssertion</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyAssertion</span> | <span class="nonterminal">NegativeObjectPropertyAssertion</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyAssertion</span> | <span class="nonterminal">NegativeDataPropertyAssertion</span><br />
<br />
<span class="nonterminal">sourceIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetValue</span>&nbsp;:= <span class="nonterminal">Literal</span><br />
<br />
<span class="nonterminal">SameIndividual</span>&nbsp;:= 'SameIndividual' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Individual</span> <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> } ')'<br />
<br />
<span class="nonterminal">DifferentIndividuals</span>&nbsp;:= 'DifferentIndividuals' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Individual</span> <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> } ')'<br />
<br />
<span class="nonterminal">ClassAssertion</span>&nbsp;:= 'ClassAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ClassExpression</span> <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyAssertion</span>&nbsp;:= 'ObjectPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetIndividual</span> ')'<br />
<br />
<span class="nonterminal">NegativeObjectPropertyAssertion</span>&nbsp;:= 'NegativeObjectPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetIndividual</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyAssertion</span>&nbsp;:= 'DataPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetValue</span> ')'<br />
<br />
<span class="nonterminal">NegativeDataPropertyAssertion</span>&nbsp;:= 'NegativeDataPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetValue</span> ')'
</p>
</div>
<a name="OWL_2_QL_2"></a><h3> <span class="mw-headline">6.2  OWL 2 QL </span></h3>
<p>The grammar of OWL 2 QL consists of the general definitions from <a href="http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/#General_Definitions" title="Syntax">Section 13.1</a> of the OWL 2 Specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], as well as the following productions.
</p>
<div class="grammar">
<p><span class="nonterminal">Class</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Datatype</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">ObjectProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">DataProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">AnnotationProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Individual</span>&nbsp;:= <span class="nonterminal">NamedIndividual</span><br />
<br />
<span class="nonterminal">NamedIndividual</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Literal</span>&nbsp;:= <span class="nonterminal">typedLiteral</span> | <span class="nonterminal">stringLiteralNoLanguage</span> | <span class="nonterminal">stringLiteralWithLanguage</span><br />
<span class="nonterminal">typedLiteral</span>&nbsp;:= <span class="nonterminal">lexicalForm</span> '^^' <span class="nonterminal">Datatype</span><br />
<span class="nonterminal">lexicalForm</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralNoLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralWithLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span> <span class="nonterminal">languageTag</span><br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectProperty</span> | <span class="nonterminal">InverseObjectProperty</span><br />
<br />
<span class="nonterminal">InverseObjectProperty</span>&nbsp;:= 'ObjectInverseOf' '(' <span class="nonterminal">ObjectProperty</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataProperty</span><br />
<br />
<br />
<br />
<span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span><br />
<br />
<span class="nonterminal">DataIntersectionOf</span>&nbsp;:= 'DataIntersectionOf' '(' <span class="nonterminal">DataRange</span> <span class="nonterminal">DataRange</span> { <span class="nonterminal">DataRange</span> } ')'<br />
<br />
<br />
<br />
<span class="nonterminal">subClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectSomeValuesFrom</span> | <span class="nonterminal">DataSomeValuesFrom</span><br />
<br />
<span class="nonterminal">subObjectSomeValuesFrom</span>&nbsp;:= 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<br />
<span class="nonterminal">superClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectIntersectionOf</span> | <span class="nonterminal">superObjectComplementOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectSomeValuesFrom</span> | <span class="nonterminal">DataSomeValuesFrom</span><br />
<br />
<span class="nonterminal">superObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">superClassExpression</span> <span class="nonterminal">superClassExpression</span> { <span class="nonterminal">superClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">superObjectComplementOf</span>&nbsp;:= 'ObjectComplementOf' '(' <span class="nonterminal">subClassExpression</span> ')'<br />
<br />
<span class="nonterminal">superObjectSomeValuesFrom</span>&nbsp;:= 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">Class</span> ')'<br />
<br />
<span class="nonterminal">DataSomeValuesFrom</span>&nbsp;:= 'DataSomeValuesFrom' '(' <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Axiom</span>&nbsp;:= <span class="nonterminal">Declaration</span> | <span class="nonterminal">ClassAxiom</span> | <span class="nonterminal">ObjectPropertyAxiom</span> | <span class="nonterminal">DataPropertyAxiom</span> | <span class="nonterminal">DatatypeDefinition</span> | <span class="nonterminal">Assertion</span> | <span class="nonterminal">AnnotationAxiom</span><br />
<br />
<br />
<br />
<span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span><br />
<br />
<span class="nonterminal">SubClassOf</span>&nbsp;:= 'SubClassOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">EquivalentClasses</span>&nbsp;:= 'EquivalentClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointClasses</span>&nbsp;:= 'DisjointClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubObjectPropertyOf</span> | <span class="nonterminal">EquivalentObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DisjointObjectProperties</span> | <span class="nonterminal">InverseObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ReflexiveObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SymmetricObjectProperty</span> | <span class="nonterminal">AsymmetricObjectProperty</span><br />
<br />
<span class="nonterminal">SubObjectPropertyOf</span>&nbsp;:= 'SubObjectPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">EquivalentObjectProperties</span>&nbsp;:= 'EquivalentObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointObjectProperties</span>&nbsp;:= 'DisjointObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">InverseObjectProperties</span>&nbsp;:= 'InverseObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyDomain</span>&nbsp;:= 'ObjectPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyRange</span>&nbsp;:= 'ObjectPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ReflexiveObjectProperty</span>&nbsp;:= 'ReflexiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">SymmetricObjectProperty</span>&nbsp;:= 'SymmetricObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">AsymmetricObjectProperty</span>&nbsp;:= 'AsymmetricObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DataPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubDataPropertyOf</span> | <span class="nonterminal">EquivalentDataProperties</span> | <span class="nonterminal">DisjointDataProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyDomain</span> | <span class="nonterminal">DataPropertyRange</span><br />
<br />
<span class="nonterminal">SubDataPropertyOf</span>&nbsp;:= 'SubDataPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subDataPropertyExpression</span> <span class="nonterminal">superDataPropertyExpression</span> ')'<br />
<span class="nonterminal">subDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<span class="nonterminal">superDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<br />
<span class="nonterminal">EquivalentDataProperties</span>&nbsp;:= 'EquivalentDataProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointDataProperties</span>&nbsp;:= 'DisjointDataProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DataPropertyDomain</span>&nbsp;:= 'DataPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyRange</span>&nbsp;:= 'DataPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DatatypeDefinition</span>&nbsp;:= 'DatatypeDefinition' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Datatype</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Assertion</span>&nbsp;:= <span class="nonterminal">DifferentIndividuals</span> | <span class="nonterminal">ClassAssertion</span> | <span class="nonterminal">ObjectPropertyAssertion</span> | <span class="nonterminal">DataPropertyAssertion</span><br />
<br />
<span class="nonterminal">sourceIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetValue</span>&nbsp;:= <span class="nonterminal">Literal</span><br />
<br />
<span class="nonterminal">DifferentIndividuals</span>&nbsp;:= 'DifferentIndividuals' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Individual</span> <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> } ')'<br />
<br />
<span class="nonterminal">ClassAssertion</span>&nbsp;:= 'ClassAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Class</span> <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyAssertion</span>&nbsp;:= 'ObjectPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetIndividual</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyAssertion</span>&nbsp;:= 'DataPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetValue</span> ')'
</p>
</div>
<a name="OWL_2_RL_2"></a><h3> <span class="mw-headline">6.3  OWL 2 RL </span></h3>
<p>The grammar of OWL 2 RL consists of the general definitions from <a href="http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/#General_Definitions" title="Syntax">Section 13.1</a> of the OWL 2 Specification [<cite><a href="#ref-owl-2-specification" title="">OWL 2 Specification</a></cite>], as well as the following productions.
</p>
<div class="grammar">
<p><span class="nonterminal">Class</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Datatype</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">ObjectProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">DataProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">AnnotationProperty</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">Individual</span>&nbsp;:= <span class="nonterminal">NamedIndividual</span> | <span class="nonterminal">AnonymousIndividual</span><br />
<br />
<span class="nonterminal">NamedIndividual</span>&nbsp;:= <span class="nonterminal">IRI</span><br />
<br />
<span class="nonterminal">AnonymousIndividual</span>&nbsp;:= <span class="nonterminal">nodeID</span><br />
<br />
<span class="nonterminal">Literal</span>&nbsp;:= <span class="nonterminal">typedLiteral</span> | <span class="nonterminal">stringLiteralNoLanguage</span> | <span class="nonterminal">stringLiteralWithLanguage</span><br />
<span class="nonterminal">typedLiteral</span>&nbsp;:= <span class="nonterminal">lexicalForm</span> '^^' <span class="nonterminal">Datatype</span><br />
<span class="nonterminal">lexicalForm</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralNoLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span><br />
<span class="nonterminal">stringLiteralWithLanguage</span>&nbsp;:= <span class="nonterminal">quotedString</span> <span class="nonterminal">languageTag</span><br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectProperty</span> | <span class="nonterminal">InverseObjectProperty</span><br />
<br />
<span class="nonterminal">InverseObjectProperty</span>&nbsp;:= 'ObjectInverseOf' '(' <span class="nonterminal">ObjectProperty</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataProperty</span><br />
<br />
<br />
<br />
<span class="nonterminal">DataRange</span>&nbsp;:= <span class="nonterminal">Datatype</span> | <span class="nonterminal">DataIntersectionOf</span><br />
<br />
<span class="nonterminal">DataIntersectionOf</span>&nbsp;:= 'DataIntersectionOf' '(' <span class="nonterminal">DataRange</span> <span class="nonterminal">DataRange</span> { <span class="nonterminal">DataRange</span> } ')'<br />
<br />
<br />
<br />
<span class="nonterminal">zeroOrOne </span>&nbsp;:= '0' | '1'<br />
<br />
<span class="nonterminal">subClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectIntersectionOf</span> | <span class="nonterminal">subObjectUnionOf</span> | <span class="nonterminal">ObjectOneOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">subObjectSomeValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataSomeValuesFrom</span> | <span class="nonterminal">DataHasValue</span><br />
<br />
<span class="nonterminal">subObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">subObjectUnionOf</span>&nbsp;:= 'ObjectUnionOf' '(' <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">subObjectSomeValuesFrom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">subClassExpression</span> ')' |<br />
&nbsp;&nbsp;&nbsp; 'ObjectSomeValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<br />
<span class="nonterminal">superClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectIntersectionOf</span> | <span class="nonterminal">superComplementOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">superObjectAllValuesFrom</span> | <span class="nonterminal">ObjectHasValue</span> | <span class="nonterminal">superObjectMaxCardinality</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataAllValuesFrom</span> | <span class="nonterminal">DataHasValue</span> | <span class="nonterminal">superDataMaxCardinality</span><br />
<br />
<span class="nonterminal">superObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">superClassExpression</span> <span class="nonterminal">superClassExpression</span> { <span class="nonterminal">superClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">superObjectComplementOf</span>&nbsp;:= 'ObjectComplementOf' '(' <span class="nonterminal">subClassExpression</span> ')'<br />
<br />
<span class="nonterminal">superObjectAllValuesFrom</span>&nbsp;:= 'ObjectAllValuesFrom' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">superObjectMaxCardinality</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; 'ObjectMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">ObjectPropertyExpression</span> [ <span class="nonterminal">subClassExpression</span> ] ')' |<br />
&nbsp;&nbsp;&nbsp; 'ObjectMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">ObjectPropertyExpression</span> <i>owl:Thing</i> ')'<br />
<br />
<span class="nonterminal">superDataMaxCardinality</span>&nbsp;:= 'DataMaxCardinality' '(' <span class="nonterminal">zeroOrOne</span> <span class="nonterminal">DataPropertyExpression</span> [ <span class="nonterminal">DataRange</span> ] ')' |<br />
<br />
<span class="nonterminal">equivClassExpression</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">Class</span> other than <i>owl:Thing</i> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">equivObjectIntersectionOf</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectHasValue</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataHasValue</span><br />
<br />
<span class="nonterminal">equivObjectIntersectionOf</span>&nbsp;:= 'ObjectIntersectionOf' '(' <span class="nonterminal">equivClassExpression</span> <span class="nonterminal">equivClassExpression</span> { <span class="nonterminal">equivClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">ObjectOneOf</span>&nbsp;:= 'ObjectOneOf' '(' <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> }')'<br />
<br />
<span class="nonterminal">ObjectHasValue</span>&nbsp;:= 'ObjectHasValue' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">DataSomeValuesFrom</span>&nbsp;:= 'DataSomeValuesFrom' '(' <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } <span class="nonterminal">DataRange</span> ')'<br />
<br />
<span class="nonterminal">DataAllValuesFrom</span>&nbsp;:= 'DataAllValuesFrom' '(' <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } <span class="nonterminal">DataRange</span> ')'<br />
<br />
<span class="nonterminal">DataHasValue</span>&nbsp;:= 'DataHasValue' '(' <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">Literal</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Axiom</span>&nbsp;:= <span class="nonterminal">Declaration</span> | <span class="nonterminal">ClassAxiom</span> | <span class="nonterminal">ObjectPropertyAxiom</span> | <span class="nonterminal">DataPropertyAxiom</span> | <span class="nonterminal">DatatypeDefinition</span> | <span class="nonterminal">HasKey</span> | <span class="nonterminal">Assertion</span> | <span class="nonterminal">AnnotationAxiom</span><br />
<br />
<br />
<br />
<span class="nonterminal">ClassAxiom</span>&nbsp;:= <span class="nonterminal">SubClassOf</span> | <span class="nonterminal">EquivalentClasses</span> | <span class="nonterminal">DisjointClasses</span><br />
<br />
<span class="nonterminal">SubClassOf</span>&nbsp;:= 'SubClassOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">EquivalentClasses</span>&nbsp;:= 'EquivalentClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">equivClassExpression</span> <span class="nonterminal">equivClassExpression</span> { <span class="nonterminal">equivClassExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointClasses</span>&nbsp;:= 'DisjointClasses' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> <span class="nonterminal">subClassExpression</span> { <span class="nonterminal">subClassExpression</span> } ')'<br />
<br />
<br />
<br />
<span class="nonterminal">ObjectPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubObjectPropertyOf</span> | <span class="nonterminal">EquivalentObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DisjointObjectProperties</span> | <span class="nonterminal">InverseObjectProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyDomain</span> | <span class="nonterminal">ObjectPropertyRange</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">FunctionalObjectProperty</span> | <span class="nonterminal">InverseFunctionalObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">IrreflexiveObjectProperty</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SymmetricObjectProperty</span> | <span class="nonterminal">AsymmetricObjectProperty</span><br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">TransitiveObjectProperty</span><br />
<br />
<span class="nonterminal">SubObjectPropertyOf</span>&nbsp;:= 'SubObjectPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subObjectPropertyExpression</span> <span class="nonterminal">superObjectPropertyExpression</span> ')'<br />
<span class="nonterminal">subObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectPropertyExpression</span> | <span class="nonterminal">propertyExpressionChain</span><br />
<span class="nonterminal">propertyExpressionChain</span>&nbsp;:= 'ObjectPropertyChain' '(' <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<span class="nonterminal">superObjectPropertyExpression</span>&nbsp;:= <span class="nonterminal">ObjectPropertyExpression</span><br />
<br />
<span class="nonterminal">EquivalentObjectProperties</span>&nbsp;:= 'EquivalentObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointObjectProperties</span>&nbsp;:= 'DisjointObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> { <span class="nonterminal">ObjectPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">InverseObjectProperties</span>&nbsp;:= 'InverseObjectProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyDomain</span>&nbsp;:= 'ObjectPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyRange</span>&nbsp;:= 'ObjectPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">FunctionalObjectProperty</span>&nbsp;:= 'FunctionalObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">InverseFunctionalObjectProperty</span>&nbsp;:= 'InverseFunctionalObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">ReflexiveObjectProperty</span>&nbsp;:= 'ReflexiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">IrreflexiveObjectProperty</span>&nbsp;:= 'IrreflexiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">SymmetricObjectProperty</span>&nbsp;:= 'SymmetricObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">AsymmetricObjectProperty</span>&nbsp;:= 'AsymmetricObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<span class="nonterminal">TransitiveObjectProperty</span>&nbsp;:= 'TransitiveObjectProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DataPropertyAxiom</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SubDataPropertyOf</span> | <span class="nonterminal">EquivalentDataProperties</span> | <span class="nonterminal">DisjointDataProperties</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyDomain</span> | <span class="nonterminal">DataPropertyRange</span> | <span class="nonterminal">FunctionalDataProperty</span><br />
<br />
<span class="nonterminal">SubDataPropertyOf</span>&nbsp;:= 'SubDataPropertyOf' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subDataPropertyExpression</span> <span class="nonterminal">superDataPropertyExpression</span> ')'<br />
<span class="nonterminal">subDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<span class="nonterminal">superDataPropertyExpression</span>&nbsp;:= <span class="nonterminal">DataPropertyExpression</span><br />
<br />
<span class="nonterminal">EquivalentDataProperties</span>&nbsp;:= 'EquivalentDataProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DisjointDataProperties</span>&nbsp;:= 'DisjointDataProperties' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataPropertyExpression</span> { <span class="nonterminal">DataPropertyExpression</span> } ')'<br />
<br />
<span class="nonterminal">DataPropertyDomain</span>&nbsp;:= 'DataPropertyDomain' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">superClassExpression</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyRange</span>&nbsp;:= 'DataPropertyRange' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<span class="nonterminal">FunctionalDataProperty</span>&nbsp;:= 'FunctionalDataProperty' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">DatatypeDefinition</span>&nbsp;:= 'DatatypeDefinition' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Datatype</span> <span class="nonterminal">DataRange</span> ')'<br />
<br />
<br />
<br />
<span class="nonterminal">HasKey</span>&nbsp;:= 'HasKey' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">subClassExpression</span> '(' { <span class="nonterminal">ObjectPropertyExpression</span> } ')' '(' { <span class="nonterminal">DataPropertyExpression</span> } ')' ')'<br />
<br />
<br />
<br />
<span class="nonterminal">Assertion</span>&nbsp;:=<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">SameIndividual</span> | <span class="nonterminal">DifferentIndividuals</span> | <span class="nonterminal">ClassAssertion</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">ObjectPropertyAssertion</span> | <span class="nonterminal">NegativeObjectPropertyAssertion</span> |<br />
&nbsp;&nbsp;&nbsp; <span class="nonterminal">DataPropertyAssertion</span> | <span class="nonterminal">NegativeDataPropertyAssertion</span><br />
<br />
<span class="nonterminal">sourceIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetIndividual</span>&nbsp;:= <span class="nonterminal">Individual</span><br />
<span class="nonterminal">targetValue</span>&nbsp;:= <span class="nonterminal">Literal</span><br />
<br />
<span class="nonterminal">SameIndividual</span>&nbsp;:= 'SameIndividual' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Individual</span> <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> } ')'<br />
<br />
<span class="nonterminal">DifferentIndividuals</span>&nbsp;:= 'DifferentIndividuals' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">Individual</span> <span class="nonterminal">Individual</span> { <span class="nonterminal">Individual</span> } ')'<br />
<br />
<span class="nonterminal">ClassAssertion</span>&nbsp;:= 'ClassAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">superClassExpression</span> <span class="nonterminal">Individual</span> ')'<br />
<br />
<span class="nonterminal">ObjectPropertyAssertion</span>&nbsp;:= 'ObjectPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetIndividual</span> ')'<br />
<br />
<span class="nonterminal">NegativeObjectPropertyAssertion</span>&nbsp;:= 'NegativeObjectPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">ObjectPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetIndividual</span> ')'<br />
<br />
<span class="nonterminal">DataPropertyAssertion</span>&nbsp;:= 'DataPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetValue</span> ')'<br />
<br />
<span class="nonterminal">NegativeDataPropertyAssertion</span>&nbsp;:= 'NegativeDataPropertyAssertion' '(' <span class="nonterminal">axiomAnnotations</span> <span class="nonterminal">DataPropertyExpression</span> <span class="nonterminal">sourceIndividual</span> <span class="nonterminal">targetValue</span> ')'
</p>
</div>
<div id="changelog">
<a name="Appendix:_Change_Log_.28Informative.29"></a><h2> <span class="mw-headline">7  Appendix: Change Log (Informative) </span></h2>
<a name="Changes_Since_Proposed_Recommendation"></a><h3> <span class="mw-headline">7.1  Changes Since Proposed Recommendation </span></h3>
<p>No changes have been made to this document since the <a class="external text" href="http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/" title="http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/">Proposed Recommendation of 22 September, 2009</a>.
</p>
<a name="Changes_Since_Candidate_Recommendation"></a><h3> <span class="mw-headline">7.2  Changes Since Candidate Recommendation </span></h3>
<p>This section summarizes the changes to this document since the <a class="external text" href="http://www.w3.org/TR/2009/CR-owl2-profiles-20090611/" title="http://www.w3.org/TR/2009/CR-owl2-profiles-20090611/">Candidate Recommendation of 11 June, 2009</a>.
</p>
<ul><li> The "Features At Risk" warning w.r.t. the owl:rational and rdf:XMLLiteral datatypes was removed: implementation support has been adequately demonstrated, and the features are no longer considered at risk (see <a class="external text" href="http://www.w3.org/2007/OWL/meeting/2009-08-05#resolution_5" title="http://www.w3.org/2007/OWL/meeting/2009-08-05#resolution_5">Resolution 5</a> and <a class="external text" href="http://www.w3.org/2007/OWL/meeting/2009-08-05#resolution_6" title="http://www.w3.org/2007/OWL/meeting/2009-08-05#resolution_6">Resolution 6</a>, 05 August 2009).
</li><li> A note on the origin of the profile names was added, and it was pointed out that none of the profiles is a subset of another.
</li><li> A citation of Lloyd's <i>Foundations of Logic Programming</i> was added.
</li><li> Some minor editorial changes were made.
</li></ul>
<a name="Changes_Since_Last_Call"></a><h3> <span class="mw-headline">7.3  Changes Since Last Call </span></h3>
<p>This section summarizes the changes to this document since the <a class="external text" href="http://www.w3.org/TR/2009/WD-owl2-profiles-20090421/" title="http://www.w3.org/TR/2009/WD-owl2-profiles-20090421/">Last Call Working Draft of 21 April, 2009</a>.
</p>
<ul><li> One grammar production was fixed in order to align it with the grammar in Structural Specification and Functional-Style Syntax
</li><li> The name of rdf:text was changed to rdf:PlainLiteral.
</li><li> A reference to logic programming was added.
</li><li> Some minor editorial changes were made.
</li></ul>
</div>
<a name="Acknowledgments"></a><h2> <span class="mw-headline">8  Acknowledgments </span></h2>
<p>The starting point for the development of OWL 2 was the <a class="external text" href="http://www.w3.org/Submission/2006/10/" title="http://www.w3.org/Submission/2006/10/">OWL1.1 member submission</a>, itself a result of user and developer feedback, and in particular of information gathered during the <a class="external text" href="http://www.webont.org/owled/" title="http://www.webont.org/owled/">OWL Experiences and Directions (OWLED) Workshop series</a>. The working group also considered <a class="external text" href="http://www.w3.org/2001/sw/WebOnt/webont-issues.html" title="http://www.w3.org/2001/sw/WebOnt/webont-issues.html">postponed issues</a> from the <a class="external text" href="http://www.w3.org/2004/OWL/" title="http://www.w3.org/2004/OWL/">WebOnt Working Group</a>.
</p><p>This document has been produced by the OWL Working Group (see below), and its contents reflect extensive discussions within the Working Group as a whole.
The editors extend special thanks to
Jie Bao (RPI),
Jim Hendler (RPI) and
Jeff Pan (University of Aberdeen)
for their thorough reviews.
</p><p>The regular attendees at meetings of the OWL Working Group at the time of publication of this document were:
Jie Bao (RPI),
Diego Calvanese (Free University of Bozen-Bolzano),
Bernardo Cuenca Grau (Oxford University Computing Laboratory),
Martin Dzbor (Open University),
Achille Fokoue (IBM Corporation),
Christine Golbreich (Universit&eacute; de Versailles St-Quentin and LIRMM),
Sandro Hawke (W3C/MIT),
Ivan Herman (W3C/ERCIM),
Rinke Hoekstra (University of Amsterdam),
Ian Horrocks (Oxford University Computing Laboratory),
Elisa Kendall (Sandpiper Software),
Markus Kr&ouml;tzsch (FZI),
Carsten Lutz (Universit&auml;t Bremen),
Deborah L. McGuinness (RPI),
Boris Motik (Oxford University Computing Laboratory),
Jeff Pan (University of Aberdeen),
Bijan Parsia (University of Manchester),
Peter F. Patel-Schneider (Bell Labs Research, Alcatel-Lucent),
Sebastian Rudolph (FZI),
Alan Ruttenberg (Science Commons),
Uli Sattler (University of Manchester),
Michael Schneider (FZI),
Mike Smith (Clark &amp; Parsia),
Evan Wallace (NIST),
Zhe Wu (Oracle Corporation), and
Antoine Zimmermann (DERI Galway).
We would also like to thank past members of the working group:
Jeremy Carroll,
Jim Hendler,
Vipul Kashyap.
</p>
<a name="References"></a><h2> <span class="mw-headline">9  References </span></h2>
<a name="Normative_References"></a><h3> <span class="mw-headline">9.1  Normative References </span></h3>
<dl><dt> <span id="ref-owl-2-conformance">[OWL 2 Conformance]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-conformance-20091027/">OWL 2 Web Ontology Language: <span>Conformance</span></a></cite> Michael Smith, Ian Horrocks, Markus Kr&ouml;tzsch, Birte Glimm, eds. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-conformance-20091027/">http://www.w3.org/TR/2009/REC-owl2-conformance-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-conformance/">http://www.w3.org/TR/owl2-conformance/</a>.</span></dd><dt> <span id="ref-owl-2-direct-semantics">[OWL 2 Direct Semantics]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-direct-semantics-20091027/">OWL 2 Web Ontology Language: <span>Direct Semantics</span></a></cite> Boris Motik, Peter F. Patel-Schneider, Bernardo Cuenca Grau, eds. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-direct-semantics-20091027/">http://www.w3.org/TR/2009/REC-owl2-direct-semantics-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-direct-semantics/">http://www.w3.org/TR/owl2-direct-semantics/</a>.</span></dd><dt> <span id="ref-owl-2-rdf-mapping">[OWL 2 RDF Mapping]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-mapping-to-rdf-20091027/">OWL 2 Web Ontology Language: <span>Mapping to RDF Graphs</span></a></cite> Peter F. Patel-Schneider, Boris Motik, eds. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-mapping-to-rdf-20091027/">http://www.w3.org/TR/2009/REC-owl2-mapping-to-rdf-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-mapping-to-rdf/">http://www.w3.org/TR/owl2-mapping-to-rdf/</a>.</span></dd><dt> <span id="ref-owl-2-rdf-semantics">[OWL 2 RDF-Based Semantics]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-rdf-based-semantics-20091027/">OWL 2 Web Ontology Language: <span>RDF-Based Semantics</span></a></cite> Michael Schneider, editor. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-rdf-based-semantics-20091027/">http://www.w3.org/TR/2009/REC-owl2-rdf-based-semantics-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-rdf-based-semantics/">http://www.w3.org/TR/owl2-rdf-based-semantics/</a>.</span></dd><dt> <span id="ref-owl-2-specification">[OWL 2 Specification]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/">OWL 2 Web Ontology Language: <span>Structural Specification and Functional-Style Syntax</span></a></cite> Boris Motik, Peter F. Patel-Schneider, Bijan Parsia, eds. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/">http://www.w3.org/TR/2009/REC-owl2-syntax-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-syntax/">http://www.w3.org/TR/owl2-syntax/</a>.</span></dd><dt> <span id="ref-rfc-2119">[RFC 2119]</span>
</dt><dd> <cite><a class="external text" href="http://www.ietf.org/rfc/rfc2119.txt" title="http://www.ietf.org/rfc/rfc2119.txt">RFC 2119: Key words for use in RFCs to Indicate Requirement Levels</a></cite>. Network Working Group, S. Bradner. IETF, March 1997, http://www.ietf.org/rfc/rfc2119.txt
</dd></dl>
<a name="Nonnormative_References"></a><h3> <span class="mw-headline">9.2  Nonnormative References </span></h3>
<dl><dt> <span id="ref-complexity">[Complexity]</span>
</dt><dd> <cite><a class="external text" href="http://lat.inf.tu-dresden.de/research/phd/Tobies-PhD-2001.pdf" title="http://lat.inf.tu-dresden.de/research/phd/Tobies-PhD-2001.pdf">Complexity Results and Practical Algorithms for Logics in Knowledge Representation</a></cite>. Stephan Tobies. Ph.D Dissertation, 2002
</dd><dt> <span id="ref-DL-Lite">[DL-Lite]</span>
</dt><dd> <cite><a class="external text" href="http://www.springerlink.com/content/n17338715966v81h/" title="http://www.springerlink.com/content/n17338715966v81h/">Tractable Reasoning and Efficient Query Answering in Description Logics: The DL-Lite Family</a></cite>. Diego Calvanese, Giuseppe de Giacomo, Domenico Lembo, Maurizio Lenzerini, Riccardo Rosati. J. of Automated Reasoning 39(3):385&ndash;429, 2007
</dd><dt> <span id="ref-DL-Lite-bool">[DL-Lite-bool]</span>
</dt><dd> <cite><a class="external text" href="http://www.dcs.bbk.ac.uk/~michael/DL-LiteFamily.pdf" title="http://www.dcs.bbk.ac.uk/~michael/DL-LiteFamily.pdf">The DL-Lite Family and Relatives</a></cite>. Alessandro Artale, Diego Calvanese, Roman Kontchakov, Michael Zakharyaschev, submitted. 
</dd><dt> <span id="ref-dlp">[DLP]</span>
</dt><dd> <cite><a class="external text" href="http://www2003.org/cdrom/papers/refereed/p117/p117-grosof.html" title="http://www2003.org/cdrom/papers/refereed/p117/p117-grosof.html">Description Logic Programs: Combining Logic Programs with Description Logic</a></cite>. Benjamin N. Grosof, Ian Horrocks, Raphael Volz, and Stefan Decker. in Proc. of the 12th Int. World Wide Web Conference (WWW 2003), Budapest, Hungary, 2003. pp.: 48&ndash;57
</dd><dt> <span id="ref-ELpp">[EL++]</span>
</dt><dd> <cite><a class="external text" href="http://lat.inf.tu-dresden.de/research/papers/2005/BaaderBrandtLutz-IJCAI-05.pdf" title="http://lat.inf.tu-dresden.de/research/papers/2005/BaaderBrandtLutz-IJCAI-05.pdf">Pushing the EL Envelope</a></cite>. Franz Baader, Sebastian Brandt, and Carsten Lutz. In Proc. of the 19th Joint Int. Conf. on Artificial Intelligence (IJCAI 2005), 2005
</dd><dt> <span id="ref-ELppUpd">[EL++ Update]</span>
</dt><dd> <cite><a class="external text" href="http://www.webont.org/owled/2008dc/papers/owled2008dc_paper_3.pdf" title="http://www.webont.org/owled/2008dc/papers/owled2008dc_paper_3.pdf">Pushing the EL Envelope Further</a></cite>. Franz Baader, Sebastian Brandt, and Carsten Lutz. In Proc. of the Washington DC workshop on OWL: Experiences and Directions (OWLED08DC), 2008
</dd><dt> <span id="ref-owl-1-reference">[OWL 1 Reference]</span>
</dt><dd> <cite><a class="external text" href="http://www.w3.org/TR/owl-ref/" title="http://www.w3.org/TR/owl-ref/">OWL Web Ontology Language Reference</a></cite>. Mike Dean and Guus Screiber, eds., W3C Recommendation, 10 February 2004.
</dd><dt> <span id="ref-owl-2-primer">[OWL 2 Primer]</span>
</dt><dd><span><cite><a href="http://www.w3.org/TR/2009/REC-owl2-primer-20091027/">OWL 2 Web Ontology Language: <span>Primer</span></a></cite> Pascal Hitzler, Markus Kr&ouml;tzsch, Bijan Parsia, Peter F. Patel-Schneider, Sebastian Rudolph, eds. W3C Recommendation, 27 October 2009, <a href="http://www.w3.org/TR/2009/REC-owl2-primer-20091027/">http://www.w3.org/TR/2009/REC-owl2-primer-20091027/</a>.  Latest version available at <a href="http://www.w3.org/TR/owl2-primer/">http://www.w3.org/TR/owl2-primer/</a>.</span></dd><dt> <span id="ref-papa">[Papadimitriou]</span>
</dt><dd> <cite><a class="external text" href="http://en.wikipedia.org/wiki/Christos_Papadimitriou" title="http://en.wikipedia.org/wiki/Christos_Papadimitriou">Christos H. Papadimitriou</a></cite>. Computational Complexity. Addison Wesley Publ. Co., Reading, Massachussetts, 1994.
</dd><dt> <span id="ref-pdstar">[pD*]</span>
</dt><dd> <cite><a class="external text" href="http://linkinghub.elsevier.com/retrieve/pii/S1570826805000144" title="http://linkinghub.elsevier.com/retrieve/pii/S1570826805000144">Completeness, decidability and complexity of entailment for RDF Schema and a semantic extension involving the OWL vocabulary</a></cite>. Herman J. ter Horst. J. of Web Semantics 3(2&ndash;3):79&ndash;115, 2005
</dd><dt> <span id="ref-rdf-semantics">[RDF Semantics]</span>
</dt><dd> <cite><a class="external text" href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/" title="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/">RDF Semantics</a></cite>. Patrick Hayes, ed., W3C Recommendation, 10 February 2004, http://www.w3.org/TR/2004/REC-rdf-mt-20040210/.  Latest version available as http://www.w3.org/TR/rdf-mt/.
</dd><dt> <span id="ref-rif-rdf-owl">[RIF RDF &amp; OWL]</span>
</dt><dd> <cite><a class="external text" href="http://www.w3.org/TR/rif-rdf-owl/" title="http://www.w3.org/TR/rif-rdf-owl/">RIF RDF and OWL Compatibility</a></cite>. Jos de Bruijn, ed., W3C Working Draft, 30 July 2008.
</dd><dt> <span id="ref-snomed-ct">[SNOMED CT]</span>
</dt><dd> <cite><a class="external text" href="http://www.ihtsdo.org/snomed-ct/" title="http://www.ihtsdo.org/snomed-ct/">Systematized Nomenclature of Medicine &ndash; Clinical Terms</a></cite>. International Health Terminology Standards Development Organization (IHTSDO)
</dd><dt> <span id="ref-automated-reasoning">[Automated Reasoning]</span>
</dt><dd> <cite><a class="external text" href="http://www.elsevier.com/wps/find/bookdescription.cws_home/622118/description" title="http://www.elsevier.com/wps/find/bookdescription.cws_home/622118/description">Handbook of Automated Reasoning</a></cite>. A. Robinson and A. Voronkov, eds., Elsevier Science, 2001
</dd><dt> <span id="ref-logic-programming">[Logic Programming]</span>
</dt><dd> <cite><a class="external text" href="http://www.cs.ttu.edu/~mgelfond/papers/survey.pdf" title="http://www.cs.ttu.edu/~mgelfond/papers/survey.pdf">Logic programming and knowledge representation</a></cite>. Chitta Baral and Michael Gelfond. Journal of Logic Programming 19:73&ndash;148, 1994.
</dd><dt> <span id="ref-lloyd">[Lloyd]</span>
</dt><dd> <cite>Foundations of Logic Programming, 2nd ed.</cite> John Wylie Lloyd. Springer-Verlag, Berlin, Germany, 1987.
</dd></dl>


</body>
</html>