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 [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locaties/DTM>
[cid:[email protected]]<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:[email protected]]
Sent: 05 April 2016 10:18
To: [email protected]
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)
<[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]>
Location<http://www.tno.nl/locaties/DTM>
[cid:[email protected]]<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:[email protected]<mailto:[email protected]>]
Sent: 05 April 2016 10:04
To: [email protected]<mailto:[email protected]>
Subject: Re: help please ! (import wont work)
On Tue, Apr 5, 2016 at 9:48 AM, Michel Böhms
<[email protected]<mailto:[email protected]>> 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: [email protected]<mailto:[email protected]>
w: http://redlink.co<http://redlink.co/>
--
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: [email protected]<mailto:[email protected]>
w: http://redlink.co