freebase? (also datasets and schema)

49 views
Skip to first unread message

zz

unread,
Sep 24, 2012, 11:15:25 AM9/24/12
to Sindice Developers
Hi

please correct me if im wrong but according to "https://
docs.google.com/spreadsheet/ccc?
key=0AlaKL6ismHRNdEs2UkNjTUN3OXd6VFJvSWpDX2txOVE#gid=0" or the "get-me-
all-datasets-in-sindice"-sparql-query, freebase is not currently
indexed by sindice?

Another question relevant to this is, is there a way to get the schema/
ontology/vocabulary used to describe each dataset? (e.g., "http://
www.w3.org/2002/07/owl", "http://dbpedia.org/ontology")

I found it very cumbersome to explore the datasets by sparql because i
have to manually look for the possible vocabularies with each dataset
in order to query them.

Any tips please, many thanks!

Gabi Vulcu

unread,
Sep 24, 2012, 12:04:04 PM9/24/12
to sindi...@googlegroups.com
 Hi zz,

Thanks for showing interest in our sparql endpoint.
As you correctly mentioned you can find out which datasets we currently store in two ways:
 1. querying the sparql endpoint by  using the example query provided on the website
 2. checking up this more up to date list: https://docs.google.com/spreadsheet/ccc?key=0AvdgRy2el8d9dGhDaHMta0MtaG9vWWhhbTd5SVVaX1E#gid=0


Indeed, at the moment we do not store the freebase dataset, but instead we have the basekb dataset which is also a rdf-ization of freebase. http://basekb.com. Maybe that could help you until we figure out a way of getting freebase on our endpoint.


Regarding the vocabulary used by each dataset, you can query something like the following:

PREFIX dataset: <http://vocab.sindice.net/dataset/1.0/>
     SELECT ?dataset_uri ?dataset_name ?dataset_type ?triples ?snapshot ?vocabulary
     FROM <http://sindice.com/dataspace/default/dataset/index>
     WHERE {
        ?dataset_uri dataset:type ?dataset_type ;
        dataset:name ?dataset_name .
        OPTIONAL {
            ?dataset_uri dataset:void ?void_graph ;
                         dataset:snapshot ?snapshot .
            GRAPH ?G {
                ?dataset_uri void:triples  ?triples ;
                                    void:vocabulary ?vocabulary.
            }
        }
     } limit 40
  

Please note that each of our dataset dumps have some metadata attached described using the void vocabulary: http://www.w3.org/TR/void/


Maybe this one will give you a bit more insight of what you should expect from each dataset.

Let me know if there is anything else  Icould help you with,

Regards,
Gabi



--
You received this message because you are subscribed to the Google
Groups "Sindice Developers" group.
To post to this group, send email to sindi...@googlegroups.com
To unsubscribe from this group, send email to
sindice-dev...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sindice-dev?hl=en

http://sindice.com http://sig.ma http://www.deri.ie

Renaud Delbru

unread,
Sep 24, 2012, 12:18:40 PM9/24/12
to sindi...@googlegroups.com, Gabi Vulcu
To explore and learn the vocabulary of a dataset, you can also our
(unreleased) schema visualisation explorer at
http://demo.sindice.net/dataset/

Kind Regards
--
Renaud Delbru
> <http://docs.google.com/spreadsheet/ccc>?
> key=0AlaKL6ismHRNdEs2UkNjTUN3OXd6VFJvSWpDX2txOVE#gid=0" or the "get-me-
> all-datasets-in-sindice"-sparql-query, freebase is not currently
> indexed by sindice?
>
> Another question relevant to this is, is there a way to get the schema/
> ontology/vocabulary used to describe each dataset? (e.g., "http://
> www.w3.org/2002/07/owl <http://www.w3.org/2002/07/owl>",
> "http://dbpedia.org/ontology")
>
> I found it very cumbersome to explore the datasets by sparql because i
> have to manually look for the possible vocabularies with each dataset
> in order to query them.
>
> Any tips please, many thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Sindice Developers" group.
> To post to this group, send email to sindi...@googlegroups.com
> <mailto:sindi...@googlegroups.com>
> To unsubscribe from this group, send email to
> sindice-dev...@googlegroups.com
> <mailto:sindice-dev%2Bunsu...@googlegroups.com>

zz

unread,
Sep 26, 2012, 4:39:09 AM9/26/12
to Sindice Developers
Thanks! Both are extremely useful!




On Sep 24, 5:18 pm, Renaud Delbru <renaud.del...@deri.org> wrote:
> To explore and learn the vocabulary of a dataset, you can also our
> (unreleased) schema visualisation explorer athttp://demo.sindice.net/dataset/
>
> Kind Regards
> --
> Renaud Delbru
>
> On 24/09/12 17:04, Gabi Vulcu wrote:
>
>
>
>
>
>
>
> >   Hi zz,
>
> > Thanks for showing interest in our sparql endpoint.
> > As you correctly mentioned you can find out which datasets we currently
> > store in two ways:
> >   1. querying the sparql endpoint by  using the example query provided
> > on the website
> >   2. checking up this more up to date list:
> >https://docs.google.com/spreadsheet/ccc?key=0AvdgRy2el8d9dGhDaHMta0Mt...
> >    http://sindice.comhttp://sig.mahttp://www.deri.ie

ziqi zhang

unread,
Feb 26, 2013, 2:51:06 PM2/26/13
to sindi...@googlegroups.com
Hi
An outdated topic but I have another question about this...


On Monday, September 24, 2012 5:04:09 PM UTC+1, Gabi wrote:
 
Regarding the vocabulary used by each dataset, you can query something like the following:

PREFIX dataset: <http://vocab.sindice.net/dataset/1.0/>
     SELECT ?dataset_uri ?dataset_name ?dataset_type ?triples ?snapshot ?vocabulary
     FROM <http://sindice.com/dataspace/default/dataset/index>
     WHERE {
        ?dataset_uri dataset:type ?dataset_type ;
        dataset:name ?dataset_name .
        OPTIONAL {
            ?dataset_uri dataset:void ?void_graph ;
                         dataset:snapshot ?snapshot .
            GRAPH ?G {
                ?dataset_uri void:triples  ?triples ;
                                    void:vocabulary ?vocabulary.
            }
        }
     } limit 40
  


I have tried the above query but seen that for most datasets, the "?vocabulary" is empty. I then revised the query as below  to get a list of distinct vocabularies:


       SELECT distinct 
 ?vocabulary 
       WHERE { 
          ?dataset_uri dataset:type ?dataset_type ; 
          dataset:name ?dataset_name . 
          OPTIONAL { 
              ?dataset_uri dataset:void ?void_graph ; 
                           dataset:snapshot ?snapshot . 
              GRAPH ?G { 
                  ?dataset_uri void:triples  ?triples ; 
                                      void:vocabulary ?vocabulary. 
              } 
          } 
       } 


But I only get 11 results:

Gabi Vulcu

unread,
Feb 26, 2013, 4:27:02 PM2/26/13
to sindi...@googlegroups.com
Hi

The vocabulary propery, as part of the voID metadata is available only for the dump datasets atm and not for the website datasets.

Regards,
Gabi
--
--
You received this message because you are subscribed to the Google
Groups "Sindice Developers" group.
To post to this group, send email to sindi...@googlegroups.com
To unsubscribe from this group, send email to
sindice-dev...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sindice-dev?hl=en
 
http://sindice.com http://sig.ma http://www.deri.ie
 
---
You received this message because you are subscribed to the Google Groups "Sindice Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sindice-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages