Skip to content

Commit

Permalink
Add prov:Bundle mapping, fix minor typos, add SSSOM
Browse files Browse the repository at this point in the history
  • Loading branch information
tmprd committed Jan 18, 2025
1 parent a7b7bbd commit 632ece9
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 7 deletions.
17 changes: 13 additions & 4 deletions prov-bfo-directmappings.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ prov:InstantaneousEvent rdf:type owl:Class .
rdfs:comment "A prov:InstantaneousEvent is equivalent to a process boundary because it is referred to as the boundary (start or end) of a prov:Activity as an occurrent."@en .


prov:Bundle rdf:type owl:Class .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:Bundle ;
owl:annotatedProperty rdfs:subClassOf ;
owl:annotatedTarget obo:BFO_0000031 ;
sssom:object_label "generically dependent continuant" ;
rdfs:comment "A prov:Bundle exists in virtue of the fact that there is at least one of what may be multiple copies; it is the content or the pattern that the multiple copies share."@en .


prov:Plan rdf:type owl:Class .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:Plan ;
Expand Down Expand Up @@ -167,11 +176,11 @@ prov:DictionaryInvolvement rdf:type owl:Class .


# PROV object property mappings
prov:hadMember rdf:type owl:ObjectProperty . obo:BFO_00000178 rdf:type owl:ObjectProperty .
prov:hadMember rdf:type owl:ObjectProperty . obo:BFO_0000178 rdf:type owl:ObjectProperty .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:hadMember ;
owl:annotatedProperty rdfs:subPropertyOf ;
owl:annotatedTarget obo:BFO_00000178 ;
owl:annotatedTarget obo:BFO_0000178 ;
sssom:object_label "has continuant part" ;
rdfs:comment "A prov:Collection that has member some prov:Entity also has it as a continuant part."@en .

Expand Down Expand Up @@ -294,11 +303,11 @@ prov:hadUsage rdf:type owl:ObjectProperty . obo:BFO_0000121 rdf:type owl:ObjectP


# PROV-Dictionary object property mappings
prov:hadDictionaryMember rdf:type owl:ObjectProperty . obo:BFO_00000178 rdf:type owl:ObjectProperty .
prov:hadDictionaryMember rdf:type owl:ObjectProperty . obo:BFO_0000178 rdf:type owl:ObjectProperty .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:hadDictionaryMember ;
owl:annotatedProperty rdfs:subPropertyOf ;
owl:annotatedTarget obo:BFO_00000178 ;
owl:annotatedTarget obo:BFO_0000178 ;
sssom:object_label "has continuant part (at some time)" ;
rdfs:comment "A prov:Dictionary has a prov:Key-Entity Pair as a member, then it has it as a continuant part."@en .

Expand Down
15 changes: 12 additions & 3 deletions prov-cco-directmappings.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ prov:Person rdf:type owl:Class .
owl:annotatedTarget [ owl:intersectionOf ( cco:ont00001262
prov:Agent)] ;
sssom:object_label "Person" ;
rdfs:comment "Every prov:Person is both a prov:Agent and a cco:ont00001262. However, not every cco:ont00001262 is a prov:Agent or cco:ont00001017. So, prov:Person and cco:ont00001262 are not coextensive."@en .
rdfs:comment "Every prov:Person is both a prov:Agent and a CCO Person. However, not every CCO Person is a prov:Agent or CCO Agent. So, prov:Person and CCO Person are not coextensive."@en .


prov:Organization rdf:type owl:Class .
Expand All @@ -58,16 +58,25 @@ prov:Organization rdf:type owl:Class .
owl:annotatedTarget [ owl:intersectionOf ( cco:ont00001180
prov:Agent)] ;
sssom:object_label "Organization" ;
rdfs:comment "Every prov:Organization is both a prov:Agent and a cco:ont00001180. However, not every cco:ont00001180 is a prov:Agent or cco:ont00001017. So, prov:Organization and cco:ont00001180 are not coextensive."@en .
rdfs:comment "Every prov:Organization is both a prov:Agent and a CCO Organization. However, not every CCO Organization is a prov:Agent or CCO Agent. So, prov:Organization and CCO Organization are not coextensive."@en .


prov:Bundle rdf:type owl:Class .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:Bundle ;
owl:annotatedProperty rdfs:subClassOf ;
owl:annotatedTarget cco:ont00000958 ;
sssom:object_label "Information Content Entity" ;
rdfs:comment "A prov:Bundle is information content which is about entities."@en .


