From: Onno P. <onn...@gm...> - 2006-08-23 11:28:49
|
Dear rdfapi-php team, The following examples are snippets from much larger OWL constructs. They have no meaning by themselves, just as illustration of the way the RAP netapi handles this. My question: does this example show an RAP bug? Onno Paap This piece of OWL code has no errors in Vowlidator: ============ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" xml:base="http://www.15926.org/2006/02/onnopaap1"> <owl:Class rdf:ID="AbstractObject"> <rdf:type rdf:resource="#ClassOfAbstractObject"/> </owl:Class> <owl:Class rdf:ID="ClassOfAbstractObject"/> </rdf:RDF> ============ Loaded in RAP gives 3 triples: ============ 1. Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject RDF Node: rdf:type RDF Node: owl:Class 2. Resource: http://www.15926.org/2006/02/onnopaap1#AbstractObject RDF Node: rdf:type Resource: http://www.15926.org/2006/02/onnopaap1#ClassOfAbstractObject 3. Resource: http://www.15926.org/2006/02/onnopaap1#ClassOfAbstractObject RDF Node: rdf:type RDF Node: owl:Class ============ The RAP netapi makes this out of it: ============ <?xml version="1.0" encoding="UTF-8" ?> <!-- Generated by RdfSerializer.php from RDF RAP. # http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/index.html ! --> <rdf:RDF xml:base="http://www.15926.org/2006/02/onnopaap1#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:ns1="http://www.15926.org/2006/02/onnopaap1#"> <owl:Class rdf:ID="AbstractObject" /> <ns1:ClassOfAbstractObject rdf:ID="AbstractObject" /> <owl:Class rdf:ID="ClassOfAbstractObject" /> </rdf:RDF> ============ Which gives errors in Vowlidator: ============ [1] WARNING - Parser Indication: http://www.15926.org/2006/02/onnopaap1#[15:53]: {W105} Redefinition of ID: AbstractObject [2] WARNING - Parser Indication: http://www.15926.org/2006/02/onnopaap1#[13:37]: {W105} Previous definition of 'AbstractObject'. ============ |