protegeproject / protege

Protege Desktop
http://protege.stanford.edu
Other
970 stars 229 forks source link

Support for untyped IRIs #1157

Open alanruttenberg opened 11 months ago

alanruttenberg commented 11 months ago

Annotations relate IRIs to IRIs. However, I see no way to create an annotation from an IRI that isn't otherwise typed to be an individual, property, or class. In addition, pure IRI to IRI relations authored outside of Protege seem to be invisible. The usage tab of the annotation property so used does not show the relationship between the untyped IRIs. Example below.

This request is to

As with entities, display of untyped IRIs should respect the rendering settings.

<?xml version="1.0"?>
<rdf:RDF xmlns="urn:lsw:ontology:f#"
     xml:base="urn:lsw:ontology:f"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:example="http://example.com/">
    <owl:Ontology rdf:about="urn:lsw:ontology:f"/>
    <owl:AnnotationProperty rdf:about="http://example.com/p"/>
    <rdf:Description rdf:about="http://example.com/a">
        <example:p rdf:resource="http://example.com/b"/>
    </rdf:Description>
</rdf:RDF>