Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[p4-feedback] annotations for entity annotation axiom

Nick Drummond nick.drummond at cs.manchester.ac.uk
Wed Apr 8 07:27:21 PDT 2009


I've added it to the list to either disable editing these (easier) or add
rdf/xml support (harder).

Nick

2009/4/7 Matthew Horridge <matthew.horridge at cs.man.ac.uk>

> Annotations on annotations have only recently been added to the OWL
> spec and this is why they aren't supported by the RDF/XML renderer.
> Actually, it's just a co-incidence that the OWL/XML renderer does the
> rendering.
>
> Cheers,
>
> Matthew
>
>
>
> On 7 Apr 2009, at 15:02, Nick Drummond wrote:
>
> > Hi,
> >
> > I've just been sorting out the OWLAPI RDF/XML roundtripping of
> > annotation axioms in general and saw this might be a problem.
> > I just thought to myself "surely no-one would want to annotate the
> > annotations" :)
> >
> > I'll add it to the list.
> >
> > Cheers
> >
> > Nick
> >
> > 2009/4/7 Christian Knuepfer <christian.knuepfer at uni-jena.de>
> > Hi,
> >
> > in Protege 4 it is possible to annotate annotations. That's great. But
> > this annotations are only stored as OWL/XML. All other save formats
> > (e.g. RDF/XML) will discard this information without any warning!
> >
> > Here is a little example in the both formats. I annotated the label of
> > Class1 with "label for Class1":
> >
> > OWL/XML (the annotation is in the first EntityAnnotation)
> > ------------------------------------------------------------------
> > <?xml version="1.0"?>
> >
> >
> > <!DOCTYPE Ontology [
> >    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
> >    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
> >    <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
> >    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
> >    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
> >    <!ENTITY Ontology1239108302828
> > "http://localhost/2009/3/7/Ontology1239108302828.owl#" >
> > ]>
> >
> >
> > <Ontology xmlns="http://www.w3.org/2006/12/owl2-xml#"
> >     xml:base="http://www.w3.org/2006/12/owl2-xml#"
> >     xmlns:="http://www.w3.org/2006/12/owl2-xml#"
> >
> > xmlns:Ontology1239108302828="
> http://localhost/2009/3/7/Ontology1239108302828.owl#
> > "
> >     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
> >     xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
> >     xmlns:owl="http://www.w3.org/2002/07/owl#"
> >     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
> >     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> >     URI="http://localhost/2009/3/7/Ontology1239108302828.owl">
> >    <SubClassOf>
> >        <Class URI="&Ontology1239108302828;ID_0000000"/>
> >        <Class URI="&owl;Thing"/>
> >    </SubClassOf>
> >    <EntityAnnotation>
> >        <Annotation annotationURI="&rdfs;comment">
> >            <Constant datatypeURI="&xsd;string"
> >                >label for Class1</Constant>
> >        </Annotation>
> >        <Class URI="&Ontology1239108302828;ID_0000000"/>
> >        <Annotation annotationURI="&rdfs;label">
> >            <Constant>Class1</Constant>
> >        </Annotation>
> >    </EntityAnnotation>
> > </Ontology>
> >
> > <!-- Generated by the OWL API (version 2.2.1.974)
> > http://owlapi.sourceforge.net -->
> > ------------------------------------------------------------------
> >
> >
> >
> >
> > RDF/XML (no annotation)
> >
> > ------------------------------------------------------------------
> > <?xml version="1.0"?>
> >
> >
> > <!DOCTYPE rdf:RDF [
> >    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
> >    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
> >    <!ENTITY owl2xml "http://www.w3.org/2006/12/owl2-xml#" >
> >    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
> >    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
> >    <!ENTITY Ontology1239108302828
> > "http://localhost/2009/3/7/Ontology1239108302828.owl#" >
> > ]>
> >
> >
> > <rdf:RDF xmlns="http://www.w3.org/2006/12/owl2-xml#"
> >     xml:base="http://localhost/2009/3/7/Ontology1239108302828.owl"
> >
> > xmlns:Ontology1239108302828="
> http://localhost/2009/3/7/Ontology1239108302828.owl#
> > "
> >     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
> >     xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
> >     xmlns:owl="http://www.w3.org/2002/07/owl#"
> >     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
> >     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> >    <owl:Ontology rdf:about=""/>
> >
> >    <!--
> >
> >
> ///////////////////////////////////////////////////////////////////////////////////////
> >    //
> >    // Classes
> >    //
> >
> >
> ///////////////////////////////////////////////////////////////////////////////////////
> >     -->
> >
> >    <!--
> > http://localhost/2009/3/7/Ontology1239108302828.owl#ID_0000000 -->
> >
> >    <owl:Class rdf:about="#ID_0000000">
> >        <rdfs:label>Class1</rdfs:label>
> >        <rdfs:subClassOf rdf:resource="&owl;Thing"/>
> >    </owl:Class>
> >
> >    <!-- http://www.w3.org/2002/07/owl#Thing -->
> >
> >    <owl:Class rdf:about="&owl;Thing"/>
> > </rdf:RDF>
> > ------------------------------------------------------------------
> >
> >
> > Why are the annotations discarded in RDF/XML? At least there should
> > be a
> > warning that some information will be lost after saving...
> >
> >
> > Greetings,
> >
> > Christian.
> >
> >
> >
> > --
> > Christian Knuepfer
> > Friedrich-Schiller-Universitaet Jena
> > Institut fuer Informatik
> > Ernst-Abbe-Platz 1-4
> > D-07743 Jena, Germany
> >
> > Office: R. 3237
> > Phone: Intl.+49-3641-9-46353
> > Fax: Intl.+49-3641-9-46302
> >
> > e-mail: christian.knuepfer at uni-jena.de
> > WWW: http://www.informatik.uni-jena.de/~tral<http://www.informatik.uni-jena.de/%7Etral>
> >
> > PGP Key-ID: 0xC3329342
> > PGP Public Key:
> >  http://www.minet.uni-jena.de/~tral/data/christian_knuepfer_pub.asc<http://www.minet.uni-jena.de/%7Etral/data/christian_knuepfer_pub.asc>
> > Fingerprint 5656 7F57 8E58 FC7B AC58 6714 3DA4 3181 C332 9342
> > --
> >
> >
> > _______________________________________________
> > p4-feedback mailing list
> > p4-feedback at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/p4-feedback
> >
> > _______________________________________________
> > p4-feedback mailing list
> > p4-feedback at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
> _______________________________________________
> p4-feedback mailing list
> p4-feedback at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/p4-feedback/attachments/20090408/d2c07737/attachment.html>


More information about the p4-feedback mailing list