📄 daml+oil.daml
字号:
<!-- $Revision: 1.1 $ of $Date: 2003/06/18 12:59:57 $. -->
<!-- Note: this is just http://www.daml.org/2001/03/daml+oil.daml, modified -->
<!-- to make all names absolute with rdf:about rather than relative with rdf:ID -->
<rdf:RDF
xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
xmlns ="http://www.daml.org/2001/03/daml+oil#"
>
<rdf:Description rdf:about="">
<versionInfo>$Id: daml+oil.daml,v 1.1 2003/06/18 12:59:57 ian_dickinson Exp $</versionInfo>
<imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
</rdf:Description>
<!-- (meta) classes of "object" and datatype classes -->
<rdfs:Class rdf:about="http://www.daml.org/2001/03/daml+oil#Class">
<rdfs:label>Class</rdfs:label>
<rdfs:comment>
The class of all "object" classes
</rdfs:comment>
<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdfs:Class>
<rdfs:Class rdf:about="http://www.daml.org/2001/03/daml+oil#Datatype">
<rdfs:label>Datatype</rdfs:label>
<rdfs:comment>
The class of all datatype classes
</rdfs:comment>
<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdfs:Class>
<!-- Pre-defined top/bottom thing/nothing most/least-general (object) classes. -->
<Class rdf:about="http://www.daml.org/2001/03/daml+oil#Thing">
<rdfs:label>Thing</rdfs:label>
<rdfs:comment>
The most general (object) class in DAML.
This is equal to the union of any class and its complement.
</rdfs:comment>
<unionOf rdf:parseType="daml:collection">
<rdfs:Class rdf:about="http://www.daml.org/2001/03/daml+oil#Nothing"/>
<rdfs:Class>
<complementOf rdf:resource="http://www.daml.org/2001/03/daml+oil#Nothing"/>
</rdfs:Class>
</unionOf>
</Class>
<Class rdf:about="http://www.daml.org/2001/03/daml+oil#Nothing">
<rdfs:label>Nothing</rdfs:label>
<rdfs:comment>the class with no things in it.</rdfs:comment>
<complementOf rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
</Class>
<!-- Terms for building classes from other classes. -->
<Property rdf:about="http://www.daml.org/2001/03/daml+oil#equivalentTo"> <!-- equals? equiv? renames? -->
<rdfs:label>equivalentTo</rdfs:label>
<comment>
for equivalentTo(X, Y), read X is an equivalent term to Y.
</comment>
</Property>
<Property rdf:about="http://www.daml.org/2001/03/daml+oil#sameClassAs">
<rdfs:label>sameClassAs</rdfs:label>
<comment>
for sameClassAs(X, Y), read X is an equivalent class to Y.
cf OIL Equivalent
</comment>
<rdfs:subPropertyOf rdf:resource="http://www.daml.org/2001/03/daml+oil#equivalentTo"/>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
</Property>
<Property rdf:about="http://www.daml.org/2001/03/daml+oil#samePropertyAs">
<rdfs:label>samePropertyAs</rdfs:label>
<rdfs:comment>
for samePropertyAs(P, R), read P is an equivalent property to R.
</rdfs:comment>
<rdfs:subPropertyOf rdf:resource="http://www.daml.org/2001/03/daml+oil#equivalentTo"/>
<rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
</Property>
<Property rdf:about="http://www.daml.org/2001/03/daml+oil#sameIndividualAs">
<rdfs:label>sameIndividualAs</rdfs:label>
<rdfs:comment>
for sameIndividualAs(a, b), read a is the same individual as b.
</rdfs:comment>
<rdfs:subPropertyOf rdf:resource="http://www.daml.org/2001/03/daml+oil#equivalentTo"/>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
</Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#disjointWith">
<rdfs:label>disjointWith</rdfs:label>
<rdfs:comment>
for disjointWith(X, Y) read: X and Y have no members in common.
cf OIL Disjoint
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
</rdf:Property>
<Property rdf:about="http://www.daml.org/2001/03/daml+oil#differentIndividualFrom">
<rdfs:label>differentIndividualFrom</rdfs:label>
<rdfs:comment>
for differentIndividualFrom(a, b), read a is not the same individual as b.
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#Thing"/>
</Property>
<!-- NOTE: the Disjoint class has been deleted: use disjointWith -->
<!-- or disjointUnionOf instead. -->
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#unionOf">
<rdfs:label>unionOf</rdfs:label>
<rdfs:comment>
for unionOf(X, Y) read: X is the union of the classes in the list Y;
i.e. if something is in any of the classes in Y, it's in X, and vice versa.
cf OIL OR
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#disjointUnionOf">
<rdfs:label>disjointUnionOf</rdfs:label>
<rdfs:comment>
for disjointUnionOf(X, Y) read: X is the disjoint union of the classes in
the list Y: (a) for any c1 and c2 in Y, disjointWith(c1, c2),
and (b) unionOf(X, Y). i.e. if something is in any of the classes in Y, it's
in X, and vice versa.
cf OIL disjoint-covered
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#intersectionOf">
<rdfs:label>intersectionOf</rdfs:label>
<rdfs:comment>
for intersectionOf(X, Y) read: X is the intersection of the classes in the list Y;
i.e. if something is in all the classes in Y, then it's in X, and vice versa.
cf OIL AND
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#complementOf">
<rdfs:label>complementOf</rdfs:label>
<rdfs:comment>
for complementOf(X, Y) read: X is the complement of Y; if something is in Y,
then it's not in X, and vice versa.
cf OIL NOT
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
</rdf:Property>
<!-- Term for building classes by enumerating their elements -->
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#oneOf">
<rdfs:label>oneOf</rdfs:label>
<rdfs:comment>
for oneOf(C, L) read everything in C is one of the
things in L;
This lets us define classes by enumerating the members.
cf OIL OneOf
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
<rdfs:range rdf:resource="http://www.daml.org/2001/03/daml+oil#List"/>
</rdf:Property>
<!-- Terms for building classes by restricting their properties. -->
<rdfs:Class rdf:about="http://www.daml.org/2001/03/daml+oil#Restriction">
<rdfs:label>Restriction</rdfs:label>
<rdfs:comment>
something is in the class R if it satisfies the attached restrictions,
and vice versa.
</rdfs:comment>
<rdfs:subClassOf rdf:resource="http://www.daml.org/2001/03/daml+oil#Class"/>
</rdfs:Class>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#onProperty">
<rdfs:label>onProperty</rdfs:label>
<rdfs:comment>
for onProperty(R, P), read:
R is a restricted with respect to property P.
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Restriction"/>
<rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#toClass">
<rdfs:label>toClass</rdfs:label>
<rdfs:comment>
for onProperty(R, P) and toClass(R, X), read:
i is in class R if and only if for all j, P(i, j) implies type(j, X).
cf OIL ValueType
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Restriction"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#hasValue">
<rdfs:label>hasValue</rdfs:label>
<rdfs:comment>
for onProperty(R, P) and hasValue(R, V), read:
i is in class R if and only if P(i, V).
cf OIL HasFiller
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Restriction"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#hasClass">
<rdfs:label>hasClass</rdfs:label>
<rdfs:comment>
for onProperty(R, P) and hasClass(R, X), read:
i is in class R if and only if for some j, P(i, j) and type(j, X).
cf OIL HasValue
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Restriction"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Property>
<!-- Note that cardinality restrictions on transitive properties, or -->
<!-- properties with transitive sub-properties, compromise decidability. -->
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#minCardinality">
<rdfs:label>minCardinality</rdfs:label>
<rdfs:comment>
for onProperty(R, P) and minCardinality(R, n), read:
i is in class R if and only if there are at least n distinct j with P(i, j).
cf OIL MinCardinality
</rdfs:comment>
<rdfs:domain rdf:resource="http://www.daml.org/2001/03/daml+oil#Restriction"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
</rdf:Property>
<rdf:Property rdf:about="http://www.daml.org/2001/03/daml+oil#maxCardinality">
<rdfs:label>maxCardinality</rdfs:label>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -