Skip to content

Commit 25ce686

Browse files
committed
Fully annotate the bridge files.
Annotate the bridge files with a version IRI and a owl:versionInfo annotation, instead of only an ontology IRI.
1 parent 347f98a commit 25ce686

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

template/src/ontology/Makefile.jinja2

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,11 @@ $(BRIDGEDIR)/{{ bridge.id }}.owl: $(SCRIPTSDIR)/bridge-{{ bridge.ruleset }}.ssso
12131213
| $(BRIDGEDIR) all_robot_plugins
12141214
$(ROBOT) sssom:inject {% for source in bridge.sources %}--sssom $(MAPPINGDIR)/{{ source }}.sssom.tsv \
12151215
{% endfor %}--ruleset $(SCRIPTSDIR)/bridge-{{ bridge.ruleset }}.sssomt \
1216-
--create --bridge-format OFN \
1217-
--bridge-iri $(ONTBASE)/bridges/{{ bridge.id }}.owl \
1218-
--bridge-file $@
1216+
--create \
1217+
annotate --ontology-iri $(ONTBASE)/bridges/{{ bridge.id }}.owl \
1218+
--version-iri $(ONTBASE)/releases/$(VERSION)/bridges/{{ bridge.id }}.owl \
1219+
--annotation owl:versionInfo $(VERSION) \
1220+
convert -f ofn -o $@
12191221

12201222
{% elif bridge.bridge_type == "custom" -%}
12211223
$(BRIDGEDIR)/{{ bridge.id }}.owl:

0 commit comments

Comments
 (0)