Hi,

is it possible to upload several NG:s (from a ttl-file) into jena-fuseki dataset by just one curl-command ?

I mean this:

curl -i -H "Content-Type: application/sparql-update" -X POST http://localhost:3030/pxmeta_hub_fed/update --data-binary "@test.ttl",

where my test.tll is printed into the end of this e-mail.

The problem is that we have 124 NGs in our system and it is not possible to upload them all by separate commads, so not possible to define the target graph in the curl command.


   cat test.ttl

   drop all;
   insert data
   {
   <http://learningsparql.com/ns/data#x>
        <http://learningsparql.com/ns/demo#tag>
                "two" , "one" .

   <http://learningsparql.com/ns/data#g2> {
       <http://learningsparql.com/ns/data#x>
            <http://learningsparql.com/ns/demo#tag>
                    "five" , "six" .
   }

   <http://learningsparql.com/ns/data#g1> {
       <http://learningsparql.com/ns/data#x>
            <http://learningsparql.com/ns/demo#tag>
                    "three" , "four" .
  }
  }

br, Jaana M

Reply via email to