w3.org/1999/02/22-rdf-syntax-ns#???
(similarly for other namespaces). The namespace ???xsd??? at line 4 is used to refer to
XML Schema in which some data types are defined. Lines 5-8 define a class ???Person???
using the primitive of OWL, ???owl:Class???. Also we can see from lines 6 and 7 that
primitives ???label??? and ???comment??? are from RDFS, therefore there is a namespace
???rdfs??? before ???label??? and ???comment???, that is, ???rdfs:label??? and ???rdfs:comment???.
Lines 9-12 define a data type property (???owl:DatatypeProperty???) ???office_phone???;
similarly we can define other properties for person, for example, ???name???, and so
forth. Lines 13-15 define a property ???contact_number??? which is equivalent to the
???home_phone???.
Table 2. Primitive differences among DAML, OIL, DAML+OIL, and OWL
OIL DAML DAML+OIL OWL Comment
(1) Primitives included in all the four languages
Class Class Class Class used to define class
inverseRelationOf inverseOf inverseOf inverseOf if P1(x,y) then
P2(y,x)
FunctionalProperty UniqueProperty UniqueProperty FunctionalProperty if P(x,y) and P(x,z)
then y=z
(2) Primitives not included in OIL, but included in the other three languages
sameClassAs sameClassAs equivalentClass C1 = C2
samePropertyAs samePropertyAs equivalentProperty P1 = P2
(3) New primitives added in DAML+OIL, used by OWL
ObjectProperty ObjectProperty relates Resource to
Resource
DatatypeProperty DatatypeProperty relates Resource to
Literal or data type
(4) OIL primitives not used by DAML+OIL, but used by OWL
SymmetricProperty SymmetricProperty if P(x, y), then
P(y, x)
L and L ng
Copyright ?© 2007, Idea Group Inc.
Pages:
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