Menu

Tree [r18] /
 History

HTTPS access


File Date Author Commit
 Compiler 2009-05-12 minas84 [r8]
 bat 2009-05-09 minas84 [r5]
 data 2009-05-09 minas84 [r4]
 doc 2009-06-10 minas84 [r18]
 lib 2009-05-12 minas84 [r7]
 queries 2009-05-13 minas84 [r10]
 scripts 2009-05-08 minas84 [r2]
 senda 2009-05-09 minas84 [r6]
 readme.txt 2009-05-13 minas84 [r11]

Read Me

1.download SparqlToXQuery
 set SQXROOT  SparqlToXQuery root dir:
 		set SQXROOT=SparqlToXQuery_INSTALL_DIR

2.download XML Database System (http://modis.ispras.ru/sedna/)
For more details see  http://modis.ispras.ru/sedna/quick-start.html#downloadinstall

2.1 start Sedna database System.
To start Sedna server go to SENDA_INSTALL_DIR/bin and run:
	se_gov

2.2 Create a database named rdf:
	se_cdb rdf

2.3 Run the database named rdf:
 	se_sm rdf

2.4 Load module rdffunc into the database named rdf (SparqlToXQuery_INSTALL_DIR/sedna/scripts ):
	se_term -file %SQXROOT%\senda\scripts\modulerdffunc.load rdf

2.5 Load sample01.rdf rdf/xml document into the database named rdf:
	se_term -file %SQXROOT%\senda\scripts\load_sample01.xquery rdf

3.set SQXROOT  SparqlToXQuery root dir:
 		set SQXROOT=SparqlToXQuery_INSTALL_DIR

 
3.1 To compile sample01.sparql into the sample01.xquery
go to  SparqlToXQuery root and run:
	bat\xquery -in=queries/sample01.rq -out=queries/sample01.xquery -d=sample01

3.2 Then run the compiled xquery file using Sedna (see steps 2)
	go to SENDA_INSTALL_DIR/bin and run:
	se_term -file %SQXROOT%/queries/sample01.xquery rdf


!GOOD LUCK 
 
		








 


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.