-
Notifications
You must be signed in to change notification settings - Fork 825
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
@type is missing "Health and Wellness" #3478
Comments
There's SportsClub, though if you want to be even more specific you can always express a multi-typed entity like: As for what any plugin providers may or may not support, it's not up to this vocabulary's community to get involved in that. You will have to get in touch with the developers of the respective plugins to discuss any wishes you have. |
Hi Jarno (@jvandriel)! So in the Ontotext KG we disregard the above schema declaration, and would split them as follows: "@type": "SportsClub",
"additionalType": "http://www.wikidata.org/entity/Q1065656" |
Interesting comment @VladimirAlexiev! Would the outcome have been any different if I had used DBPedia or ProductOntology URIs instead? For example:
or
|
Hi @jvandriel ! You should NOT use
BTW, status of some other DBPedia public services:
|
I am a bit unclear on all this. Is this the correct text that should appear in my schema (or something else?) "@type": ["SportsClub","http://dbpedia.org/resource/Health_club"] |
URIs from http://www.productontology.org solve exactly this problem. They are defined as proper classes on the basis of Wikipedia lemmata and hence avoid all of the problems sketched above. |
Taking all the comments into account the correct answer is... 😉
|
Though if you don't mind me asking, in your opinion, how would you suggest using WikiData or DBPedia concept URIs (besides as |
You could define your own So similar to what www.productontology.org is doing, except for two differences
This class definition could actually be part of your own markup on the respective page or defined for an entire Website in a JSON-LD script element. But don't expect major search engines to understand this approach, because there will be too much indirection and complexity for processing this at scale. It may be useful for academic prototypes, proofs of concept, or other purposes (e.g. intelligent Web analytics), An example of such a class definition is e.g. in http://www.productontology.org/doc/Racing_bicycle.ttl. |
Yes, exactly. And don't be irritated that the PTO classes make it a product, too. Because actually, a product in GoodRelations and schema.org is at its core a role that some thing can have. Obviously, you can offer a Restaurant for sale. Or a MedicalScholarlyArticle. Or a Painting. So practically, using the URIs from www.productontology.org is the best way to go, IMO. BTW, I have plans to update this service, just too busy these days. But it will be done. |
For others who end up here: The basic problems and principles are explained in the www.productontology.org FAQs. |
Thanks for that @mfhepp. I wasn't asking because of anything search engine-related though. I'm well aware that making statements beyond what they have documented has very little chance of being used by them. That doesn't mean I can't try to learn more and attempt to provide useful markup in other ways as well. Who knows if it might be useful somehow in the future (I know, I'm a geek). |
Would this also be correct? The company is comprised of many personal trainers and nutritionists. I have yet to find any way to properly classify them. "@type": ["SportsClub","http://www.productontology.org/id/Personal_trainer"], Maybe, I can add an additional "alternate" (they also are nutritionists.) Is this possible? Also on the page http://www.productontology.org/doc/Personal_trainer, it does not include a usage that includes the most common way I see this discussed on the web, namely using json, like this: <script type="application/ld json">{"@context":"https://schema.org", "@type": ["SportsClub","http://www.productontology.org/id/Personal_trainer"], etc. |
I like the idea of decentralizing the "list" - linking to Wikipedia makes sense - especially if using multiple types is possible. No single classification can be applied to most businesses I work with. But unfortunately Wikipedia "types" are singular. I think the best thing that you folks can do is provide guidance on using your schema to Web Developers and Web Designers. There just is no good documentation out there anywhere (that I could find.) |
This issue is being nudged due to inactivity. |
Without this type, there is no way to add a Gym, Health Club, or Fitness Studio. It is not OK (because they are neither "Health" related or "Beauty" related - not really) to have it be a sub-type and anyway most schema plugins do not support sub-types. Maybe instead, you can change the type to "Health, Wellness and Beauty" - that would work.
The text was updated successfully, but these errors were encountered: