Hi,

I am still struggling with getting dbpedia (the danish version
downloadable here http://downloads.dbpedia.org/3.8/da) into virtuoso

I followed the tutorial out here
http://joernhees.de/blog/2010/10/31/setting-up-a-local-dbpedia-mirror-with-virtuoso/
- although on windows.

After I do the select from my load list to check how it went I get:

1 Rows. -- 31 msec.
SQL> SELECT * FROM DB.DBA.LOAD_LIST;
ll_file
  ll_graph
    ll_state    ll_started           ll_done              ll_host     ll_work_ti
me  ll_error
VARCHAR NOT NULL
  VARCHAR
    INTEGER     TIMESTAMP            TIMESTAMP            INTEGER     INTEGER
  VARCHAR
_______________________________________________________________________________

E:\dbpedia\dk/contents-nq.txt
  http://da.dbpedia.org
    2           2013.2.6 11:43.7 0   2013.2.6 11:43.8 0   0           NULL
  37000 SP029: TURTLE RDF loader, line 1: Undefined namespace prefix at http://d
ownloads.dbpedia.org/3.8/da/article_categories_da.nq.bz2
E:\dbpedia\dk/global.graph
  http://da.dbpedia.org
    2           2013.2.6 11:43.7 0   2013.2.6 11:43.8 0   0           NULL
  37000 SP029: TURTLE RDF loader, line 1: Undefined namespace prefix at http://d
a.dbpedia.org

2 Rows. -- 47 msec.
SQL>


Any suggestions, anywhere I can go ask if not here?

Thanks,
Bryan Rasmussen

On Wed, Feb 6, 2013 at 2:18 AM, bryan rasmussen
<[email protected]> wrote:
> Hi,
> I'm trying to import the danish dbpedia, I do the following in isql:
>
> DB.DBA.TTLP_MT(file_to_string_output('E:\\dbpedia\\dk\\category_labels_da.nq\\category_labels_da.nq'),
> '', 'http://localhost:8890/DAV/dbpedia/dk', 512);
>
> The data is of the format:
>
> <http://da.dbpedia.org/resource/Kategori:Tal>
> <http://www.w3.org/2000/01/rdf-schema#label> "Tal"@da
> <http://da.wikipedia.org/wiki/Kategori:Tal?oldid=6062900> .
> <http://da.dbpedia.org/resource/Kategori:Tidsperioder>
> <http://www.w3.org/2000/01/rdf-schema#label> "Tidsperioder"@da
> <http://da.wikipedia.org/wiki/Kategori:Tidsperioder?oldid=5757820> .
> <http://da.dbpedia.org/resource/Kategori:Kemi>
> <http://www.w3.org/2000/01/rdf-schema#label> "Kemi"@da
> <http://da.wikipedia.org/wiki/Kategori:Kemi?oldid=6045968> .
>
> and so on and so forth.
>
> sparql select * from <http://da.dbpedia.org/resource/Kategori> where {?s ?p 
> ?o};
>
> and I get
> The statement execution did not return a result set.
>
> I also tried to use the quad store upload and it told me
>
> You have attempted to upload invalid data. You can only upload RDF,
> Turtle, N3 serializations of RDF Data to the RDF Data Store.
>
> So -
>
> 1. I would like to upload the data - at least in some cases - for
> example for demo purposes, is there any tool anyone knows of that can
> change dbpedia extracted data into a format that virtuoso will accept
>
> 2. how do I write the query above so that I can get some data out?
>
> Thanks,
> Bryan Rasmussen

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to