-
Notifications
You must be signed in to change notification settings - Fork 1
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
Proposal for a route format standard #2
Comments
For the people outside of our team (en2a), we were currently discussing how to store the media content, at this moment we consider a list. If you have any suggestion feel free to comment it :D |
A simpler version could be created with the use of ShEx. A route must contain a name, optionally it can have a description. The GeoCoordinates must have latitude, longitude and position. They can have as optional properties a name, altitude and a physical address. A userComment must contain the text of the comment, the time it was published and the author, being the last one a IRI to a pod profile shape. And finally, an Image or a Video must have an IRI to te resource, another IRI to the pod profile of the author and the time it was published
|
Team en_3a considers following this proposal so we can provide interoperability to our applications. |
The XML standard in this area is GPX https://en.wikipedia.org/wiki/GPS_Exchange_Format I played with this many years ago. This used a namespace One possibility is we could ask W3C to give us namespace like What you cannot do is just use the fields as though they are in the Schema.org namespace when they are not. We can go and ask them to put them in as a suggestion, but they would probably make up their own names for things in their own style. |
@timbl, thanks for the comments. About GPX, I agree that it would be great to support it. I added this specific issue to discuss how to support GPX in viadeSpec. Another decision is the namespace for the properties and entities employed, I think we should define our own namespace for new properties and maybe ask for the creation of a gpx namespace at W3C. I created another issue about this topic here Finally, I also agree about not inventing new schema.org properties. We changed the properties that we found that didn't appear in schema.org by properties in a viade namespace and also repaired the Shape Expression. We also created a simple Turtle example of a route and added a link to show how it can be validated with ShEx. |
@UO258425 @luispc1998 Most of the mandatory information looks good to me but, is it really necessary to have as a mandatory property the description? |
@MiguelRodriguezHuerta It may not be mandatory, what do you think @UO258425 @luispc1998 ? |
I think that with the name being mandatory it is enough, so the description can be optional. |
People don't usually fill the descriptions when uploading things, making them mandatory would be like asking people to make "asdasda" alike descriptions. I also support them being optional. My team right now is working with an object route with optional descriptions. |
In the shape expression the |
Proposal for a route format
The use of a subset of the existing "Trip" scheme from schema.org is proposed to structure the route data
I have tried to reduce the number of properties to the minimum possible, but always with the future in mind in order to extend it in the future if changes arise that would make us require more information
Next, the schemes used that will make up the route are broken down. At the end of the document you can see two examples of routes
Already existing schemas and fields in use
As the web Schema.org says:
To define the route, existing schema.org schemes have been used. This allows us to create a format that is compatible with existing structured data.
A property name in bold means that it is mandatory to define the route
Trip
Complete schema: Trip
GeoCoordinates
Complete schema: GeoCoordinates
ImageObject
Complete schema: ImageObject
ItemList
Complete schema: ItemList
Example of a complete route
Example of a minimum route
An example of a route in RDF Triples
The minimum route from the examples in n-triples
The text was updated successfully, but these errors were encountered: