On 24 Jan 2011, at 13:42, Diogo FC Patrao wrote:
> Well, I was trying to do that for a rather big ontology - I'm ballparking 
> here, but I think that, after dumping the RDF, I would have over 1,000,000 
> assertions, and would easily double that adding inferred knowledge. The 
> source databases are updated daily, but I could live with weekly refreshing 
> the ontology and inferring knowledge.
> 
> I would benefit of some incremental approach for that. Is there some option 
> of rdf-dump for specifiying some condition on data that is dumped?

No, dump-rdf doesn't have an option for specifying a condition.

As a workaround, you could perhaps make a copy of your mapping file that 
specifies some extra d2rq:conditions.

> I also noticed that there are rdf-dump results contains a lot of replicated 
> triples. Am I doing something wrong?

Hm. This can happen when you have denormalized tables and you normalize them in 
the RDF mapping. In this case, to avoid duplicates you need to specify 
d2rq:containsDuplicates on the appropriate class maps, otherwise D2RQ doesn't 
know where it needs to do a DISTINCT in the SQL query. On the other hand, doing 
this will slow down export and queries.

Best,
Richard
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to