Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added spec entry class #1161

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions ontologies/gistCore.ttl
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# imports: https://w3id.org/semanticarts/ontology/operators1.0.0

@prefix gist: <https://w3id.org/semanticarts/ns/ontology/gist/> .
@prefix gistd: <https://w3id.org/semanticarts/ns/data/gist/> .
@prefix ops: <https://w3id.org/semanticarts/ns/ontology/operators/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Expand All @@ -10,6 +13,7 @@

<https://w3id.org/semanticarts/ontology/gistCore>
a owl:Ontology ;
owl:imports <https://w3id.org/semanticarts/ontology/operators1.0.0> ;
owl:versionIRI <https://w3id.org/semanticarts/ontology/gistCoreX.x.x> ;
skos:definition "gist is a minimalist upper ontology created by Semantic Arts."^^xsd:string ;
skos:historyNote """
Expand Down Expand Up @@ -1721,6 +1725,44 @@ gist:ServiceSpecification
skos:prefLabel "Service Specification"^^xsd:string ;
.

gist:SpecEntry
a owl:Class ;
rdfs:seeAlso <https://github.com/semanticarts/operators-ontology> ;
owl:equivalentClass [
a owl:Class ;
owl:intersectionOf (
gist:Specification
[
a owl:Restriction ;
owl:onProperty gist:hasAspect ;
owl:someValuesFrom gist:Aspect ;
]
[
a owl:Restriction ;
owl:onProperty ops:hasSpecifiedValue ;
owl:someValuesFrom [
a owl:Class ;
owl:unionOf (
gist:Category
gist:Magnitude
) ;
] ;
]
) ;
] ;
skos:definition "A specification of a set of acceptable values for a particular aspect indicating what it means to be in spec for that aspect."^^xsd:string ;
skos:example
"The aspect width must be greater or equal to 4 inches and less than 10 inches. In this case there would be two triples linking the spec entry to values using subproperties of specifiedValue - one for expressing greater or equal to 4 inches and one for expressing less than 10 inches."^^xsd:string ,
"The specification for a smartphone model might have three spec entries, one for weight (= 15 oz), one for color (red or blue) and one for battery life (between 12 & 14 hours)."^^xsd:string
;
skos:prefLabel "Spec Entry"^^xsd:string ;
skos:scopeNote
"An individual spec entry will typically be one of several that makes up an overall specification of something with various aspects."^^xsd:string ,
"In addition to ordinary numerical scales, sets of acceptable values may also come from nominal or ordinal scales of measure."^^xsd:string ,
"Often a spec entry will specify what is required, allowed or promised, but it could also be used to specify what is disallowed."^^xsd:string
;
.

gist:Specification
a owl:Class ;
rdfs:subClassOf gist:Intention ;
Expand Down Expand Up @@ -2845,6 +2887,16 @@ gist:hasUnitOfMeasure
skos:prefLabel "has unit of measure"^^xsd:string ;
.

gist:hasValueEqualToOneOf
a owl:ObjectProperty ;
rdfs:subPropertyOf ops:hasSpecifiedValue ;
skos:definition "Relates a specification to a collection of values, one of which a characteristic must be equal to."^^xsd:string ;
skos:editorialNote "If this operator is added to the operators ontology in the future, update gist core to use the ops namespace instead of gist for the hasValueEqualToOneOf property."^^xsd:string ;
skos:example "The color of something must be blue or red."^^xsd:string ;
skos:prefLabel "has value equal to one of"^^xsd:string ;
skos:scopeNote "This adds to the set of operators defined in the imported operators ontology."^^xsd:string ;
.

gist:idText
a owl:DatatypeProperty ;
rdfs:range xsd:string ;
Expand Down