Come caricare dati rdf

From STLab

(Difference between revisions)
Jump to: navigation, search
Current revision (06:58, 15 April 2011) (view source)
m (Text replace - '150.146.88.63' to 'wit.istc.cnr.it')
 
Line 12: Line 12:
** For more details see: View: http://docs.openlinksw.com/virtuoso/fn_rdf_load_rdfxml_mt.html
** For more details see: View: http://docs.openlinksw.com/virtuoso/fn_rdf_load_rdfxml_mt.html
-
Alternatively you can download a jar file with instructions to load data from the console in http://150.146.88.63/API/LodaDataVirtuosoAPI/.
+
Alternatively you can download a jar file with instructions to load data from the console in http://wit.istc.cnr.it/API/LodaDataVirtuosoAPI/.
Here there is a [[example in java]] to run the query via program.
Here there is a [[example in java]] to run the query via program.

Current revision

The data can be loaded either via web using the server interface or by using sparql or SQL query.

Via SQL:

  • TO FILE N-TRIPLE
    • DB.DBA.TTLP_MT (file_to_string_output (File path locally on our machine. It is better to put a directory in tmp: / tmp / mydir / files), GraphPrefix, GrapgName, MANAGEMENT ERROR TYPE TYPE OF LOG # TRHEADS);
    • DB.DBA.TTLP_MT (file_to_string_output ('/ home / xxx / Desktop / DBpedia / pagelinks_en.nt'), '# http://dbpedia.org', 'dbpedia_dataset', 128, 2, 4);
    • For more details see: http://docs.openlinksw.com/virtuoso/fn_ttlp_mt.html
  • TO FILE RDF / XML:
    • DB.DBA.RDF_LOAD_RDFXML_MT (file_to_string_output (File path locally on our machine. It is better to put a directory in tmp: / tmp / mydir / files), GraphPrefix, GrapgName, log type, # TRHEADS);
    • DB.DBA.RDF_LOAD_RDFXML_MT (file_to_string_output ('/ home/xxx/Scrivania/DBPedia/dbpedia_2-2.4.owl'), '# http://dbpedia.org', 'dbpedia_dataset', 2.4);
    • For more details see: View: http://docs.openlinksw.com/virtuoso/fn_rdf_load_rdfxml_mt.html

Alternatively you can download a jar file with instructions to load data from the console in http://wit.istc.cnr.it/API/LodaDataVirtuosoAPI/. Here there is a example in java to run the query via program.

Personal tools