Is there a neat Hello World Python example? Regards,
David On Wednesday, March 22, 2017 at 4:21:42 PM UTC, maparent wrote: > > Yes, rdflib can parse RDF (in many formats) and emit various JSON formats. > I strongly recommend looking at json-ld, which is a very flexible format > that allows you to express your RDF resources in a variety of json > structures that are ideally consumable by javascript. Rdflib has a good > jsonld module. > Regards, > Marc-Antoine Parent > > > Le 22 mars 2017 à 12:17, cabusc...@gmail.com <javascript:> a écrit : > > > > Hello > > I am working on a project to convert RDF data to JSON, with the goal of > using it in a web framework. > > > > I have tried some XML to JS conversion tools, but they never quite work > on RDF XML, but do on regular XML documents. > > > > So, for example, I have this: > > > > <?xml version="1.0"?> > > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > > <rdf:Description xmlns:ns1="dc:" rdf:about=" > http://localhost:8080/cgi-bin/koha/opac-detail.pl?biblionumber=3140"> > > <ns1:creator rdf:resource=" > https://fr.wikipedia.org/wiki/Katherine_Paterson"/> > > </rdf:Description> > > </rdf:RDF> > > </xml> > > > > Which seems to not play nice with, for example, the JQuery parser. > > > > I am wondering..would this library help me with my goal? > > > > Thanks so much > > > > Michael Cabus > > > > -- > > http://github.com/RDFLib > > --- > > You received this message because you are subscribed to the Google > Groups "rdflib-dev" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to rdflib-dev+...@googlegroups.com <javascript:>. > > To post to this group, send email to rdfli...@googlegroups.com > <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/rdflib-dev/1d45e649-e2f8-47b9-ab96-fabfd0dac967%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+unsubscr...@googlegroups.com. To post to this group, send email to rdflib-dev@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/4f350cce-eb59-4874-bfd4-7db074690794%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.