Skip to content

Commit

Permalink
Merge pull request #532 from CommonCoreOntology/#530-#529-#501-#494-#458
Browse files Browse the repository at this point in the history
--annotation-changes-for-1.7

Fixes #530, #529, #501, #494, #458
  • Loading branch information
mark-jensen authored Nov 4, 2024
2 parents 9d16e65 + 5dbff3d commit c57a346
Show file tree
Hide file tree
Showing 15 changed files with 15,741 additions and 15,631 deletions.
8 changes: 4 additions & 4 deletions .github/deployment/sparql/duplicate_definition.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# Severity:
# Error

PREFIX cco: <http://www.ontologyrepository.com/CommonCoreOntologies/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT ?element ?definition ?error
WHERE {
?element cco:definition ?definition .
?element2 cco:definition ?definition .
?element skos:definition ?definition .
?element2 skos:definition ?definition .
FILTER (?element != ?element2)
FILTER (!isBlank(?element))
BIND (concat("WARNING: The following ontology elements have the same cco:definition ", str(?element), " and ", str(?element2)) AS ?error)
}
}
4 changes: 2 additions & 2 deletions .github/deployment/sparql/min_1_eng_def.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cco: <http://www.ontologyrepository.com/CommonCoreOntologies/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

SELECT DISTINCT ?resource ?label ?error
WHERE {
VALUES ?type {owl:Class owl:ObjectProperty}
?resource a ?type .
OPTIONAL {
?resource cco:definition ?englishDefinition .
?resource skos:definition ?englishDefinition .
FILTER (langMatches(lang(?englishDefinition), "en"))
}
FILTER(!bound(?englishDefinition))
Expand Down
344 changes: 166 additions & 178 deletions src/cco-extensions/ModalRelationOntology.ttl

Large diffs are not rendered by default.

26,881 changes: 13,515 additions & 13,366 deletions src/cco-merged/CommonCoreOntologiesMerged.ttl

Large diffs are not rendered by default.

318 changes: 160 additions & 158 deletions src/cco-modules/AgentOntology.ttl

Large diffs are not rendered by default.

1,289 changes: 645 additions & 644 deletions src/cco-modules/ArtifactOntology.ttl

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/cco-modules/CurrencyUnitOntology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .

@base <http://www.ontologyrepository.com/CommonCoreOntologies/Mid/CurrencyUnitOntology> .
Expand All @@ -26,8 +27,8 @@
### http://www.ontologyrepository.com/CommonCoreOntologies/CurrencyUnit
cco:CurrencyUnit rdf:type owl:Class ;
rdfs:subClassOf cco:MeasurementUnit ;
cco:definition "A Measurement Unit used in measurements of financial values."@en ;
cco:example_of_usage "U.S. Dollar, Euro, Yuan, South African Rand" ;
skos:definition "A Measurement Unit used in measurements of financial values."@en ;
skos:example "U.S. Dollar, Euro, Yuan, South African Rand" ;
cco:is_curated_in_ontology "http://www.ontologyrepository.com/CommonCoreOntologies/Mid/CurrencyUnitOntology"^^xsd:anyURI ;
rdfs:label "Measurement Unit of Currency"@en .

Expand Down
815 changes: 408 additions & 407 deletions src/cco-modules/EventOntology.ttl

Large diffs are not rendered by default.

179 changes: 71 additions & 108 deletions src/cco-modules/ExtendedRelationOntology.ttl

Large diffs are not rendered by default.

195 changes: 98 additions & 97 deletions src/cco-modules/FacilityOntology.ttl

Large diffs are not rendered by default.

147 changes: 74 additions & 73 deletions src/cco-modules/GeospatialOntology.ttl

Large diffs are not rendered by default.

457 changes: 229 additions & 228 deletions src/cco-modules/InformationEntityOntology.ttl

Large diffs are not rendered by default.

264 changes: 132 additions & 132 deletions src/cco-modules/QualityOntology.ttl

Large diffs are not rendered by default.

121 changes: 61 additions & 60 deletions src/cco-modules/TimeOntology.ttl

Large diffs are not rendered by default.

345 changes: 173 additions & 172 deletions src/cco-modules/UnitsOfMeasureOntology.ttl

Large diffs are not rendered by default.

0 comments on commit c57a346

Please sign in to comment.