[Dbpedia-discussion] Places, Languages and count -- with SPARQL?

2011-12-08 Thread Liam Kirsher
Hi -- I'm new to RDF and dbpedia. I'm trying to determine if I will be able to use dbpedia in a project I am involved with. The question I need a quick answer to is how many Places there are, organized by language and location, as that has a bearing on whether we may use dbpedia. It seems li

Re: [Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread aliki aliki
Thank you very much both of you! You were very helpful! > Subject: Re: [Dbpedia-discussion] Jena-Virtuoso > From: hwilli...@openlinksw.com > Date: Thu, 8 Dec 2011 11:38:28 + > CC: aliki_...@hotmail.com; dbpedia-discussion@lists.sourceforge.net > To: olivier.ros...@gmail.com > > Hi Aliki, >

Re: [Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread Hugh Williams
Hi Aliki, As Olivier indicates the public DBpedia SPARQL endpoint is only accessible via HTTP (port 80) so you have to use the jena “sparqlService” method to access it with something like: Query query = QueryFactory.create(sq); QueryExecution qexec = QueryExecutionFactory

Re: [Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread Olivier Rossel
The method I mentionned does not rely on any low-level Virtuoso connection, nor wrapping it in a local Jena model. It just connects to any SPARQL WebService (also called a SPARQL endpoint) and sends the query as an HTTP parameter. It retrieve the result data as XML, and wraps it into a ResultSet ob

Re: [Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread aliki aliki
Thanks for the quick reply. The thing is I cannot connect to the server. If I manage to connect, I will use the QueryExecutionFactory, I have already downloaded the libraries. The line which we need to focus on is: VirtGraph set = new VirtGraph ("jdbc:virtuoso://localhost:/charset=UTF-8/lo

Re: [Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread Olivier Rossel
What about: http://jena.sourceforge.net/ARQ/javadoc/com/hp/hpl/jena/query/QueryExecutionFactory.html#sparqlService%28java.lang.String,%20java.lang.String%29 2011/12/8 aliki aliki : >  Hi everyone! > > I am trying to retrieve information from dbpedia asking SPARQL queries via > Jena. So I would lik

[Dbpedia-discussion] Jena-Virtuoso

2011-12-08 Thread aliki aliki
Hi everyone! I am trying to retrieve information from dbpedia asking SPARQL queries via Jena. So I would like to find a way to connect to the Virtuoso Server without having to download all the data or install a Virtuoso Server on my pc. If this is not possible, is there any other way/tool (ap