Hi Srecko

> 
> curl -v -X POST -H "Content-Type: application/rdf+xml" --data 
> "@acm-ccs_proton.owl" http://localhost:8080/entityhub/entity
> 

No I would not propose you to upload the dbpedia dataset by using POST to the 
entityhub. This is fine for small and medium sized datasets, but will not work 
for dbpedia.

Stanbol comes already with a small sample set of DBPedia. This is also used for 
enhancing documents with the default configuration.

This sample dataset contains the 43k DBPedia.org entities with the most 
incoming links including some often used properties includinglabels in about 10 
languages, the english comments, types, redirects stored as rdf:seeAlso, 
lat/long, populations, birth/death dates, home pages, and category assignments 
stored in dc-terms:subject.

You can easily upgrade this index to a bigger version by downloading the 
dbpedia.solrindex.zip file form [1] and copying it into the /sling/datafiles 
folder within the directory where your Stanbol server is running. After some 
minutes (the time your computer needs to extract a file with ~3GByte) the 
bigger index will replace the sample set included in the launcher.

If you need some additional fields, languages … you can also create your own 
index by using the indexing tool for dbpedia [2]. See the README.md file for 
instructions.

best
Rupert
 
[1] http://dev.iks-project.eu/downloads/stanbol-indices/dbpedia-3.7/
[2] 
https://svn.apache.org/repos/asf/incubator/stanbol/trunk/entityhub/indexing/dbpedia/

On 10.01.2012, at 14:01, srecko joksimovic wrote:

> Hi,
> 
> Until now I used my ontology when I wanted to annotate document (or text). 
> Now I would like to use DBPedia ontology. Do I have to download ontology and 
> configure Stanbol like I did before, using
> 
> curl -v -X POST -H "Content-Type: application/rdf+xml" --data 
> "@acm-ccs_proton.owl" http://localhost:8080/entityhub/entity
> 
> or there is another procedure? Does Stanbol use DBPedia ontology by default, 
> or I have to configure something similar like when I use another ontology?
> 

Reply via email to