- From: Emmanuel Pietriga <epietriga@nuxeo.com>
- Date: Thu, 09 Oct 2003 08:28:05 +0200
- To: Bijan Parsia <bparsia@isr.umd.edu>
- Cc: www-rdf-validator@w3.org
What do you mean by drops it? When I tried to parse your example, I got the following triple: subject: genid:ARP90 predicate: http://www.w3.org/2002/07/owl#cardinality object: "1"^^http://www.w3.org/2001/XMLSchema#nonNegativeInteger Isn't this what you expected? Emmanuel Bijan Parsia wrote: > > report=Your ntriples output silently drops the datatype. > > Cheers, > Bijan. > RDF=<!DOCTYPE uridef [ > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns"> > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema"> > <!ENTITY owl "http://www.w3.org/2002/07/owl"> > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema"> > <!ENTITY process > "http://www.mindswap.org/~bparsia/ontologies/sws/iope-exp.owl"> > ]> > <!-- > This document uses entity types as a shorthand for URIs. > For a version with unexpanded entities, try loading this source > into Internet Explorer. > --> > <rdf:RDF xmlns:rdf="&rdf;#" xmlns:rdfs="&rdfs;#" xmlns:owl="&owl;#" > xmlns:xsd="&xsd;#" xmlns:process="&process;#" > xmlns="http://www.mindswap.org/~bparsia/ontologies/sws/iope- example.owl#" > xml:base="http://www.mindswap.org/~bparsia/ontologies/sws/iope- > example.owl"> > > > > <owl:Class rdf:ID="A"> > <owl:disjointWith> > <owl:Class rdf:ID="B"/> > </owl:disjointWith> > </owl:Class> > > <owl:Class rdf:ID="AA"> > <rdfs:subClassOf> > <owl:Restriction> > <owl:onProperty> > <owl:ObjectProperty rdf:ID="p"/> > </owl:onProperty> > <owl:someValuesFrom rdf:resource="#A"/> > </owl:Restriction> > </rdfs:subClassOf> > <rdfs:subClassOf> > <owl:Restriction> > <owl:onProperty rdf:resource="#p"/> > <owl:cardinality > rdf:datatype="&xsd;#nonNegativeInteger">1</owl:cardinality> > </owl:Restriction> > </rdfs:subClassOf> > </owl:Class> > > <A rdf:ID="a1"> > <p> > <B rdf:ID="b1"/> > </p> > </A> > </rdf:RDF> > > -- Emmanuel Pietriga (epietriga@nuxeo.com) tel (mobile): +33 6 88 51 94 98 http://claribole.net
Received on Thursday, 9 October 2003 02:27:26 UTC