Skip to content

Commit cae2fe7

Browse files
committed
Update import URIs and versions
1 parent 7115fa6 commit cae2fe7

9 files changed

+19
-66
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@
9494
Tim Prudhomme, Giacomo De Colle, Austin Liebers, Alec Sculley, Karl Xie, Sydney Cohen, and John Beverley
9595

9696
# How to cite
97-
Please cite "Mapping PROV-O to BFO" using the DOI https://doi.org/10.5281/zenodo.11338700.
97+
Please cite "Mapping the Provenance Ontology to Basic Formal Ontology" using the DOI https://doi.org/10.5281/zenodo.11338700.

prov-bfo-directmappings.ttl

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl>
1212
a owl:Ontology;
1313
rdfs:label "Basic Formal Ontology (BFO) ISO 21838-2:2020 mappings for W3C PROVenance Interchange Ontology (PROV-O)"@en ;
14-
owl:versionInfo "2024-06-23"@en ;
15-
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
14+
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
1615
dc:contributor "Tim Prudhomme", "Giacomo De Colle" , "Austin Liebers" , "Alec Sculley" , "Peihong Karl Xie", "Sydney Cohen", "John Beverley" ;
1716
dc:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
1817
prov:wasDerivedFrom <http://www.w3.org/ns/prov> ,

prov-cco-directmappings.ttl

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-cco-directmappings.ttl>
1414
a owl:Ontology;
1515
rdfs:label "Common Core Ontologies (CCO) mappings for W3C PROVenance Interchange Ontology (PROV-O)"@en ;
16-
owl:versionInfo "2024-06-23"@en ;
17-
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
16+
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
1817
owl:imports <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl> ;
1918
rdfs:comment "This mapping depends on the imported PROV-O to BFO mapping" ;
2019
dc:contributor "Tim Prudhomme", "Giacomo De Colle" , "Austin Liebers" , "Alec Sculley" , "Peihong Karl Xie", "Sydney Cohen", "John Beverley" ;

prov-ro-directmappings.ttl

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-ro-directmappings.ttl>
1212
a owl:Ontology;
1313
rdfs:label "Relation Ontology (RO) mappings for W3C PROVenance Interchange Ontology (PROV-O)"@en ;
14-
owl:versionInfo "2024-06-23"@en ;
15-
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
14+
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
1615
owl:imports <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl> ;
1716
rdfs:comment "This mapping depends on the imported PROV-O to BFO mapping." ;
1817
dc:contributor "Tim Prudhomme", "Giacomo De Colle" , "Austin Liebers" , "Alec Sculley" , "Peihong Karl Xie", "Sydney Cohen", "John Beverley" ;

src/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ endef
191191

192192
config.EXTRACTED_IMPORTS_NAME := RO-imports-extracted
193193
EXTRACTED_IMPORTS_FILENAME := $(config.IMPORTS_DIR)/$(config.EXTRACTED_IMPORTS_NAME)
194-
EXTRACTED_IMPORTS_IRI := https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/$(EXTRACTED_IMPORTS_FILENAME).ttl
194+
EXTRACTED_IMPORTS_IRI := https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/$(EXTRACTED_IMPORTS_FILENAME).ttl
195195
IMPORTED_SOURCE_ONTOLOGY := $(config.IMPORTS_DIR)/BFO/ro.owl
196196

197197
ontology-temp-file := ontology_no_imports.tmp.ttl
@@ -209,7 +209,8 @@ $(EXTRACTED_IMPORTS_FILENAME).txt: $(config.ONTOLOGY_FILE) $(ROBOT_FILE)
209209
# Extract imported terms from their source ontology to avoid testing with unnecessary axioms
210210
.PHONY: extract-imports
211211
extract-imports: $(EXTRACTED_IMPORTS_FILENAME).txt | $(ROBOT_FILE)
212-
$(ROBOT) extract --input $(IMPORTED_SOURCE_ONTOLOGY) --method subset --term-file $< --output $(EXTRACTED_IMPORTS_FILENAME).ttl;
212+
$(ROBOT) extract --input $(IMPORTED_SOURCE_ONTOLOGY) --method subset --term-file $< \
213+
annotate --ontology-iri $(EXTRACTED_IMPORTS_IRI) --output $(EXTRACTED_IMPORTS_FILENAME).ttl;
213214

214215

215216
# --------------------------------------------------------------------------------

src/catalog-v001.xml

+5-8
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl" uri="../prov-bfo-directmappings.ttl"/>
55
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-ro-directmappings.ttl" uri="../prov-ro-directmappings.ttl"/>
66
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-cco-directmappings.ttl" uri="../prov-cco-directmappings.ttl"/>
7+
78
<!-- Cached ontologies -->
8-
<!-- <uri name="https://raw.githubusercontent.com/BFO-ontology/BFO-2020/master/src/owl/bfo-core.ttl" uri="imports/BFO/bfo-core.ttl"/> -->
9-
<uri name="https://raw.githubusercontent.com/CommonCoreOntology/CommonCoreOntologies/refs/tags/v2.0-2024-11-06/src/cco-merged/CommonCoreOntologiesMerged.ttl" uri="imports/BFO/CommonCoreOntologiesMerged.ttl"/>
9+
<uri name="https://www.commoncoreontologies.org/2024-11-06/CommonCoreOntologiesMerged" uri="imports/BFO/CommonCoreOntologiesMerged.ttl"/>
10+
<uri name="http://purl.obolibrary.org/obo/bfo/2020/bfo-core.ttl" uri="imports/BFO/bfo-core.ttl"/>
1011
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl" uri="imports/RO-imports-extracted.ttl"/>
11-
<!-- Other ontologies -->
12-
<uri name="http://www.w3.org/ns/sosa/prov" uri="imports/SSN/sosa-prov.ttl"/>
13-
<uri name="http://www.w3.org/ns/sosa/" uri="imports/SSN/sosa.ttl"/>
14-
<uri name="http://example.org/om-20" uri="examples/om-20.ttl"/>
15-
<uri name="http://example.org/model" uri="examples/model.ttl"/>
16-
<uri name="http://maven.renci.org/NeuroBridge/neurobridge" uri="examples/neurobridge_ontology_2023_07_12.owl"/>
12+
1713
<!-- Examples -->
1814
<uri name="https://www.w3.org/TR/prov-o/example-1.ttl" uri="examples/example-1.ttl"/>
1915
<uri name="https://www.w3.org/TR/prov-o/example-2.ttl" uri="examples/example-2.ttl"/>
@@ -31,4 +27,5 @@
3127
<uri name="https://www.w3.org/TR/prov-dictionary/examples.ttl" uri="examples/prov-dictionary-examples.ttl"/>
3228
<uri name="https://www.w3.org/TR/prov-links/examples.ttl" uri="examples/prov-links-examples.ttl"/>
3329
<uri name="https://www.w3.org/TR/prov-dc/examples.ttl" uri="examples/prov-dc-examples.ttl"/>
30+
<uri name="http://example.org/om-20" uri="examples/om-20.ttl"/>
3431
</catalog>

src/imports/RO-imports-extracted.ttl

+4-40
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
@prefix : <http://purl.obolibrary.org/obo/ro.owl#> .
1+
@prefix : <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl#> .
22
@prefix owl: <http://www.w3.org/2002/07/owl#> .
33
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
44
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
55
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
66
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7-
@base <http://purl.obolibrary.org/obo/ro.owl> .
7+
@base <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl> .
88

9-
<http://purl.obolibrary.org/obo/ro.owl> rdf:type owl:Ontology .
9+
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl> rdf:type owl:Ontology .
1010

1111
#################################################################
1212
# Annotation properties
@@ -247,40 +247,4 @@ Each of these 3 primitives can be composed to yield a cross-product of different
247247
rdfs:label "causally influenced by" .
248248

249249

250-
#################################################################
251-
# Individuals
252-
#################################################################
253-
254-
### http://purl.obolibrary.org/obo/RO_0001901
255-
<http://purl.obolibrary.org/obo/RO_0001901> rdf:type owl:NamedIndividual ;
256-
<http://purl.obolibrary.org/obo/IAO_0000115> """## Elucidation
257-
258-
This is used when the statement/axiom is assumed to hold true &apos;eternally&apos;
259-
260-
## How to interpret (informal)
261-
262-
First the &quot;atemporal&quot; FOL is derived from the OWL using the standard
263-
interpretation. This axiom is temporalized by embedding the axiom
264-
within a for-all-times quantified sentence. The t argument is added to
265-
all instantiation predicates and predicates that use this relation.
266-
267-
## Example
268-
269-
Class: nucleus
270-
SubClassOf: part_of some cell
271-
272-
forall t :
273-
forall n :
274-
instance_of(n,Nucleus,t)
275-
implies
276-
exists c :
277-
instance_of(c,Cell,t)
278-
part_of(n,c,t)
279-
280-
## Notes
281-
282-
This interpretation is *not* the same as an at-all-times relation""" ;
283-
rdfs:label "axiom holds for all times"@en .
284-
285-
286-
### Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi
250+
### Generated by the OWL API (version 4.5.29) https://github.com/owlcs/owlapi

src/imports/RO-imports-extracted.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
http://purl.obolibrary.org/obo/RO_0000056
22
http://purl.obolibrary.org/obo/RO_0000057
33
http://purl.obolibrary.org/obo/RO_0000087
4-
http://purl.obolibrary.org/obo/RO_0001900
5-
http://purl.obolibrary.org/obo/RO_0001901
64
http://purl.obolibrary.org/obo/RO_0002351
75
http://purl.obolibrary.org/obo/RO_0002410
86
http://purl.obolibrary.org/obo/RO_0002501

src/prov-mappings-edit.ttl

+3-7
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
a owl:Ontology;
1111
rdfs:label "Editor's file for PROV-BFO Mappings."@en ;
1212
rdfs:comment "Open this in Protege to view the full mapping in context. Test the mapping with the imports in this file. This keeps imports out of the release version."@en ;
13-
owl:versionInfo "2024-06-23"@en ;
14-
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
13+
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
1514
owl:imports <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl> , # Release version of PROV-BFO containing actual mappings
1615
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-ro-directmappings.ttl> , # Release version of PROV-RO containing actual mappings
1716
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-cco-directmappings.ttl> , # Release version of PROV-CCO containing actual mappings
@@ -25,13 +24,13 @@
2524
<http://www.w3.org/ns/prov-o-inverses>, # PROV Inverses
2625
<http://www.w3.org/ns/prov-dc>, # PROV Dublin Core
2726

28-
<https://raw.githubusercontent.com/BFO-ontology/BFO-2020/master/src/owl/bfo-core.ttl>, # BFO Core
27+
<http://purl.obolibrary.org/obo/bfo/2020/bfo-core.ttl>, # BFO Core
2928
# <http://purl.obolibrary.org/obo/bfo/2020/bfo.owl> , # BFO temporalized relations
3029

3130
# <http://purl.obolibrary.org/obo/ro/releases/2024-02-13/ro.owl> , # Don't import all of RO, only import dependent terms below:
3231
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl>, # RO imports
3332

34-
<https://raw.githubusercontent.com/CommonCoreOntology/CommonCoreOntologies/refs/tags/v2.0-2024-11-06/src/cco-merged/CommonCoreOntologiesMerged.ttl>, # CCO
33+
<https://www.commoncoreontologies.org/2024-11-06/CommonCoreOntologiesMerged> , # CCO
3534

3635
# Test instances
3736
<https://www.w3.org/TR/prov-o/example-1.ttl> ,
@@ -55,8 +54,5 @@
5554
# <http://www.w3.org/ns/sosa/prov> ,
5655
# <http://www.w3.org/ns/sosa/> ,
5756
# <http://example.org/om-20> ;
58-
# <http://example.org/model> ;
59-
60-
# <http://maven.renci.org/NeuroBridge/neurobridge> ;
6157

6258
.

0 commit comments

Comments
 (0)