Ahh, ok, no context variable at all…..

So bullet 3 (not 1) in:

This import method supports context names:

  *   If the (sub-)folder containing the file to import contains a file called 
config containing a property context the value of this property is used as 
(full qualified) context. Otherwise,
  *   The files copied in the root on that directory would be imported into the 
default context.
  *   Sub-folders would be taken into account to select the target context 
name. For instance, if you copy a RDF file into 
${MARMOTTA_HOME}/import/foo/bar, the data would be imported into a context 
named${BASE_URI}/context/foo/bar.
  *   For fully qualified context names (i.e., non-local), a URL-encoded 
directory can be used. For example, if you copy a file into 
${MARMOTTA_HOME}/import/http%3A%2F%2Fexample.org, the triples will be imported 
in the http://example.org context in Marmotta.




Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locaties/DTM>



[cid:image001.gif@01D18F27.5E543B10]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.



From: Sergio Fernández [mailto:sergio.fernan...@redlink.co]
Sent: 05 April 2016 10:18
To: users@marmotta.apache.org
Subject: Re: help please ! (import wont work)

just the name of the directory, so:

mkdir ${MARMOTTA_HOME}/import/rometest
cp test1.ttl ${MARMOTTA_HOME}/import/rometest/


On Tue, Apr 5, 2016 at 10:06 AM, Bohms, H.M. (Michel) 
<michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>> wrote:
Right
But my question was actually
How do I set the variable exactly?

context=rometest

or

context rometest

or

context="rometest"

(sorry linux newbee)




Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locaties/DTM>



[cid:image001.gif@01D18F27.5E543B10]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.



From: Sergio Fernández [mailto:wik...@apache.org<mailto:wik...@apache.org>]
Sent: 05 April 2016 10:04
To: users@marmotta.apache.org<mailto:users@marmotta.apache.org>
Subject: Re: help please ! (import wont work)

On Tue, Apr 5, 2016 at 9:48 AM, Michel Böhms 
<michel.bo...@gmail.com<mailto:michel.bo...@gmail.com>> wrote:
suppose I make a subfolder called rometest and put my file rometest.ttl in...
when i add a file called config

how do I EXACTLY set the varibale context in there?

context=rometest
context rometest
context="rometest"

???

Then, according the documentation in the wiki, the data will be imported in the 
context ${BASE_URI}/context/rometest


--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925<tel:%2B43%206602747925>
e: sergio.fernan...@redlink.co<mailto:sergio.fernan...@redlink.co>
w: http://redlink.co<http://redlink.co/>



--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernan...@redlink.co<mailto:sergio.fernan...@redlink.co>
w: http://redlink.co

Reply via email to