From: Stefan Decker ([email protected])
Date: 12/27/00
Hi,
Ian suggestion had a small bug.
> <restrictedBy>
> <Restriction
> onProperty rdf:resource="#father"
> cardinality="1"/>
> </restrictedBy>
<Restriction> is the type of the "unknown" resource with two attributes
onProperty and cardinality. The attribute rdf:resource is not used here.
The following rdf does the trick.
<restrictedBy>
<Restriction
onProperty="#father"
cardinality="1"/>
</restrictedBy>
Full RDF Code:
<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="http://www.daml.org/2000/10/daml-ont#">
<rdfs:class rdf:ID="test">
<restrictedBy>
<Restriction onProperty="#father" cardinality="1"/>
</restrictedBy>
</rdfs:class>
</rdf:RDF>
All the best,
Stefan
At 07:55 AM 12/27/2000 -0100, Frank van Harmelen wrote:
> > <restrictedBy>
> > <Restriction
> > onProperty rdf:resource="#father"
> > cardinality="1"/>
> > </restrictedBy>
This archive was generated by hypermail 2.1.4 : 04/02/02 EST