Hi Mohamed,
When I ran query you mentioned:
SELECT COUNT(*) as ?numOfTriples WHERE {?s ?p ?o}
I got the number: 269437410
But on the following queries, I got different answers:
SELECT COUNT(?s) as ?numOfTriples WHERE {?s ?p ?o}
I got the number: 269437410
SELECT COUNT(?p) as ?numOfTriples WHERE {?s ?p ?o}
I got the number: 309794693
SELECT COUNT(?o) as ?numOfTriples WHERE {?s ?p ?o}
I got the number: 309794736
Can anybody explain the reasons why different number as an answer on the above
SPARQL queries on the
same endpoint?
Thanks.
________________________________
From: Mohamed Morsey <mor...@informatik.uni-leipzig.de>
To: Vishal Sinha <vishal.sinha...@yahoo.com>
Cc: "dbpedia-discussion@lists.sourceforge.net"
<dbpedia-discussion@lists.sourceforge.net>
Sent: Monday, February 25, 2013 11:29 PM
Subject: Re: [Dbpedia-discussion] DBpedia (EN) - how many triples?
Hi Vishal,
On 02/25/2013 06:44 PM, Vishal Sinha wrote:
Hi Mohamed and everybody else,
>
>
>Yes, I am curious to know about the count (i.e., number of triples in the
>current publid DBpedia endpoint - only English version of DBpedia 3.8:
>http://dbpedia.org/sparql
You can use the following SPARQL query:
SELECT COUNT(*) as ?numOfTriples WHERE {?s ?p ?o}
>
>
>
>Thanks.
>
>
Hope it helps.
--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion