Skip to content

Commit

Permalink
Merge pull request #37 from BFO-Mappings/update/cco-v2.0
Browse files Browse the repository at this point in the history
Update CCO to v2.0-2024-11-06
  • Loading branch information
tmprd authored Nov 24, 2024
2 parents 6fcf7d8 + cae2fe7 commit a7b7bbd
Show file tree
Hide file tree
Showing 14 changed files with 20,744 additions and 18,225 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
Tim Prudhomme, Giacomo De Colle, Austin Liebers, Alec Sculley, Karl Xie, Sydney Cohen, and John Beverley

# How to cite
Please cite "Mapping PROV-O to BFO" using the DOI https://doi.org/10.5281/zenodo.11338700.
Please cite "Mapping the Provenance Ontology to Basic Formal Ontology" using the DOI https://doi.org/10.5281/zenodo.11338700.
2 changes: 1 addition & 1 deletion example-usage/example-ontology-full-imports.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<http://www.semanticweb.org/tim/ontologies/2024/8/example-ontology-full-imports> rdf:type owl:Ontology ;
owl:imports <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-cco-directmappings.ttl> ,
<https://raw.githubusercontent.com/CommonCoreOntology/CommonCoreOntologies/refs/tags/v1.6-2024-09-26/src/cco-merged/CommonCoreOntologiesMerged.ttl> ,
<https://raw.githubusercontent.com/CommonCoreOntology/CommonCoreOntologies/refs/tags/v2.0-2024-11-06/src/cco-merged/CommonCoreOntologiesMerged.ttl> ,
<https://www.w3.org/ns/prov> ;
rdfs:comment "This example ontology demonstrates an import of the PROV-CCO mapping, combined with an import of the PROV and CCO ontologies." .

Expand Down
3 changes: 1 addition & 2 deletions prov-bfo-directmappings.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl>
a owl:Ontology;
rdfs:label "Basic Formal Ontology (BFO) ISO 21838-2:2020 mappings for W3C PROVenance Interchange Ontology (PROV-O)"@en ;
owl:versionInfo "2024-06-23"@en ;
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
dc:contributor "Tim Prudhomme", "Giacomo De Colle" , "Austin Liebers" , "Alec Sculley" , "Peihong Karl Xie", "Sydney Cohen", "John Beverley" ;
dc:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
prov:wasDerivedFrom <http://www.w3.org/ns/prov> ,
Expand Down
147 changes: 73 additions & 74 deletions prov-cco-directmappings.ttl

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions prov-ro-directmappings.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-ro-directmappings.ttl>
a owl:Ontology;
rdfs:label "Relation Ontology (RO) mappings for W3C PROVenance Interchange Ontology (PROV-O)"@en ;
owl:versionInfo "2024-06-23"@en ;
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-10-05> ;
owl:versionIRI <https://github.com/BFO-Mappings/PROV-to-BFO/releases/tag/v2024-11-23> ;
owl:imports <https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl> ;
rdfs:comment "This mapping depends on the imported PROV-O to BFO mapping." ;
dc:contributor "Tim Prudhomme", "Giacomo De Colle" , "Austin Liebers" , "Alec Sculley" , "Peihong Karl Xie", "Sydney Cohen", "John Beverley" ;
Expand Down
5 changes: 3 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ endef

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

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


# --------------------------------------------------------------------------------
Expand Down
542 changes: 542 additions & 0 deletions src/archive/prov-cco-v1.7-directmappings.ttl

Large diffs are not rendered by default.

1,996 changes: 1,996 additions & 0 deletions src/build/scripts/iri-mapping-v2.0.csv

Large diffs are not rendered by default.

13 changes: 5 additions & 8 deletions src/catalog-v001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-bfo-directmappings.ttl" uri="../prov-bfo-directmappings.ttl"/>
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-ro-directmappings.ttl" uri="../prov-ro-directmappings.ttl"/>
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/prov-cco-directmappings.ttl" uri="../prov-cco-directmappings.ttl"/>

<!-- Cached ontologies -->
<!-- <uri name="https://raw.githubusercontent.com/BFO-ontology/BFO-2020/master/src/owl/bfo-core.ttl" uri="imports/BFO/bfo-core.ttl"/> -->
<uri name="https://raw.githubusercontent.com/CommonCoreOntology/CommonCoreOntologies/refs/tags/v1.6-2024-09-26/src/cco-merged/CommonCoreOntologiesMerged.ttl" uri="imports/BFO/CommonCoreOntologiesMerged.ttl"/>
<uri name="https://www.commoncoreontologies.org/2024-11-06/CommonCoreOntologiesMerged" uri="imports/BFO/CommonCoreOntologiesMerged.ttl"/>
<uri name="http://purl.obolibrary.org/obo/bfo/2020/bfo-core.ttl" uri="imports/BFO/bfo-core.ttl"/>
<uri name="https://raw.githubusercontent.com/BFO-Mappings/PROV-to-BFO/main/src/imports/RO-imports-extracted.ttl" uri="imports/RO-imports-extracted.ttl"/>
<!-- Other ontologies -->
<uri name="http://www.w3.org/ns/sosa/prov" uri="imports/SSN/sosa-prov.ttl"/>
<uri name="http://www.w3.org/ns/sosa/" uri="imports/SSN/sosa.ttl"/>
<uri name="http://example.org/om-20" uri="examples/om-20.ttl"/>
<uri name="http://example.org/model" uri="examples/model.ttl"/>
<uri name="http://maven.renci.org/NeuroBridge/neurobridge" uri="examples/neurobridge_ontology_2023_07_12.owl"/>

<!-- Examples -->
<uri name="https://www.w3.org/TR/prov-o/example-1.ttl" uri="examples/example-1.ttl"/>
<uri name="https://www.w3.org/TR/prov-o/example-2.ttl" uri="examples/example-2.ttl"/>
Expand All @@ -31,4 +27,5 @@
<uri name="https://www.w3.org/TR/prov-dictionary/examples.ttl" uri="examples/prov-dictionary-examples.ttl"/>
<uri name="https://www.w3.org/TR/prov-links/examples.ttl" uri="examples/prov-links-examples.ttl"/>
<uri name="https://www.w3.org/TR/prov-dc/examples.ttl" uri="examples/prov-dc-examples.ttl"/>
<uri name="http://example.org/om-20" uri="examples/om-20.ttl"/>
</catalog>
Loading

0 comments on commit a7b7bbd

Please sign in to comment.