humanitiesplusdesign / data-pen

Personal modeling application for Linked Data.
http://hdlab.stanford.edu/fibra
26 stars 0 forks source link

Export as RDF #94

Closed esjewett closed 7 years ago

jiemakel commented 7 years ago

http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set1/ http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set2/ http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set3/

http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set1/&force-accept=text/plain http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set1/&force-accept=application/rdf+xml http://ldf.fi/fibra/sparql?graph=http://ldf.fi/fibra/set1/&force-accept=application/ld+json

alexsherman commented 7 years ago

Just to be sure I understand--the RDF format is completely contained in the links Eetu posted above and I just need to implement an interface to export these?

jiemakel commented 7 years ago

Yes. So in essence, you just need a button that redirects to the appropriate link (which you need to customize for the graph. You need to dig that from the configuration)

esjewett commented 7 years ago

It's a little more complicated if you want to control the filename or make it download as a file in different browsers, but that'll be a start.

jiemakel commented 7 years ago

The extension for the Turtle format should be .ttl. I was able to load this export at least in Gephi with the SemanticWebImport-plugin.