Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draft JSON specification, round 2

Dear all,
On 21/04/17 08:58, James Hester wrote:> (1): crystallographic data are the values taken by datanames defined> in CIF dictionaries ("semantic approach")> (2): crystallographic data are the values taken by datanames defined> in CIF dictionaries in files with CIF syntax ("syntactic approach")
the distinction here is well expressed and it explains the divergencebetween "lightweight" and "high fidelity" approaches. However, as notedby James, semantic representations of uncertainties and two flavors ofnull yet have to be devised.
> I don't think round tripping is a worthwhile goal (but please provide> a use case if you think it is), nor compromising on the advantages> that JSON gives us by making the JSON unwieldy.
We have devised our COD-JSON format for three reasons: (i) to passparsed CIF data to scripts in programming languages that do not have CIFparsers, (ii) to avoid multiple CIF parsing in pipelines (JSON parsingis somewhat faster than CIF) and (iii) to experiment with CIF data indocument-oriented databases. Applications (i) and (ii) benefit from thesyntactic approach, especially if they output CIF (we would like to haveit as similar to the original as possible). For application (iii)semantic approach should be sufficient.
In addition, I believe that CIF validators will need the syntacticapproach as they have to check data types, whether certain data itemscan have precisions or be in a loop and so on. However, probably mostCIF validators will analyze data in CIF format, not JSON.
Best wishes,Andrius
-- Andrius MerkysPhD student at Vilnius University Institute of Biotechnology, Saulėtekio al. 7, V325LT-10257 Vilnius, LithuaniaLecturer at Vilnius University Faculty of Mathematics and Informatics, Naugarduko g. 24LT-03225 Vilnius, Lithuania

_______________________________________________cif-developers mailing listcif-developers@iucr.orghttp://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.