From: Olaf H. <ha...@in...> - 2010-10-03 12:52:21
|
Hello Cristina, On Monday 20 September 2010 15:38:33 you wrote: > Dear Olaf, > > Thanks a lot for your prompt response. I understand now why this happens. > > I have enabled the SemanticWebClientConfig.ENABLE_SINDICE parameter, and > executed several queries but I still get results from only the foaf > implementation. Could you please give me an example where the Sindice > configuration provides more information? It works with the second query from your initial mail; i.e. that one: PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?i ?p WHERE { ?i ?p foaf:Person . } You may have to increase the number of maximal depth of link following a bit. If I execute the query without Sindice support --e.g. using the command line call bin/semwebquery --maxsteps 5 --sparqlfile query.rq where 'query.rq' contains the query-- then I get a result that originate from the FOAF vocabulary definition only. However, if I enable Sindice support bin/semwebquery --maxsteps 5 --sindice --sparqlfile query.rq then I get loads of results from peoples' FOAF profiles. The same should be possible if you use SWClLib as a library in your Java code. Greetings, Olaf |