-
Notifications
You must be signed in to change notification settings - Fork 15
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
Allow RestrictedDiet to be a property of Person #133
Comments
|
How can I help add a new property to |
|
As discussed, some use-cases:
Essentially, this allows for the matching of a MenuItem and Recipe to a Person. |
|
It'll need to allow for multiple entries such as I think it'll probably be better to explicit list of items - possibly with classifications "must avoid" (i.e. life threatening allergies such as nuts and people who are actually celiac) and "strong preference to avoid" (i.e. "meat", gluten) and "would prefer to avoid" (I personally don't like tuna and would prefer a meal without it, but would eat it if it was one of the few things on offer). |
|
As @rbairwell touches on - I think it's worth remembering this is essentially part of a spectrum that starts with likes/dislikes (preference) and ends with life threatening allergies (medical). That's not to say they have to be solved simultaneously - but that they could be, and or could overlap. Saying that I don't have a solution to offer, but do agree that the proposal here from @edent seems like a good start that will cover a large number of uses. Musing only on allergies, especially as it's off topic for the ticket, perhaps medicalExclusion and medicalRequirement with values from recipeIngredient and ?substance? (the range involved is significant..) |
|
+1 to the general idea. Dietary issues can also be transient (e.g. no alcohol while I'm on these antibiotics/ until I reach my target weight) - so an "end date" attribute might be useful. |
|
Use case: As a meet-up organiser I want to know the dietary preferences of the people who are attending, so that I can serve vegetarian options, or provide alcoholic drinks. |
|
Use case: When looking for recipe ideas, I would want to filter possible recipes to exclude "must avoid" items for myself/family members, demote recipes which match peoples "preferences" and ideally promote recipes which match peoples preferences. |
|
See issue #7 for the context of the move from the main Schema.org issue tracker to this repository. |
|
I read the case. Knowing that a LinkedData pioneer whom I shared my office with for many years and who maintained python rdflib for years has a deadly peanut allergy, it would be cool to have apps that match Person to Food. This data could save lives, especially of developers of LinkedData. Today there is a lack of end-user apps using the linkeddata. Maybe this suggested property and some evangelizing by some of the above commenters is a drop of water in the ocean of linked data and apps we want to see. Why am I here? Out of curiosity for a field that I worked in for a decade I googled for "schema.org use cases" and interestingly, this issue ranked first page. |
As a vegetarian, I want to be able to record my dietary preferences in a semantic way.
According to https://schema.org/RestrictedDiet, it is only valid on
MenuItems&
Recipes:I'd like to say that I am a vegetarian. Something like:
The text was updated successfully, but these errors were encountered: