<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 05/29/2014 01:09 AM, Uri Shani
      wrote:<br>
    </div>
    <blockquote
cite="mid:OF9EB579E0.6222EA6D-ONC2257CE7.002BECDD-C2257CE7.002CD31D@il.ibm.com"
      type="cite"><font face="sans-serif" size="2">Hi,</font>
      <br>
      <font face="sans-serif" size="2">I have a simple ontology in which
        I
        import dcterms, and use dcterms:title and dcterms:description,
        assigning
        them as a domain an owl:Class entity I declared.</font>
      <br>
      <font face="sans-serif" size="2">That is now reflected in the
        Protege
        explorer GUI, and even in a graphic diagram (I use a recently
        advertised
        VOWL plugin).</font>
      <br>
    </blockquote>
    <br>
    It may be that the problem is that the imported dcterms is not an
    OWL 2 ontology.  I have attached a version and it doesn't use the
    OWL vocabulary (and therefore does not declare its entities).  The
    OWL api, and therefore Protege, can have some unexpected behaviors
    with such ontologies.  <br>
    <br>
    I think that there is a DL version of dcterms somewhere.<br>
    <br>
    <blockquote
cite="mid:OF9EB579E0.6222EA6D-ONC2257CE7.002BECDD-C2257CE7.002CD31D@il.ibm.com"
      type="cite">
      <br>
      <font face="sans-serif" size="2">When I save the ontology, I can
        see
        the definition of the domains for those properties in the RDF.
        That is
        also apparent in the RDF display of the ontology (from within
        the "Individual"
        window).</font>
      <br>
      <br>
      <font face="sans-serif" size="2">However, when I reload the
        ontology
        later on, and although I can see all the dcterms elements shown,
        and the
        RDF representation contains these domain definitions, that fact
        is not
        shown on the dataProperties explorer (and neither in the diagram
        from VOWL).</font>
      <br>
    </blockquote>
    <br>
    I am not sure what you mean here.  I looked at dcterms:title and did
    not see a domain statement:<br>
    <br>
    <pre>   <rdf:Description rdf:about=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/title">"http://purl.org/dc/terms/title"</a>>
        <rdfs:label xml:lang="en-US">Title</rdfs:label>
        <dcterms:description xml:lang="en-US">A name given to the resource.</dcterms:description>
        <rdfs:isDefinedBy rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/">"http://purl.org/dc/terms/"</a>/>
        <dcterms:issued>2008-01-14</dcterms:issued>
        <dcterms:modified>2008-01-14</dcterms:modified>
        <rdf:type rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"</a>/>
        <dcterms:hasVersion rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://dublincore.org/usage/terms/history/#titleT-001">"http://dublincore.org/usage/terms/history/#titleT-001"</a>/>
        <skos:note xml:lang="en-US">In current practice, this term is used primarily with literal values; however, there are important uses with non-literal values as well.  As of December 2007, the DCMI Usage Board is leaving this range unspecified pending an investigation of options.</skos:note>
        <rdfs:subPropertyOf rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/elements/1.1/title">"http://purl.org/dc/elements/1.1/title"</a>/>
    </rdf:Description>
</pre>
    <br>
    But another property (bibliographicCitation) does have a domain
    statement:<br>
    <br>
    <pre>    <rdf:Description rdf:about=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/bibliographicCitation">"http://purl.org/dc/terms/bibliographicCitation"</a>>
        <rdfs:label xml:lang="en-US">Bibliographic Citation</rdfs:label>
        <rdfs:comment xml:lang="en-US">A bibliographic reference for the resource.</rdfs:comment>
        <dcterms:description xml:lang="en-US">Recommended practice is to include sufficient bibliographic detail to identify the resource as unambiguously as possible.</dcterms:description>
        <rdfs:isDefinedBy rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/">"http://purl.org/dc/terms/"</a>/>
        <dcterms:issued>2003-02-15</dcterms:issued>
        <dcterms:modified>2008-01-14</dcterms:modified>
        <rdf:type rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"</a>/>
        <dcterms:hasVersion rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://dublincore.org/usage/terms/history/#bibliographicCitation-002">"http://dublincore.org/usage/terms/history/#bibliographicCitation-002"</a>/>
       <b> <i><rdfs:domain rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/BibliographicResource">"http://purl.org/dc/terms/BibliographicResource"</a>/></i></b>
        <rdfs:range rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/01/rdf-schema#Literal">"http://www.w3.org/2000/01/rdf-schema#Literal"</a>/>
        <rdfs:subPropertyOf rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/elements/1.1/identifier">"http://purl.org/dc/elements/1.1/identifier"</a>/>
        <rdfs:subPropertyOf rdf:resource=<a class="moz-txt-link-rfc2396E" href="http://purl.org/dc/terms/identifier">"http://purl.org/dc/terms/identifier"</a>/>
    </rdf:Description>

</pre>
    In this case the domain statement shows up in the data properties
    view even after a reload:<br>
    <br>
    <img src="cid:part1.00020507.06070407@stanford.edu" alt=""><br>
    <br>
    <br>
    -Timothy<br>
    <br>
    <blockquote
cite="mid:OF9EB579E0.6222EA6D-ONC2257CE7.002BECDD-C2257CE7.002CD31D@il.ibm.com"
      type="cite">
      <br>
      <font face="sans-serif" size="2">When I add this definition again,
        it
        does show in the explorer (and in VOWL), but in the RDF
        representation
         I now see duplicate definition of these domains.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">The dcterms ontology defines
        these properties,
        so for Protege these should be types properly.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Is that a flaw in Protege? I
        think that
        from the OWL pov the RDF is good.<br>
      </font>
      <br>
      <font face="sans-serif" size="2">Thanks,  Uri Shani.</font>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
protege-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:protege-user@lists.stanford.edu">protege-user@lists.stanford.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.stanford.edu/mailman/listinfo/protege-user">https://mailman.stanford.edu/mailman/listinfo/protege-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>