prov:Plan rdf:type owl:Class .
[] rdf:type owl:Axiom ;
owl:annotatedSource prov:Plan ;
owl:annotatedProperty rdfs:subClassOf ;
owl:annotatedTarget cco:ont00000958 ;
sssom:object_label "Information Content Entity" ;
rdfs:comment "Plans are information content which are about entities. prov:Plan is similar to cco:ont00000974, except that PROV explicitly does not constrain the type of information content that prov:Plans consist of."@en .
rdfs:comment "A prov:Plan is information content which is about entities prov:Plan is similar to CCO Plan, except that PROV explicitly does not constrain the type of information content that PROV plans consist of."@en .


prov:Start rdf:type owl:Class .
Expand Down
52 changes: 52 additions & 0 deletions src/prov-bfo-mappings.sssom.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
subject_id,subject_label,predicate_id,object_id,object_label,mapping_justification
http://www.w3.org/ns/prov#alternateOf,alternateOf,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002559,causally influenced by,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#influencer,influencer,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002410,causally related to,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#used,used,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#used,used,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedStart,qualifiedStart,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedAssociation,qualifiedAssociation,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedCommunication,qualifiedCommunication,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasDerivedFrom,wasDerivedFrom,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002559,causally influenced by,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasEndedBy,wasEndedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasEndedBy,wasEndedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasAttributedTo,wasAttributedTo,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002559,causally influenced by,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#invalidated,invalidated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#invalidated,invalidated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#generated,generated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#generated,generated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasInfluencedBy,wasInfluencedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002410,causally related to,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadUsage,hadUsage,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadMember,hadMember,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002351,has member,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadGeneration,hadGeneration,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#influenced,influenced,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002410,causally related to,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadActivity,hadActivity,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasAssociatedWith,wasAssociatedWith,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasAssociatedWith,wasAssociatedWith,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#activity,activity,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedInfluence,qualifiedInfluence,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002410,causally related to,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasInformedBy,wasInformedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0002501,causal relation between processes,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasStartedBy,wasStartedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasStartedBy,wasStartedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasGeneratedBy,wasGeneratedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000056,participates in,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasInvalidatedBy,wasInvalidatedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/RO_0000056,participates in,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasInvalidatedBy,wasInvalidatedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000056,participates in,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadGeneration,hadGeneration,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000121,has temporal part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#generated,generated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#KeyEntityPair,Key-Entity Pair,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000031,generically dependent continuant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#invalidated,invalidated,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasEndedBy,wasEndedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#Bundle,Bundle,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000031,generically dependent continuant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#DictionaryInvolvement,,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000003,occurrent,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadUsage,hadUsage,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000121,has temporal part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedEnd,qualifiedEnd,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000121,has temporal part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#used,used,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#Dictionary,Dictionary,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000031,generically dependent continuant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasGeneratedBy,wasGeneratedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000056,participates in,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedUsage,qualifiedUsage,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000121,has temporal part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadMember,hadMember,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000178,has continuant part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#Role,Role,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000023,role,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasAssociatedWith,wasAssociatedWith,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#Plan,Plan,http://www.w3.org/2000/01/rdf-schema#subClassOf,http://purl.obolibrary.org/obo/BFO_0000031,generically dependent continuant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#wasStartedBy,wasStartedBy,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000057,has participant,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#hadDictionaryMember,hadDictionaryMember,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000178,has continuant part,https://w3id.org/semapv/vocab/ManualMappingCuration
http://www.w3.org/ns/prov#qualifiedStart,qualifiedStart,http://www.w3.org/2000/01/rdf-schema#subPropertyOf,http://purl.obolibrary.org/obo/BFO_0000121,has temporal part,https://w3id.org/semapv/vocab/ManualMappingCuration
File renamed without changes.
5 changes: 5 additions & 0 deletions src/sparql/get-mappings.rq
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ SELECT DISTINCT ?subject_id ?subject_label ?predicate_id ?object_id ?object_labe
# mapping destination
FILTER( STRSTARTS( STR(?object_id), str(bfo:) ) || STRSTARTS( STR(?object_id), str(ro:) ) ) .

# mapping justification
VALUES (?mapping_justification) {
("https://w3id.org/semapv/vocab/ManualMappingCuration")
}

OPTIONAL { ?subject_id rdfs:label ?subject_label } .
OPTIONAL { ?object_id rdfs:label ?object_label } .
}

0 comments on commit 632ece9

Please sign in to comment.