On 12/01/16 13:36, Sandor Kopacsi wrote:
Dear Osma,
:-) you did not tell me, that you are also here :-)
But thank you very much  for your help again, that was very useful.
I executed, that you suggested, i.e. I have downloaded the full dataset
of the getty aat, and applied the tdbloader of fuseki using the
jena-text-config.ttl file as an assembler file:
/java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl
./vocabularies/getty_aat/full/ontology.rdf//
//java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl
./vocabularies/getty_aat/full/skos.rdf//
//java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl
./vocabularies/getty_aat/full/AATOut_Full.nt//
//java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl
./vocabularies/getty_aat/full/AATOut_Contribs.nt//
//java -cp /fuseki-server.jar tdb.tdbloader --tdb=jena-text-config.ttl
./vocabularies/getty_aat/full/AATOut_Sources.nt//

These all load data into the default (unnamed) graph.

Either use --graph to set graph name or convert to n-quads.

Bulk loading is faster into an empty store: you can give all the files to the loader in one go:

tdbloader --loc ... file1 file2 file3 ....


/The files were nicely uploaded to the tdb folder of fuseki.
After starting fuseki with the same ttl file (fuseki-server --config
jena-text-config.ttl), see attached, and run SPARQL queries:
/SELECT (COUNT(*) AS ?count) { //
//   GRAPH <http://vocab.getty.edu/aat/> { ?s ?p ?o } //
//} /
to check the number of triples, the result is zero.

SELECT (COUNT(*) AS ?count) { ?s ?p ?o }

I am afraid the problem can be with the graph name (either
<http://vocab.getty.edu/aat/> or default), that I don't know where
should I define.
Best Regards,
Sandor




/
/
Am 08.01.2016 um 15:25 schrieb Osma Suominen:
Dear Sandor,

You can use the same .ttl file that you used for the Fuseki database
and text index configuration, i.e. the one documented here:
https://github.com/NatLibFi/Skosmos/wiki/InstallFusekiJenaText#configuration


-Osma

On 08/01/16 16:12, Sandor Kopacsi wrote:
Dear Support List,
We are at the University of Vienna developing an archiving system where
we are going to use Jena-Fuseki (and a tool, called Skosmos based on
that) for storing and displaying data sets for classifications. We had
problems with uploading the RDF file to Fuseki through the memory, and
therefore we were suggested by the developers of Skosmes to use the tdb
loader to upload the datasete directly to the tdb folder.
We found in the documentation
(https://jena.apache.org/documentation/query/text-query.html#building-a-text-index),

that we can use the

java  -cp  $FUSEKI_HOME/fuseki-server.jar  tdb.tdbloader
--tdb=assembler_file  data_file

command, as the TDB loader included with Fuseki, but it is not clear,
*what is going to be the assembler file*. I guess the data_file is the
RDF or NT files, that I am going to upload.
Could anyone explain, or suggest some documentation about this command,
and the details of the assembler_file.
Thank you very much for your help in advance.
Best regards and happy new year,
Sandor




--
Dr. Sandor Kopacsi
IT Software Designer

Vienna University Computer Center
Universitätsstraße 7 (NIG)
A-1010 Vienna

Phone:  +43-1-4277-14176
Mobile: +43-664-60277-14176


Reply via email to