ewilderj / doap

RDF schema for describing software projects
https://github.com/ewilderj/doap/wiki
Apache License 2.0
271 stars 57 forks source link

add examples in turtle and json-ld #13

Closed elf-pavlik closed 6 years ago

elf-pavlik commented 11 years ago

currently all examples us RDF-XML representation of RDF

many people find turtle more readable for human also recent development of json-ld brings another representation which i would expect becoming very popular

elf-pavlik commented 11 years ago

maybe i could do automatic conversion at least to turtle with:

$  rapper -o turtle https://raw.github.com/edumbill/doap/master/examples/doap-doap.rdf
pmackay commented 10 years ago

+1 - would be great to see JSON-LD examples.

ewilderj commented 7 years ago

@pmackay if you want to contribute one, please do! meanwhile i'll at least work though converting some more examples to turtle.

danbri commented 7 years ago

If you make a JSON-LD example people will then begin to lobby you to "do it properly" which means that there is a JSON-LD "context file" available at the URL used in "@ context" declarations.

At schema.org we used the project homepage for that URL, and so eventually got it content negotiating HTML vs JSON-LD representations. I mention this as it bears upon question of which URL you use in @-context. Some but not all use the same URL as namespace URL.

akuckartz commented 7 years ago

:+1:

ewilderj commented 7 years ago

@danbri that brings me to the issue of asking you about HTML rendering of the FOAF schema and what you used. I'd like to render HTML docs if we're going to start content negotiation on the namespace URI

danbri commented 7 years ago

@ewilderj I originally wrote a horrid little Ruby script called specgen.rb, then it became .py, and there are a confusing range of forks and fixups of it floating around. I have no sense for the state of the art. If you want a solid Python library for RDF, rdflib seems to be it.

artob commented 6 years ago

Since #56 is merged, perhaps this is resolved?

kjetilk commented 6 years ago

Yeah, since we have Turtle too, I can close it.