Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-27 Thread baran_H
On Fri, 27 May 2011 01:07:29 +0200, Kingsley Idehen wrote: > On 5/26/11 5:35 PM, baran_H wrote: >> Without 'distinct' it does work: >> select ?property where { >> ?s ?property ?o. >> } limit 1 >> >> Why might this be? > > So you are asserting that for a given data space hosting N named graph

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-27 Thread baran_H
Hello Mitko, i think it is Curran's test-query and aims all properties, and not only dbpedia-onto prop's which are defined in the dataset, but anyway i think we take it only as a test-query to understand how the engine works, would i say... Baran. -

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-27 Thread Roberto Mirizzi
Hi Curran, Il 27/05/2011 4.36, Curran Kelleher ha scritto: According to the SPARQL reference , DISTINCT should even be an operation able to be performed after evaluation of LIMIT which just collapses duplicate entries in the intermediary resu

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread Pablo Mendes
Adding wood to the fire: What happens in the presence of ORDER BY? Cheers, Pablo On May 27, 2011 4:39 AM, "Curran Kelleher" wrote: > Hi Kingsley, > >> "Specifically, each solution that binds the same variables to the same RDF >> terms as another solution is eliminated from the solution set." This

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread Curran Kelleher
Hi Kingsley, > "Specifically, each solution that binds the same variables to the same RDF > terms as another solution is eliminated from the solution set." This sounds > like a first encounter would be added to the result set, and any subsequent > encounters would simply not be added to the result

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread Kingsley Idehen
On 5/26/11 5:35 PM, baran_H wrote: > Without 'distinct' it does work: > select ?property where { > ?s ?property ?o. > } limit 1 > > Why might this be? So you are asserting that for a given data space hosting N named graphs (named collections of triples) : select ?property where { ?s

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread baran_H
On Thu, 26 May 2011 22:09:02 +0200, Kingsley Idehen wrote: > On 5/26/11 3:36 PM, baran_H wrote: >> >> LIMIT doesn't simply the Distinct computation. It simply limits the >> resultset size. Dear K. Idehen, i see above baran_H wro

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread Kingsley Idehen
On 5/26/11 3:36 PM, baran_H wrote: > > LIMIT doesn't simply the Distinct computation. It simply limits the > resultset size. LIMIT doesn't *simplify* the Distinct computation per se.. It simply limits the resultset size of the query. Virtuoso is a Quad Store, so you have duplicate data across Na

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread baran_H
On Tue, 24 May 2011 19:16:13 +0200, Kingsley Idehen wrote: > On 5/24/11 1:08 PM, Curran Kelleher wrote: >> Greetings, >> >> The problem remains, the following query doesn't execute on the public >> DBPedia endpoint >>

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-26 Thread baran_H
On Tue, 24 May 2011 19:16:13 +0200, Kingsley Idehen wrote: > On 5/24/11 1:08 PM, Curran Kelleher wrote: >> Greetings, >> >> The problem remains, the following query doesn't execute on the public >> DBPedia endpoint >>

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Kingsley Idehen
On 5/24/11 3:33 PM, Curran Kelleher wrote: Hi Kingsley, Thanks for your clarification, but I don't understand why 'first encounter != distinct'. I was thinking that DISTINCT just causes duplicate solutions to be excluded from the result set, just like DISTINCT in SQL. Yes, but you are speak

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Curran Kelleher
Hi Kingsley, Thanks for your clarification, but I don't understand why 'first encounter != distinct'. I was thinking that DISTINCT just causes duplicate solutions to be excluded from the result set, just like DISTINCT in SQL. The SPARQL reference states

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Kingsley Idehen
On 5/24/11 1:08 PM, Curran Kelleher wrote: Greetings, The problem remains, the following query doesn't execute on the public DBPedia endpoint , even with a limit: select

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Curran Kelleher
Greetings, The problem remains, the following query doesn't execute on the public DBPedia endpoint, even with a limit: select distinct ?property where { ?s ?property ?o. } l

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Kingsley Idehen
On 5/24/11 8:30 AM, Mohamed Morsey wrote: > Hi Sarasi, > > I've performed that query with limit 1000, and it worked on one of our > local endpoints, and it ended within 3 minutes. > So I guess that the maximum time allowed for a query on the official > endpoint is relatively low, but the query itse

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-24 Thread Mohamed Morsey
Hi Sarasi, I've performed that query with limit 1000, and it worked on one of our local endpoints, and it ended within 3 minutes. So I guess that the maximum time allowed for a query on the official endpoint is relatively low, but the query itself is executable with limit. Hope that helps. --

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Roberto Mirizzi
Hi Sebastian, I completely agree with you. :-) And probably you agree with me in saying that DBpedia _remote_ SPARQL endpoint will never give a response to that query. As you correctly said, the execution time set on remote DBpedia is too short to complete such "complex" query. I tried the same

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Sebastian Hellmann
Hi Roberto, sorry that I need to disagree, but DBpedia is based on Virtuoso, which has a quad model, i.e. a SQL table with 4 columns. The sparql query asks for all distinct values in the 3rd column and this is definitely doable seen from the SQL perspective. I normally run those queries on a dail

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Sarasi Lalithsena
Thanks a lot. On Mon, May 23, 2011 at 12:00 PM, Sebastian Hellmann < hellm...@informatik.uni-leipzig.de> wrote: > Hi, > the properties in the namespace http://dbpedia.org/ontology will all be > included in the dbpedia ontology. > The others can be found here: > http://wiki.dbpedia.org/Downloads3

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Sarasi Lalithsena
yeah that make sense. Thanks On Mon, May 23, 2011 at 12:16 PM, Roberto Mirizzi wrote: > Il 23/05/2011 17:44, Sarasi Lalithsena ha scritto: > > Hi, >> >> I want to extract all properties from the DBpedia data set and I tried the >> following query but it did not work. I even tried to limit the r

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Roberto Mirizzi
Il 23/05/2011 17:44, Sarasi Lalithsena ha scritto: > Hi, > > I want to extract all properties from the DBpedia data set and I tried > the following query but it did not work. I even tried to limit the > results but still it did not work as well. > > select distinct ?property where { > ?s ?pr

Re: [Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Sebastian Hellmann
Hi, the properties in the namespace http://dbpedia.org/ontology will all be included in the dbpedia ontology. The others can be found here: http://wiki.dbpedia.org/Downloads36 http://downloads.dbpedia.org/3.6/en/infobox_property_definitions_en.nt.bz2 The query you mentioned: http://dbpedia.org/

[Dbpedia-discussion] extract all properties in DBpedia

2011-05-23 Thread Sarasi Lalithsena
Hi, I want to extract all properties from the DBpedia data set and I tried the following query but it did not work. I even tried to limit the results but still it did not work as well. select distinct ?property where { ?s ?property ?o . } I have the properties defined in the DBpedia Ontolo