W3C home > Mailing lists > Public > public-lod@w3.org > February 2013

DBpedia Querys [Re: ]

From: Barry Norton <barry.norton@ontotext.com>
Date: Tue, 12 Feb 2013 14:02:44 +0000
Message-ID: <511A4B84.1000703@ontotext.com>
To: Suresh Partha <sureshpartha21@yahoo.com>
CC: "public-lod@w3.org" <public-lod@w3.org>

Sureth, perhaps you're hitting query time-out or hard-coded limits. Have 
you considered loading DBpedia yourself, rather than using the public 
endpoint.

Incidentally, your query can be rewritten in SPARQL 1.1 as

CONSTRUCT WHERE {?film a <http://dbpedia.org/ontology/Film> }

If you'd like to learn more about SPARQL please do consider spending 
some time with the EUCLID learning materials, where this shortcut is 
already mentioned (and will be covered in the Querying chapter, whose 
webinar is on the 4th):

http://www.euclid-project.eu/modules/chapter1


Barry



On 12/02/13 13:40, Suresh Partha wrote:
> I am makinng following CONSTRUCT Query in DBPedia. There are around 
> 60000 Films in DBPedia,
> but when I make the following query, I am not able to construct a RDF 
> Graph of more than 50001 triples.
> Why?
> CONSTRUCT
> {
> ?o <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://dbpedia.org/ontology/Film> .
> }
> WHERE
> {
> ?o <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://dbpedia.org/ontology/Film> .
> }  limit 59000
> Thank you,
> Suresh
Received on Tuesday, 12 February 2013 14:03:12 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:46 UTC