wikipathways / WpVocabularies

WikiPathways vocabularies for RDF representation
https://vocabularies.wikipathways.org/
Apache License 2.0
1 stars 3 forks source link

add Content Negotation support #11

Closed egonw closed 8 years ago

egonw commented 8 years ago

with:

nunogit commented 8 years ago

This problem is solved. The system now supports content negotiation with: text/html application/rdf+xml text/turtle

ariutta commented 8 years ago

Could we also get JSON-LD?

ariutta commented 8 years ago

These ontologies are on BioPortal:

http://bioportal.bioontology.org/ontologies/GPML http://bioportal.bioontology.org/ontologies/WIKIPATHWAYS http://bioportal.bioontology.org/ontologies/MIM

I had been using this URL to allow the GPML vocab to be made accessible as RDF/XML: http://rdf-translator.appspot.com/convert/rdfa/xml/http%3A%2F%2Fvocabularies.wikipathways.org%2Fgpml

Should I switch them to another URL now?

egonw commented 8 years ago

Yes, JSON-LD can be supported as well. Nuno, can you add that?

egonw commented 8 years ago

@nunogit, the MIME type for JSON-LD is application/ld+json ... the same service supports it as output format.

egonw commented 8 years ago

All implemented and up and running. HT @nunogit