shahrukhsaba / duke

Automatically exported from code.google.com/p/duke
0 stars 0 forks source link

Should be possible for data sources to assert difference #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It should be possible to assert A owl:differentFrom B in a data source, and for 
this to prevent Duke from ever claiming that A owl:sameAs B.

The JDBCLinkDatabase component in Duke already supports this. If a row (A, B, 
DIFFERENT, ASSERTED) were to appear in the database, Duke would never add an 
owl:sameAs between A and B. However, Duke cannot now get this information from 
the UMIC and into the link database.

To add support for that we'd need to:
  * Add a Collection<Link> getLinks() method to the Record interface, so that records can arrive in Duke with pre-known link information.
  * Add support for populating this data to individual data sources.

Oh, and we also need to update the code so that this gets written correctly to 
the link database.

Original issue reported on code.google.com by lar...@gmail.com on 1 Nov 2011 at 10:23

GoogleCodeExporter commented 8 years ago
Alternatively, we could define a LinkSource interface that produces links.

Original comment by lar...@gmail.com on 5 Nov 2011 at 9:46

GoogleCodeExporter commented 8 years ago
Ok, we now have the LinkSource interface. The next question is how to make use 
of it.

Original comment by lar...@gmail.com on 21 Feb 2012 at 11:11