Ontology design #17
timea-solid
started this conversation in
Ideas
Replies: 1 comment
-
Ok, to get going I settled on a first version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ontology design
Usually one starts designing an ontology based on the use cases it needs to serve. We have just a few basic use cases for now. The key is to create an ontology that is flexible enough to be extended and serve more use cases. That being said, one should not get stuck on deciding how the ontology looks because of decision paralysis. First versions will not be perfect and as with software, it will improve. It is really not easy to change an ontology but it is also not impossible, especially at the incipient phases of a product. Advice for starting: done is better than perfect.
This is a proposal for namespace of the data model (learn about how to design proper persistent URIs: https://philarcher.org/diary/2013/uripersistence/#intro)
PROPOSAL
App settings
In the future we can have settings for:
For now we do not really need them to get started.
The URI design could look like:
Period entries
PROPOSAL
Classes
<https://timea.solidcommunity.net/ontology#PeriodEntry> a owl:Class; rdfs:label "Period entry""@en .
Attributes
<https://timea.solidcommunity.net/ontology#startDate> a owl:DatatypeProperty; rdfs:label "Start date"@en; rdfs:range ^^xsd:dateTime .
<https://timea.solidcommunity.net/ontology#endDate> a owl:DatatypeProperty; rdfs:label "End date"@en; rdfs:range ^^xsd:dateTime .
<https://timea.solidcommunity.net/ontology#periodLength> a owl:DatatypeProperty; rdfs:label "Period length"@en; rdfs:range ^^xsd:integer .
Statistics
PROPOSAL for statistics
Classes
<https://timea.solidcommunity.net/ontology#PeriodStatistic> a owl:Class; rdfs:label "Period statistic"@en .
Attributes
<https://timea.solidcommunity.net/ontology#averageCycleLength> a owl:DatatypeProperty; rdfs:label "Average cycle length"@en; rdfs:range ^^xsd:integer .
<https://timea.solidcommunity.net/ontology#averagePeriodLength> a owl:DatatypeProperty; rdfs:label "Average period length"@en; rdfs:range ^^xsd:integer .
Classes
<https://timea.solidcommunity.net/ontology#CycleStatistic> a owl:Class; rdfs:label "Cylce statistic"@en .
Attributes
CycleLength = in days, from start of period till the start of next period
<https://timea.solidcommunity.net/ontology#cycleLength> a owl:DatatypeProperty; rdfs:label "Cycle length"@en; rdfs:range ^^xsd:integer .
PeriodLength
<https://timea.solidcommunity.net/ontology#periodLength> a owl:DatatypeProperty; rdfs:label "Period length"@en; rdfs:range ^^xsd:integer .
So what do you think? What is missing?
Beta Was this translation helpful? Give feedback.
All reactions