specifying predicate filter

20 views
Skip to first unread message

Umutcan Şimşek

unread,
Mar 17, 2013, 12:45:42 PM3/17/13
to ldsp...@googlegroups.com
Hi folks,

I newly started to use LDSpider got some results, but still have some problems. First of all I'm using Java API and I couldn't find a predicate filter. For example, I only want to visit owl:sameAs values, not all URI's in the RDF file. And I also wonder, if there is a possibility to filter extracted triples. For example, is there a way to prevent spider to extract wikipageredirects triples?

And much bigger problem is, spider doesn't stop! It probably starves after a point and it's waiting at idle state after starving.

Thanks in advance

Umutcan

Jürgen Umbrich

unread,
Mar 22, 2013, 7:34:40 AM3/22/13
to ldsp...@googlegroups.com
Hi, 

sorry for the late repsonse

The wiki pageo n the google project page should contain the necessary information to define a link filter in from of our hooks system (https://code.google.com/p/ldspider/wiki/Hooks).

You should use an 

LinkFilterPrefix Add only uris with matching prefix to queue.

rather than teh LinkFilterDefault. 
This shoudl ensure that you only follow owl:sameAs links.

Regarding filtering of extracted triples:
  1) download everything and filter afterwards
  2) Implement a SinkCallback which has the filter (we would even like to integrate such a class into the ldpsider code if you woudl share it)

Regarding the last problem. can you provide some information , what makes you think the program starves at idle state? 

Best









Umutcan

--
You received this message because you are subscribed to the Google Groups "LDSpider" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ldspider+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages