Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correcting owl:Individual to owl:NamedIndividual, updating XSL to dis…
…play them (FCREPO-1261)
  • Loading branch information
escowles committed Dec 17, 2014
1 parent 6373cd6 commit c4f7e2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions owl2html.xsl
Expand Up @@ -37,9 +37,9 @@
</xsl:for-each>
</xsl:if>

<xsl:if test="/rdf:RDF/owl:Individual">
<h3>Individuals</h3>
<xsl:for-each select="/rdf:RDF/owl:Individual">
<xsl:if test="/rdf:RDF/owl:NamedIndividual">
<h3>Named Individuals</h3>
<xsl:for-each select="/rdf:RDF/owl:NamedIndividual">
<xsl:sort select="@rdf:about"/>
<xsl:call-template name="link"/>
</xsl:for-each>
Expand Down Expand Up @@ -72,9 +72,9 @@
</xsl:for-each>
</xsl:if>

<xsl:if test="/rdf:RDF/owl:Individual">
<h3>Individuals</h3>
<xsl:for-each select="/rdf:RDF/owl:Individual">
<xsl:if test="/rdf:RDF/owl:NamedIndividual">
<h3>Named Individuals</h3>
<xsl:for-each select="/rdf:RDF/owl:NamedIndividual">
<xsl:sort select="@rdf:about"/>
<xsl:call-template name="description"/>
</xsl:for-each>
Expand Down
8 changes: 4 additions & 4 deletions repository.rdf
Expand Up @@ -908,16 +908,16 @@
<rdfs:label xml:lang="en">resource status</rdfs:label>
<rdfs:comment xml:lang="en">Values of the status property. The default values are active and deleted -- but additional values can be created.</rdfs:comment>
</owl:Class>
<owl:Individual rdf:about="http://fedora.info/definitions/v4/repository#active">
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/repository#active">
<rdfs:label xml:lang="en">active</rdfs:label>
<rdfs:comment xml:lang="en">The resource is active.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/repository#ResourceStatus"/>
</owl:Individual>
<owl:Individual rdf:about="http://fedora.info/definitions/v4/repository#deleted">
</owl:NamedIndividual>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/repository#deleted">
<rdfs:label xml:lang="en">deleted</rdfs:label>
<rdfs:comment xml:lang="en">The resource has been marked for deletion.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/repository#ResourceStatus"/>
</owl:Individual>
</owl:NamedIndividual>

</rdf:RDF>

Expand Down

0 comments on commit c4f7e2f

Please sign in to comment.