On 1/28/13 3:53 PM, Andrea Di Menna wrote:
Hi Kingsley,just wanted to add that sometimes. The same query: http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=select+%3Fperson+where+%7B%3Fperson+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthPlace%3E+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FG%25C3%25BCtersloh%3E+%7D&format=text%2Fhtml&timeout=2000from time to time returns only 5 results (which are the ones shown here http://dbpedia.org/page/G%C3%BCtersloh )When the query returns 11 elements they are: http://dbpedia.org/resource/Hans_Werner_Henze http://dbpedia.org/resource/Diana_Amfthttp://dbpedia.org/resource/Ludwig_M%C3%BCller_(theologian) <http://dbpedia.org/resource/Ludwig_M%C3%BCller_%28theologian%29>http://dbpedia.org/resource/Hanns-Heinrich_Lohmann http://dbpedia.org/resource/Andy_Duguid http://dbpedia.org/resource/Wolf_Hilbertz http://dbpedia.org/resource/Simon_Gosejohann http://dbpedia.org/resource/Friedrich_Daniel_von_Recklinghausenhttp://dbpedia.org/resource/Theodor_Rumpel_(surgeon) <http://dbpedia.org/resource/Theodor_Rumpel_%28surgeon%29>http://dbpedia.org/resource/Thorsten_Stuckmann http://dbpedia.org/resource/Annabel_J%C3%A4gerBy checking the first one, you can see that it has http://dbpedia.org/page/G%C3%BCtersloh as dbpedia-owl:birthPlace. But this is not shown in the http://dbpedia.org/page/G%C3%BCtersloh page as a reverse property.Do you know what is wrong?
Basic SPARQL endpoint is protected by query cost controls based on the backed end machine config etc.. That's why I used the lod.openlinksw.com instance as an example since that's a bigger machine setup with the same data.
See: http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FG%25C3%25BCtersloh -- this has more results because it makes use of DBMS hosted cursors for scrolling through the dataset .
You can use OFFSET and LIMIT to page through the data. I am sure there are some old posts about these matters re. DBpedia's SPARQL endpoint.
Kingsley
Regards2013/1/28 Kingsley Idehen <kide...@openlinksw.com <mailto:kide...@openlinksw.com>>On 1/28/13 3:15 PM, Daniel Naber wrote: Hi, I'd like to find all persons born in a given city. At http://de.dbpedia.org/page/G%C3%BCtersloh I see about 96 persons. When I query with Sparql, I only get 11. The query I use is this: select ?person where {?person <http://dbpedia.org/ontology/birthPlace> <http://dbpedia.org/resource/G%C3%BCtersloh>} The endpoint I use is http://dbpedia.org/sparql. How can I get all the results that are shown on the web page? Regards Daniel Try: http://lod.openlinksw.com/sparql?default-graph-uri=&query=select+distinct+%3Fperson+where+%7B%3Fperson+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthPlace%3E+%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FG%25C3%25BCtersloh%3E%7D&format=text%2Fhtml&timeout=30000&debug=on Query Definition: http://lod.openlinksw.com/sparql?default-graph-uri=&qtxt=select+distinct+%3Fperson+where+%7B%3Fperson+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FbirthPlace%3E+%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FG%25C3%25BCtersloh%3E%7D&format=text%2Fhtml&timeout=30000&debug=on--Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen <http://www.openlinksw.com/blog/%7Ekidehen> Twitter/Identi.ca handle: @kidehen Google+ Profile: https://plus.google.com/112399767740508618350/about LinkedIn Profile: http://www.linkedin.com/in/kidehen ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET <http://ASP.NET>, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net <mailto:Dbpedia-discussion@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
-- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter/Identi.ca handle: @kidehen Google+ Profile: https://plus.google.com/112399767740508618350/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion