Giter VIP home page Giter VIP logo

Comments (4)

ldodds avatar ldodds commented on June 7, 2024 1

Another approach here is to say that a ride follows a specific route or course. The distance would then be a property of the route, which might also define its start and end points.

Some related discussion: schemaorg/schemaorg#1666

from modelling-opportunity-data.

peter-dolkens avatar peter-dolkens commented on June 7, 2024 1

Hi @nickevansuk - Why are we not using minValue/maxValue and instead going with a bespoke range property for this?

These would seem to stay within the schema.org spec to me:

// 0-5
"distance": {
  "type": "QuantitativeValue",
  "minValue": 0,
  "maxValue": 5,
  "unitCode": "KMT"
}

// 5
"distance": {
  "type": "QuantitativeValue",
  "value": 5,
  "unitCode": "KMT"
}

// 50+
"distance": {
  "type": "QuantitativeValue",
  "minValue": 50,
  "unitCode": "KMT"
}

from modelling-opportunity-data.

thadguidry avatar thadguidry commented on June 7, 2024 1

A new eventDistance property would be nice for lots of Events (annual pilgrimages, hikes) and not just SportsEvent (race).

Wikidata has now added this property as well:

  • event distance - distance over which a race or other event is conducted or was achieved

We already have duration so this seems a natural gap that needs filled.

from modelling-opportunity-data.

nickevansuk avatar nickevansuk commented on June 7, 2024

Makes sense to me, please do implement minValue and maxValue - these are more consistent with schema.org than my suggestion above.

from modelling-opportunity-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.