3 SPDX-FileCopyrightText: 2024, 2025 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: MPL-2.0
7 © 2024–2025 Lady [@ Ladys Computer].
9 This Source Code Form is subject to the terms of the Mozilla Public License, v 2.0.
10 If a copy of the M·P·L was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
13 <!ENTITY en '<attribute xmlns="http://www.w3.org/1999/XSL/Transform" name="lang"><text>en</text></attribute><attribute xmlns="http://www.w3.org/1999/XSL/Transform" name="xml:lang"><text>en</text></attribute>'>
16 xmlns="http://www.w3.org/1999/XSL/Transform"
17 xmlns:Vocab="urn:fdc:vocab.ladys.computer:20240731:ns"
18 xmlns:anno="http://www.w3.org/ns/oa#"
19 xmlns:html="http://www.w3.org/1999/xhtml"
20 xmlns:owl="http://www.w3.org/2002/07/owl#"
21 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
22 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
23 xmlns:shacl="http://www.w3.org/ns/shacl#"
24 xmlns:skos="http://www.w3.org/2004/02/skos/core#"
25 xmlns:vocabstatus="http://www.w3.org/2003/06/sw-vocab-status/ns#"
26 xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
27 exclude-result-prefixes="Vocab"
30 <书社:id>urn:fdc:vocab.ladys.computer:20240731:transforms:terms.xslt</书社:id>
31 <key name="Vocab:named-class" match="owl:Class|rdfs:Datatype" use="@rdf:about"/>
32 <key name="Vocab:named-property" match="owl:AnnotationProperty|owl:DatatypeProperty|owl:ObjectProperty" use="@rdf:about"/>
33 <key name="Vocab:named-individual" match="owl:NamedIndividual" use="@rdf:about|owl:sameAs/@rdf:resource"/>
34 <key name="Vocab:subclass" match="owl:Class|owl:Restriction" use="rdfs:subClassOf/@rdf:resource"/>
35 <key name="Vocab:subproperty" match="owl:AnnotationProperty|owl:DatatypeProperty|owl:ObjectProperty" use="rdfs:subPropertyOf/@rdf:resource"/>
36 <template name="Vocab:link-to">
37 <param name="resource"/>
38 <param name="kind" select="'individual'"/>
39 <param name="full" select="true()"/>
40 <variable name="base-prefix">
41 <call-template name="Vocab:prefix">
42 <with-param name="unprefixed">
43 <call-template name="Vocab:base"/>
47 <variable name="curie">
48 <call-template name="Vocab:prefix">
49 <with-param name="unprefixed" select="string($resource)"/>
52 <variable name="localid">
54 <when test="starts-with($curie, $base-prefix)">
55 <value-of select="substring-after($curie, $base-prefix)"/>
58 <value-of select="$curie"/>
62 <element name="html:a">
64 <when test="key(concat('Vocab:named-', $kind), $resource)">
65 <attribute name="data-curie">
66 <value-of select="$curie"/>
68 <attribute name="data-kind">
69 <value-of select="$kind"/>
71 <attribute name="href">
74 <when test="$kind='class'">
77 <when test="$kind='property'">
78 <text>properties/</text>
81 <text>individuals/</text>
84 <value-of select="$localid"/>
87 <for-each select="key(concat('Vocab:named-', $kind), $resource)[1]">
88 <if test="not($full)">
89 <attribute name="title">
90 <value-of select="rdfs:label[1]"/>
92 <value-of select="$curie"/>
96 <variable name="wrappername">
98 <when test="substring($localid, 1, 1)='(' and substring($localid, string-length($localid), 1)=')'">
106 <element name="html:{$wrappername}">
107 <attribute name="lang">
108 <value-of select="rdfs:label[1]/@xml:lang"/>
110 <attribute name="xml:lang">
111 <value-of select="rdfs:label[1]/@xml:lang"/>
113 <value-of select="rdfs:label[1]"/>
117 <element name="html:small">
119 <element name="html:code">
120 <value-of select="$curie"/>
128 <attribute name="href">
129 <value-of select="$resource"/>
131 <element name="html:code">
132 <value-of select="$curie"/>
138 <template name="Vocab:list-all-terms">
139 <param name="source"/>
140 <call-template name="Vocab:list-terms">
141 <with-param name="source" select="$source"/>
142 <with-param name="selector" select="'Class'"/>
144 <call-template name="Vocab:list-terms">
145 <with-param name="source" select="$source"/>
146 <with-param name="selector" select="'Datatype'"/>
148 <call-template name="Vocab:list-terms">
149 <with-param name="source" select="$source"/>
150 <with-param name="selector" select="'AnnotationProperty'"/>
152 <call-template name="Vocab:list-terms">
153 <with-param name="source" select="$source"/>
154 <with-param name="selector" select="'ObjectProperty'"/>
156 <call-template name="Vocab:list-terms">
157 <with-param name="source" select="$source"/>
158 <with-param name="selector" select="'DatatypeProperty'"/>
160 <call-template name="Vocab:list-terms">
161 <with-param name="source" select="$source"/>
162 <with-param name="selector" select="'NamedIndividual'"/>
165 <template name="Vocab:list-terms">
166 <param name="source"/>
167 <param name="selector"/>
168 <variable name="base-iri">
169 <call-template name="Vocab:base"/>
171 <variable name="selection" select="//rdf:RDF//*[@rdf:about and local-name()=$selector and ($selector='Datatype' and namespace-uri()='http://www.w3.org/2000/01/rdf-schema#' or $selector!='Datatype' and namespace-uri()='http://www.w3.org/2002/07/owl#') and rdfs:isDefinedBy[starts-with(@rdf:resource, $base-iri)] and ($source='' and starts-with(@rdf:about, $base-iri) or (rdfs:isDefinedBy|rdfs:isDefinedBy/anno:ResourceSelection/anno:hasSource)[@rdf:resource=$source])]"/>
172 <if test="$selection">
173 <element name="html:nav">
174 <element name="html:h4">
177 <when test="$selector='Class'">
180 <when test="$selector='Datatype'">
181 <text>Datatypes</text>
183 <when test="$selector='AnnotationProperty'">
184 <text>Annotation Properties</text>
186 <when test="$selector='ObjectProperty'">
187 <text>Object Properties</text>
189 <when test="$selector='DatatypeProperty'">
190 <text>Data Properties</text>
192 <when test="$selector='NamedIndividual'">
193 <text>Named Individuals</text>
197 <element name="html:ul">
198 <for-each select="$selection">
199 <sort select="rdfs:label[1]" lang="en"/>
200 <element name="html:li">
201 <call-template name="Vocab:link-to">
202 <with-param name="resource" select="string(@rdf:about)"/>
203 <with-param name="kind">
205 <when test="$selector='Class' or $selector='Datatype'">
208 <when test="$selector='AnnotationProperty' or $selector='ObjectProperty' or $selector='DatatypeProperty'">
209 <text>property</text>
212 <text>individual</text>
223 <template match="/书社:archive">
224 <variable name="base-iri">
225 <call-template name="Vocab:base"/>
228 <apply-templates select="@*"/>
229 <apply-templates select="*[@书社:archived-as]"/>
230 <for-each select="rdf:RDF//*[(self::owl:AnnotationProperty or self::owl:Class or self::owl:DatatypeProperty or self::owl:NamedIndividual or self::owl:ObjectProperty or self::rdfs:Datatype) and rdfs:isDefinedBy[starts-with(@rdf:resource, $base-iri)]]">
231 <element name="html:article">
232 <attribute name="class">
235 <attribute name="书社:archived-as">
236 <value-of select="translate(substring-after(rdfs:isDefinedBy[starts-with(@rdf:resource, $base-iri)]/@rdf:resource, $base-iri), ':[]', '¦__')"/>
238 <element name="html:header">
239 <element name="html:a">
240 <attribute name="href">
243 <text>Ladys Vocabulary</text>
246 <apply-templates select="." mode="Vocab:render-term"/>
251 <template match="html:article[rdf:RDF]">
252 <for-each select="rdf:RDF">
253 <for-each select="//owl:Ontology[1]">
254 <element name="html:hgroup">
255 <element name="html:h1">
256 <attribute name="lang">
257 <value-of select="rdfs:label[1]/@xml:lang"/>
259 <attribute name="xml:lang">
260 <value-of select="rdfs:label[1]/@xml:lang"/>
262 <value-of select="rdfs:label[1]"/>
264 <element name="html:p">
265 <text>An ontology.</text>
268 <element name="html:div">
269 <attribute name="class">
272 <element name="html:dl">
273 <element name="html:div">
274 <element name="html:dt">
275 <element name="html:abbr">
277 <attribute name="title">
278 <text>Internationalized Resource Identifier</text>
283 <element name="html:dd">
284 <element name="html:a">
285 <attribute name="href">
286 <value-of select="@rdf:about"/>
288 <element name="html:code">
289 <value-of select="@rdf:about"/>
296 <apply-templates select="rdfs:comment[1]/html:div" mode="Vocab:render-term"/>
297 <element name="html:section">
298 <element name="html:h2">
300 <text>List of Name·spaces</text>
302 <element name="html:table">
303 <element name="html:thead">
304 <element name="html:tr">
305 <element name="html:th">
307 <attribute name="scope">
312 <element name="html:th">
314 <attribute name="scope">
321 <element name="html:tbody">
322 <for-each select="shacl:declare[shacl:prefix!='']">
323 <sort select="shacl:prefix"/>
324 <element name="html:tr">
325 <element name="html:th">
326 <attribute name="scope">
329 <element name="html:code">
330 <value-of select="shacl:prefix"/>
334 <element name="html:td">
335 <element name="html:code">
336 <value-of select="shacl:namespace"/>
344 <element name="html:section">
345 <element name="html:h2">
347 <text>Terms Defined By </text>
348 <element name="html:cite">
349 <attribute name="lang">
350 <value-of select="rdfs:label[1]/@xml:lang"/>
352 <attribute name="xml:lang">
353 <value-of select="rdfs:label[1]/@xml:lang"/>
355 <value-of select="rdfs:label[1]"/>
358 <call-template name="Vocab:list-all-terms"/>
361 <element name="html:section">
362 <element name="html:h2">
364 <text>Terms Defined Else·where</text>
366 <for-each select="//owl:NamedIndividual">
367 <sort select="rdfs:label" lang="en"/>
368 <if test="(//rdfs:isDefinedBy|//rdfs:isDefinedBy/anno:ResourceSelection/anno:hasSource)[string(@rdf:resource)=string(current()/@rdf:about)]">
369 <element name="html:section">
370 <element name="html:h3">
371 <element name="html:a">
372 <attribute name="href">
373 <value-of select="@rdf:about"/>
375 <element name="html:cite">
376 <attribute name="lang">
377 <value-of select="rdfs:label[1]/@xml:lang"/>
379 <attribute name="xml:lang">
380 <value-of select="rdfs:label[1]/@xml:lang"/>
382 <value-of select="rdfs:label[1]"/>
386 <apply-templates select="rdfs:comment[1]/html:div" mode="Vocab:render-term"/>
387 <call-template name="Vocab:list-all-terms">
388 <with-param name="source" select="@rdf:about"/>
396 <template match="*[@rdf:about and (self::owl:AnnotationProperty or self::owl:Class or self::owl:DatatypeProperty or self::owl:NamedIndividual or self::owl:ObjectProperty or self::rdfs:Datatype)]" mode="Vocab:render-term" priority="2">
397 <variable name="root" select="/"/>
398 <variable name="base-iri">
399 <call-template name="Vocab:base"/>
401 <variable name="kind">
403 <when test="self::owl:Class or self::rdfs:Datatype">
406 <when test="self::owl:AnnotationProperty or self::owl:ObjectProperty or self::owl:DatatypeProperty">
407 <text>property</text>
410 <text>individual</text>
414 <variable name="resource-context" select="string(@rdf:about)"/>
415 <variable name="equivalencies" select="Vocab:get-equivalents(., $kind)"/>
416 <variable name="supers" select="Vocab:get-transitives(., $kind, 'super')"/>
417 <variable name="inverses" select="Vocab:get-symmetrics(., $kind, 'inverse')"/>
418 <variable name="disjoints" select="Vocab:get-symmetrics(.|$supers, $kind, 'disjoint')"/>
419 <element name="html:meta">
420 <attribute name="itemprop">
421 <text>urn:fdc:ladys.computer:20231231:Shu1She4:title</text>
423 <attribute name="content">
424 <value-of select="rdfs:label[1]"/>
426 <call-template name="Vocab:prefix">
427 <with-param name="unprefixed">
428 <value-of select="@rdf:about"/>
433 <value-of select="//rdf:RDF//owl:Ontology/rdfs:label"/>
436 <element name="html:hgroup">
437 <element name="html:h1">
438 <attribute name="lang">
439 <value-of select="rdfs:label[1]/@xml:lang"/>
441 <attribute name="xml:lang">
442 <value-of select="rdfs:label[1]/@xml:lang"/>
444 <value-of select="rdfs:label[1]"/>
446 <element name="html:p">
448 <element name="html:code">
449 <call-template name="Vocab:prefix">
450 <with-param name="unprefixed" select="@rdf:about"/>
455 <element name="html:p">
457 <when test="self::owl:Class">
458 <text>A class.</text>
460 <when test="self::rdfs:Datatype">
461 <text>A datatype.</text>
463 <when test="self::owl:AnnotationProperty">
464 <text>An annotation property.</text>
466 <when test="self::owl:ObjectProperty">
467 <text>An object property.</text>
469 <when test="self::owl:DatatypeProperty">
470 <text>A data property.</text>
472 <when test="self::owl:NamedIndividual">
473 <text>A named individual.</text>
478 <element name="html:div">
479 <attribute name="class">
482 <if test="self::owl:DatatypeProperty|self::owl:ObjectProperty">
483 <element name="html:table">
484 <element name="html:tbody">
485 <element name="html:tr">
486 <element name="html:td">
487 <element name="html:label">
489 <text>Functional? </text>
490 <element name="html:input">
491 <attribute name="type">
492 <text>checkbox</text>
494 <attribute name="aria-readonly">
497 <attribute name="onclick">
498 <text>return false</text>
500 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#FunctionalProperty']">
501 <attribute name="checked">
508 <if test="self::owl:ObjectProperty">
509 <element name="html:td">
510 <element name="html:label">
512 <text>Inverse Functional? </text>
513 <element name="html:input">
514 <attribute name="type">
515 <text>checkbox</text>
517 <attribute name="aria-readonly">
520 <attribute name="onclick">
521 <text>return false</text>
523 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#InverseFunctionalProperty']">
524 <attribute name="checked">
531 <element name="html:td">
532 <element name="html:label">
534 <text>Reflexive? </text>
535 <element name="html:input">
536 <attribute name="type">
537 <text>checkbox</text>
539 <attribute name="aria-readonly">
542 <attribute name="onclick">
543 <text>return false</text>
545 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#ReflexiveProperty']">
546 <attribute name="checked">
553 <element name="html:td">
554 <element name="html:label">
556 <text>Irreflexive? </text>
557 <element name="html:input">
558 <attribute name="type">
559 <text>checkbox</text>
561 <attribute name="aria-readonly">
564 <attribute name="onclick">
565 <text>return false</text>
567 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#IrreflexiveProperty']">
568 <attribute name="checked">
575 <element name="html:td">
576 <element name="html:label">
578 <text>Symmetric? </text>
579 <element name="html:input">
580 <attribute name="type">
581 <text>checkbox</text>
583 <attribute name="aria-readonly">
586 <attribute name="onclick">
587 <text>return false</text>
589 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#SymmetricProperty']">
590 <attribute name="checked">
597 <element name="html:td">
598 <element name="html:label">
600 <text>Asymmetric? </text>
601 <element name="html:input">
602 <attribute name="type">
603 <text>checkbox</text>
605 <attribute name="aria-readonly">
608 <attribute name="onclick">
609 <text>return false</text>
611 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#AsymmetricProperty']">
612 <attribute name="checked">
619 <element name="html:td">
620 <element name="html:label">
622 <text>Transitive? </text>
623 <element name="html:input">
624 <attribute name="type">
625 <text>checkbox</text>
627 <attribute name="aria-readonly">
630 <attribute name="onclick">
631 <text>return false</text>
633 <if test="rdf:type/@rdf:resource[string()='http://www.w3.org/2002/07/owl#TransitiveProperty']">
634 <attribute name="checked">
646 <element name="html:dl">
647 <element name="html:div">
648 <element name="html:dt">
649 <element name="html:abbr">
651 <attribute name="title">
652 <text>Internationalized Resource Identifier</text>
657 <element name="html:dd">
658 <element name="html:a">
659 <attribute name="href">
660 <value-of select="$resource-context"/>
662 <element name="html:code">
663 <value-of select="$resource-context"/>
668 <if test="self::owl:NamedIndividual and rdf:type">
669 <element name="html:div">
670 <element name="html:dt">
674 <for-each select="rdf:type">
675 <element name="html:dd">
676 <apply-templates select="(@rdf:resource|*)[1]" mode="Vocab:render-class"/>
681 <if test="$equivalencies">
682 <element name="html:div">
684 <when test="self::rdfs:Datatype">
685 <element name="html:dt">
687 <text>Equivalent Data Range</text>
689 <for-each select="$equivalencies">
690 <element name="html:dd">
691 <apply-templates select="." mode="Vocab:render-class">
692 <with-param name="root" select="$root"/>
693 <with-param name="resource-context" select="$resource-context"/>
698 <when test="self::owl:Class">
699 <element name="html:dt">
701 <text>Equivalent Class</text>
703 <for-each select="$equivalencies">
704 <element name="html:dd">
705 <apply-templates select="." mode="Vocab:render-class">
706 <with-param name="root" select="$root"/>
707 <with-param name="resource-context" select="$resource-context"/>
712 <when test="$kind='property'">
713 <element name="html:dt">
715 <text>Equivalent Property</text>
717 <for-each select="$equivalencies">
718 <element name="html:dd">
719 <apply-templates select="." mode="Vocab:render-property">
720 <with-param name="root" select="$root"/>
721 <with-param name="resource-context" select="$resource-context"/>
727 <element name="html:dt">
731 <for-each select="$equivalencies">
732 <element name="html:dd">
733 <apply-templates select="." mode="Vocab:render-individual">
734 <with-param name="root" select="$root"/>
735 <with-param name="resource-context" select="$resource-context"/>
743 <if test="$inverses">
745 <when test="$kind='class'">
746 <element name="html:div">
747 <element name="html:dt">
749 <text>Complement Of</text>
751 <for-each select="$inverses">
752 <element name="html:dd">
753 <apply-templates select="." mode="Vocab:render-class">
754 <with-param name="root" select="$root"/>
755 <with-param name="resource-context" select="$resource-context"/>
761 <when test="$kind='property'">
762 <element name="html:div">
763 <element name="html:dt">
765 <text>Inverse Of</text>
767 <for-each select="$inverses">
768 <element name="html:dd">
769 <apply-templates select="." mode="Vocab:render-property">
770 <with-param name="root" select="$root"/>
771 <with-param name="resource-context" select="$resource-context"/>
781 <when test="$kind='class'">
782 <element name="html:div">
783 <element name="html:dt">
785 <text>Subclass Of</text>
787 <for-each select="$supers">
788 <element name="html:dd">
789 <apply-templates select="." mode="Vocab:render-class">
790 <with-param name="root" select="$root"/>
791 <with-param name="resource-context" select="$resource-context"/>
797 <when test="$kind='property'">
798 <element name="html:div">
799 <element name="html:dt">
801 <text>Subproperty Of</text>
803 <for-each select="$supers">
804 <element name="html:dd">
805 <apply-templates select="." mode="Vocab:render-property">
806 <with-param name="root" select="$root"/>
807 <with-param name="resource-context" select="$resource-context"/>
815 <if test="owl:hasKey">
816 <element name="html:div">
817 <element name="html:dt">
819 <text>Target For Key</text>
821 <for-each select="owl:hasKey">
822 <element name="html:dd">
823 <for-each select="*">
824 <apply-templates select="." mode="Vocab:render-property"/>
825 <if test="position()<last()">
833 <if test="owl:propertyChainAxiom">
834 <element name="html:div">
835 <element name="html:dt">
837 <text>Property Chain</text>
839 <for-each select="owl:propertyChainAxiom">
840 <element name="html:dd">
841 <for-each select="*">
842 <apply-templates select="." mode="Vocab:render-property"/>
843 <if test="position()<last()">
851 <if test="key('Vocab:subclass', @rdf:about)">
852 <element name="html:div">
853 <element name="html:dt">
855 <text>Superclass Of</text>
857 <for-each select="key('Vocab:subclass', @rdf:about)">
858 <element name="html:dd">
859 <apply-templates select="." mode="Vocab:render-class"/>
864 <if test="key('Vocab:subproperty', @rdf:about)">
865 <element name="html:div">
866 <element name="html:dt">
868 <text>Superproperty Of</text>
870 <for-each select="key('Vocab:subproperty', @rdf:about)">
871 <element name="html:dd">
872 <apply-templates select="." mode="Vocab:render-property"/>
877 <if test="rdfs:domain">
878 <element name="html:div">
879 <element name="html:dt">
883 <for-each select="rdfs:domain">
884 <element name="html:dd">
885 <apply-templates select="(@rdf:resource|*)[1]" mode="Vocab:render-class"/>
890 <if test="rdfs:range">
891 <element name="html:div">
892 <element name="html:dt">
896 <for-each select="rdfs:range">
897 <element name="html:dd">
898 <apply-templates select="(@rdf:resource|*)[1]" mode="Vocab:render-class"/>
903 <if test="$disjoints">
905 <when test="$kind='class'">
906 <element name="html:div">
907 <element name="html:dt">
909 <text>Disjoint With</text>
911 <for-each select="$disjoints">
912 <element name="html:dd">
913 <apply-templates select="." mode="Vocab:render-class">
914 <with-param name="root" select="$root"/>
915 <with-param name="resource-context" select="$resource-context"/>
921 <when test="$kind='property'">
922 <element name="html:div">
923 <element name="html:dt">
925 <text>Property Disjoint With</text>
927 <for-each select="$disjoints">
928 <element name="html:dd">
929 <apply-templates select="." mode="Vocab:render-property">
930 <with-param name="root" select="$root"/>
931 <with-param name="resource-context" select="$resource-context"/>
939 <if test="skos:inScheme">
940 <element name="html:div">
941 <element name="html:dt">
943 <text>In Scheme</text>
945 <for-each select="skos:inScheme">
946 <element name="html:dd">
947 <call-template name="Vocab:link-to">
948 <with-param name="resource" select="string(@rdf:resource)"/>
949 <with-param name="kind" select="'individual'"/>
955 <if test="rdfs:isDefinedBy[not(starts-with(@rdf:resource, $base-iri))]">
956 <element name="html:div">
957 <element name="html:dt">
959 <text>Is Defined By</text>
961 <for-each select="rdfs:isDefinedBy[not(starts-with(@rdf:resource, $base-iri))]">
962 <element name="html:dd">
964 <when test="@rdf:resource">
965 <call-template name="Vocab:link-to">
966 <with-param name="resource" select="string(@rdf:resource)"/>
967 <with-param name="kind" select="'individual'"/>
970 <when test="anno:ResourceSelection">
971 <variable name="base" select="string(anno:ResourceSelection/anno:hasSource/@rdf:resource)"/>
972 <element name="html:a">
973 <attribute name="href">
975 <when test="not(anno:ResourceSelection/anno:hasSelector/anno:FragmentSelector)">
976 <value-of select="$base"/>
978 <when test="contains($base, '#')">
979 <value-of select="substring-before($base, '#')"/>
982 <value-of select="$base"/>
985 <if test="anno:ResourceSelection/anno:hasSelector/anno:FragmentSelector">
987 <value-of select="anno:ResourceSelection/anno:hasSelector/anno:FragmentSelector/rdf:value"/>
991 <when test="key('Vocab:named-individual', $base)">
992 <element name="html:cite">
993 <for-each select="key('Vocab:named-individual', $base)[1]">
994 <attribute name="lang">
995 <value-of select="rdfs:label[1]/@xml:lang"/>
997 <attribute name="xml:lang">
998 <value-of select="rdfs:label[1]/@xml:lang"/>
1000 <value-of select="rdfs:label[1]"/>
1005 <element name="html:code">
1006 <value-of select="$base"/>
1011 <if test="anno:ResourceSelection/anno:hasSelector/anno:FragmentSelector">
1012 <element name="html:small">
1014 <element name="html:code">
1016 <value-of select="anno:ResourceSelection/anno:hasSelector/anno:FragmentSelector/rdf:value"/>
1031 <if test="vocabstatus:term_status">
1032 <element name="html:div">
1033 <element name="html:dt">
1037 <for-each select="vocabstatus:term_status">
1038 <element name="html:dd">
1039 <apply-templates select="." mode="Vocab:render-value"/>
1046 <apply-templates select="rdfs:comment[1]/html:div" mode="Vocab:render-term"/>
1047 <if test="self::owl:NamedIndividual and (//rdfs:isDefinedBy|//rdfs:isDefinedBy/anno:ResourceSelection/anno:hasSource)[string(@rdf:resource)=string(current()/@rdf:about)]">
1048 <call-template name="Vocab:list-all-terms">
1049 <with-param name="source" select="@rdf:about"/>
1053 <template match="html:a[@data-curie[not(contains(., '/'))]]/@href" mode="Vocab:render-term" priority="2">
1054 <variable name="base-prefix">
1055 <call-template name="Vocab:prefix">
1056 <with-param name="unprefixed">
1057 <call-template name="Vocab:base"/>
1061 <attribute name="href">
1062 <text>/terms/</text>
1064 <when test="../@data-kind='class'">
1065 <text>classes/</text>
1067 <when test="../@data-kind='property'">
1068 <text>properties/</text>
1071 <text>individuals/</text>
1075 <when test="starts-with(../@data-curie, $base-prefix)">
1076 <value-of select="substring-after(../@data-curie, $base-prefix)"/>
1079 <value-of name="identifier" select="../@data-curie"/>
1085 <template match="@*|node()" mode="Vocab:render-term" priority="0">
1087 <apply-templates select="@*|node()" mode="Vocab:render-term"/>