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

SportsEvent should also use the "sport" property #1951

Closed
vholland opened this issue Jun 14, 2018 · 5 comments
Closed

SportsEvent should also use the "sport" property #1951

vholland opened this issue Jun 14, 2018 · 5 comments
Assignees

Comments

@vholland
Copy link
Contributor

Currently, to say a World Cup game is a football/soccer game, one must list at least one team or competitor and then use the http://schema.org/sport property there. It would be nice to support the simplified case of:

{
  "@context": "http://schema.org/",
  "@type": "SportsEvent",
  "name": "World Cup 2018",
  "sport": "https://www.wikidata.org/wiki/Q2736",
  "startDate": "2018-06-14",
  "endDate": "2018-07-15"
}

To support this, we would need to add https://schema.org/SportsEvent to the domain.

@danbri
Copy link
Contributor

danbri commented Jun 18, 2018

seems useful, any objections?

@RichardWallis
Copy link
Contributor

+1

@vholland vholland self-assigned this Jun 21, 2018
@acumon
Copy link

acumon commented Mar 17, 2019

How about making the type of the sport property Thing instead of URL so that one can use the name property? the URL can also be passed by the "url" or "same_as" property.

@vholland
Copy link
Contributor Author

I submitted PR #2400 for the immediate change and suggested a new type in issue #2401

danbri pushed a commit that referenced this issue Jan 2, 2020
…port. (#2400)

* Issue #2341: Added SportsTeam to the domain for gender.

* Remove file added to wrong branch.

* Issue #1951: Added SportsEvent to the domain for https://schema.org/sport.
@vholland
Copy link
Contributor Author

Included in schema.org 6.0.

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

4 participants