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

Create two functions to add startDate and endDate #15

Open
YetAnotherJonWilson opened this issue Sep 10, 2022 · 0 comments
Open

Create two functions to add startDate and endDate #15

YetAnotherJonWilson opened this issue Sep 10, 2022 · 0 comments

Comments

@YetAnotherJonWilson
Copy link
Collaborator

YetAnotherJonWilson commented Sep 10, 2022

Determine if this function will automatically add the predicate ldp:Contains to our periodTracker container. If not, we might need to figure out how to do that first, and create an issue for it.

How to do this with solid-client should be found here: https://docs.inrupt.com/developer-tools/javascript/client-libraries/tutorial/read-write-data/

Currently, I'm thinking we can just create an array of objects like this: [{schema.org/startDate: [Date], schema.org/endDate: [Date]}, {...}, {...}]

We'll probably want to add more data later, here's one resource that discusses different data to track and why, and also lists some apps and briefly compares the data they track: https://www.allaboutwomenmd.com/knowledge-center/tracking-your-period.html

One possible issue related to RDF data: 1) the schema.org startDate and endDate data types have a list titled "Used on these types", with entries like "Event" or "Schedule"--do we need to use these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant