gnowgi / gnowsys-studio

gnowledge studio is a python django project for collaboratively creating and publishing knowledge (semantic) networks as blogging graphs.
http://www.gnu.org/software/gnowsys/
GNU Affero General Public License v3.0
50 stars 58 forks source link

Distributed data exchange: #43

Closed amitaarunsingh closed 12 years ago

amitaarunsingh commented 12 years ago

dump_all_rdf is a management command that displays the rdf code of all the objects on the admin dashboard . it includes a function called make_file() which creates a file for each object of the dashboard and stores the rdf code in it.

changes to be made by user in dump_all_rdf.py :

in function make_file() user needs to give the path where they want to store the .rdf file created . for eg: temp_path = '/home/labadmin/dev/gnowsys-studio/demo/rdffiles/'

where to save the file: since it is a management command it needs to be saved in gstudio/management/commands.

done by: Amita singh & Shikha verma

gnowgi commented 12 years ago

On Mon, May 28, 2012 at 10:48 AM, amitaarunsingh reply@reply.github.com wrote:

dump_all_rdf is a management command that displays the rdf code of all the objects  on the  admin dashboard . it includes a function called make_file() which creates a file for each object of the dashboard and stores the rdf code in it.

changes to be made by user in dump_all_rdf.py :

in function make_file() user needs to give the path where they want to store the .rdf file created . for eg: temp_path = '/home/labadmin/dev/gnowsys-studio/demo/rdffiles/'

Please set this value in the settings.py and use this value

GSTUDIO_RDF_FILEPATH = ".rdffiles/"

I do not like the requirement for a user to open and change the code.

Please modify and commit the code again.

GN

amitaarunsingh commented 12 years ago

Distributed Data Exchange.

dump_all_rdf.py file stores the rdf in one single file with xml declaration followed by xml namespaces of all objects at the start and then the node description of the objects are clubbed together followed by one closing tag.This file is getting succesfully imported into 4store.

generate_all_rdf.py displays the rdf of all the objects one by one on terminal.

Done by-Amita Singh,Shikha Verma

gnowgi commented 12 years ago

please close this issue and submit the modified code.

GN

On Wed, May 30, 2012 at 5:34 PM, amitaarunsingh reply@reply.github.com wrote:

Distributed Data Exchange.

dump_all_rdf.py file stores the rdf in one single file with xml declaration followed by xml namespaces of all objects at the start and then the node description of the objects are clubbed together followed by one closing tag.This  file is getting succesfully imported into 4store.

generate_all_rdf.py displays the rdf of all the objects one by one on terminal.

Done by-Amita Singh,Shikha Verma


Reply to this email directly or view it on GitHub: https://github.com/gnowgi/gnowsys-studio/pull/43#issuecomment-6007996

GN http://metaStudio.org/ reShaping Education

gnowgi commented 12 years ago

Please update the xmlrpc get methods soon. On 30 May 2012 17:43, "Nagarjuna G" nagarjun@gnowledge.org wrote:

please close this issue and submit the modified code.

GN

On Wed, May 30, 2012 at 5:34 PM, amitaarunsingh < reply@reply.github.com

wrote: Distributed Data Exchange.

dump_all_rdf.py file stores the rdf in one single file with xml declaration followed by xml namespaces of all objects at the start and then the node description of the objects are clubbed together followed by one closing tag.This file is getting succesfully imported into 4store.

generate_all_rdf.py displays the rdf of all the objects one by one on terminal.

Done by-Amita Singh,Shikha Verma


Reply to this email directly or view it on GitHub: https://github.com/gnowgi/gnowsys-studio/pull/43#issuecomment-6007996

GN http://metaStudio.org/ reShaping Education

amitaarunsingh commented 12 years ago

setting.py modified to include GSTUDIO_RDF_FILEPATH

amitaarunsingh commented 12 years ago

We have pushed two files: 1)dump_all_rdf.py 2)fstore_rdf_import.py - It directly transfers the rdf into 4store.

Amita Singh,Shikha Verma.