earthcubearchitecture-project418 / p418Vocabulary

Vocabulary + HTML for describing the schema.org extension
https://geodex.org/voc/
6 stars 4 forks source link

Add SWEET ontology to vocabulary prefixes #6

Closed ashepherd closed 6 years ago

ashepherd commented 6 years ago

@fils, here is an example of how to point to a geologic time period/age

@prefix sweet-trela: <http://sweetontology.net/relaTime/> .
@prefix sweet-stime: <http://sweetontology.net/stateTime/> .
@prefix sweet-ptime: <http://sweetontology.net/stateTimeGeologic/> .
_:dataset sweet-trela:hasDuration sweet-ptime:Neoproterozoic

Geologic time periods, eras, eons, eposh, ages, etc. have owl:NamedIndividual representations at: https://github.com/ESIPFed/sweet/blob/a59aaa1dc5833d88b2dd4eec65b0dc1f2358c2f0/src/stateTimeGeologic.ttl

Research Notes that helped define how to use SWEET for describing a geologic time period

@prefix stime: <http://sweetontology.net/stateTime/> .
@prefix ptime: <http://sweetontology.net/stateTimeGeologic/> .
@prefix time: <http://sweetontology.net/propTime/> .
@prefix trela: <http://sweetontology.net/relaTime/> .

###  http://sweetontology.net/relaTime/hasDuration
trela:hasDuration rdf:type owl:ObjectProperty ;
                  rdfs:range time:Duration .
###  http://sweetontology.net/relaTime/hasTime
trela:hasTime rdf:type owl:ObjectProperty ;
              rdfs:range time:Time .
###  http://sweetontology.net/relaTime/hasTimeReference
trela:hasTimeReference rdf:type owl:ObjectProperty ;
                       rdfs:range trep:TimeReference .

###  http://sweetontology.net/stateTime/GeologicTimeUnit
stime:GeologicTimeUnit rdf:type owl:Class ;
                       rdfs:subClassOf time:Duration .

###  http://sweetontology.net/stateTime/Age
stime:Age rdf:type owl:Class ;
          rdfs:subClassOf stime:GeologicTimeUnit ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty trela:temporalPartOf ;
                            owl:someValuesFrom stime:Epoch
                          ] .

###  http://sweetontology.net/stateTime/Epoch
stime:Epoch rdf:type owl:Class ;
            rdfs:subClassOf stime:GeologicTimeUnit ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty trela:temporalPartOf ;
                              owl:someValuesFrom stime:Period
                            ] .
###  http://sweetontology.net/stateTime/Period
stime:Period rdf:type owl:Class ;
             rdfs:subClassOf stime:GeologicTimeUnit ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty trela:temporalPartOf ;
                               owl:someValuesFrom stime:Era
                             ] .

###  http://sweetontology.net/stateTime/Era
stime:Era rdf:type owl:Class ;
          rdfs:subClassOf stime:GeologicTimeUnit ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty trela:temporalPartOf ;
                            owl:someValuesFrom stime:Eon

###  http://sweetontology.net/stateTime/Eon
stime:Eon rdf:type owl:Class ;
          rdfs:subClassOf stime:GeologicTimeUnit ,
                          [ rdf:type owl:Restriction ;
                            owl:onProperty trela:temporalPartOf ;
                            owl:someValuesFrom stime:Supereon
                          ] .

###  http://sweetontology.net/stateTime/Supereon
stime:Supereon rdf:type owl:Class ;
               rdfs:subClassOf stime:GeologicTimeUnit .

###  http://sweetontology.net/stateTime/GeologicTimeUnit
stime:GeologicTimeUnit rdf:type owl:Class ;
                       rdfs:subClassOf time:Duration .
ashepherd commented 6 years ago

@fils, here is an example of using SWEET knowledge domains:

@prefix sweet-rela: <http://sweetontology.net/rela/> .
@prefix sweet-doma: <http://sweetontology.net/humanKnowledgeDomain/> .

_:dataset sweet-rela:hasRealm sweet-doma:Biogeochemistry , sweet-doma:Oceanography .

https://github.com/ESIPFed/sweet/blob/a59aaa1dc5833d88b2dd4eec65b0dc1f2358c2f0/src/humanKnowledgeDomain.ttl

ashepherd commented 6 years ago

Added knowledge domain example to publishing docs in commit: https://github.com/earthcubearchitecture-project418/p418Vocabulary/commit/e3feb26420fcf2794e35ff043b082125cb252691