[Fiware-ngsi] Keyword to use as NGSI type to mean date

Fermín Galán Márquez fermin.galanmarquez at telefonica.com
Thu May 26 18:05:27 CEST 2016


Hi,

Thank you very much for the feeback.

Given that at the end the idea is the same (to use a common schema) and that we are already aligning with Schema.org in other places (pe. dateCreated and dateModified), we will finally use "DateTime".

The change is implemented in this PR: https://github.com/telefonicaid/fiware-orion/pull/2201 (*)

Best regards

------

Fermín

(*) This PR has been casted while the proof read PR (https://github.com/telefonicaid/fiware-orion/pull/2195) is still open. However, I don't expect any serious conflict at merging time, as the changes in #2201 a very minor.

El 23/05/2016 a las 11:19, JOSE MANUEL CANTERA FONSECA escribió:
The advantage of using ‘DateTime’ would be that it would make it easier the transition from context-less JSON documents to JSON-LD. Schema.org is well accepted by the JSON-LD community, so I think it is a good idea to go to that direction

In the end ‘http://www.w3.org/2001/XMLSchema#dateTime’ is presumably equivalent to ‘DateTime’ although I guess there can be subtleties …

best

De: <<mailto:fiware-ngsi-bounces at lists.fiware.org>fiware-ngsi-bounces at lists.fiware.org<mailto:fiware-ngsi-bounces at lists.fiware.org>> on behalf of Fermín Galán Márquez <<mailto:fermin.galanmarquez at telefonica.com>fermin.galanmarquez at telefonica.com<mailto:fermin.galanmarquez at telefonica.com>>
Fecha: lunes, 23 de mayo de 2016, 10:44
Para: "Federico M. Facca" <federico.facca at martel-innovate.com<mailto:federico.facca at martel-innovate.com>>
CC: "<mailto:fiware-ngsi at lists.fi-ware.org>fiware-ngsi at lists.fi-ware.org<mailto:fiware-ngsi at lists.fi-ware.org>" <fiware-ngsi at lists.fi-ware.org<mailto:fiware-ngsi at lists.fi-ware.org>>
Asunto: Re: [Fiware-ngsi] Keyword to use as NGSI type to mean date


Dear Federico,

Thanks for the feedback!

Actually, the idea is the same: to use a keyword from a well-known schema instead of using a made up keyword.

The difference is that we are using Schema.org as reference, insted of XMLSchema.

Best regards,

------

Fermín


El 19/05/2016 a las 17:57, Federico M. Facca escribió:
In light also of Linked data plans, the more we start from common schema, the better, because this will simplify serialisation. As far as in recall, in rdf basic datatypes are mapped onto <http://www.w3.org/2001/XMLSchema#> http://www.w3.org/2001/XMLSchema#

But things may have changed since the time I was working on the topic;)

Regards,
Federico

Fede's mobile edition

Dr. Federico Michele Facca
Head of Martel Lab

Martel Innovate
Dorfstrasse 73 - 3073 Gümligen<x-apple-data-detectors://1/0> (Switzerland)
0041 78 807 58 38<tel:0041%2078%20807%2058%2038>
0041 77 425 09 24<tel:0041%2077%20425%2009%2024>
martel-innovate.com<http://martel-consulting.ch/>

Il giorno 19-mag-2016, alle ore 17:16, Fermín Galán Márquez <fermin.galanmarquez at telefonica.com<mailto:fermin.galanmarquez at telefonica.com>> ha scritto:

Hi,

I has been mentioned (not sure in which particular email send by whom,
sorry...) that "date" is not the proper keyword to be used as NGSI type
to mean a date time in the NGSIv2 spec (see "Special attribute types"
section in http://telefonicaid.github.io/fiware-orion/api/v2/latest/).

One alternative could be to use "DateTime", that is the one used by
Schema.org<http://schema.org> (<https://schema.org/DateTime>https://schema.org/DateTime)

What do you think?

Thanks!

Best regards,

------

Fermín


________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org<http://lists.fiware.org> will be lost.
Please, send your messages using the new domain (Fiware-ngsi at lists.fiware.org<mailto:Fiware-ngsi at lists.fiware.org>) instead of the old one.
_______________________________________________
Fiware-ngsi mailing list
Fiware-ngsi at lists.fiware.org<mailto:Fiware-ngsi at lists.fiware.org>
https://lists.fiware.org/listinfo/fiware-ngsi


________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição


________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20160526/7068a0a8/attachment.html>


More information about the Fiware-ngsi mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy