-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EOL JSON-LD not valid #139
Comments
Is there anyone at EoL reading these issues? As far I understand from the trait bank pages, it is only accessible through this JSON-LD API. But any JSON-LD parser will fail trying to parse this flawed JSON-LD content. Does anyone care? How to spur new usages of the trait bank if its API is not complying with standards? Please help. Franck. |
Please hang in there, @frmichel! The pseudo-JSON-LD is a relic of EOL v2. We should have some of the v3 services up in beta shortly, ready for feedback. |
@jhammock this is great news. Any mailing list or github issue where I should look at for updates about this?
I get that, only it would be fine if you guys could reply to the open issues about this topic, even if this is just to say "hey be patient, we are working on that" ;) Franck. |
Not sure what you mean by ''standing up the services"? The queries we talked about can run against your existing neo4j instance. The EOL neo4j already has the service that is needed (Cypher transactional endpoint), so what remains to do is neo4j account setup and query documentation (in progress). Unless I've missed some important piece, which is entirely possible. Our Feb 12 email exchange about there being no need for 'shim' services may be relevant - if access is via Cypher, then there is no other 'service' to 'stand up'. |
-> account setup, sorry |
Great. I don't think we'll need to rehearse account setup, and it doesn't matter to me whether I do it or I give instructions for someone else to do it. Just let me know when EE is ready. I can get started on a repository for documentation around user setup, and about other things I'm doing, regardless. |
The JSON-LD returned by trait bank fails when parsed by the JSON-LD playground, see http://tinyurl.com/hfoos6p
Here's an example http://eol.org/api/traits/10692652. JSON-LD playground complains about "@id": 10692652, an @id needs to be a string (ideally a URI). I would have thought that "http://eol.org/pages10692652" was the obvious value. Fixing that leads to a second problem,
causes the message Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and at most one other property which can be "@type" or "@language".
Deleting "gbif:isPreferredName": true fixes that. Once these bugs are fixed, the JSON-LD can be parsed OK.
The text was updated successfully, but these errors were encountered: