Hi, Thanks for the link. I hadn't seen this. An alternative approach for simple scenario's is to use the inverseFunctionalProperty. This will allow virtuoso to infer a sameAs link if two instances have the same data within an attribute, usually a primary key. Eg two instances of Customer with a customerID attribute of 1234 for both. If customerID is an inverseFunctionalProperty then virtuoso will infer a sameAs link for the two Customers.
OWL2 has the hasKey inference which would allow something similar across multiple keys. OWL2 isn't yet supported by virtuoso though. Kingsley are there any plans to support this in the near term? Cheers Mark On 20 May 2010 10:28, <[email protected]> wrote: > Great. I'll try that. > > I also just found an RDF linking framwork called Silk which looks pretty > good. > > 1. http://code.google.com/p/silk/ > > > On Wed, May 19, 2010 at 11:02 PM, Kingsley Idehen > <[email protected]>wrote: > >> [email protected] wrote: >> >>> If I have two datasets in RDF with some common entries, how can I >>> generate owl:sameAs links? Is there a way to do this within Virtuoso, or do >>> I have to make a separate program? I would guess in either case it would be >>> done by selecting all entries from one of the datasets, and then for each >>> entry do a sparql query to select one or more candidates for linking and >>> then apply some rules to determine whether or not to make a link? >>> ------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Virtuoso-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users >>> >>> >> >> SPARQL is a formidable rules language. >> >> Make a SPARQL CONSTRUCT from the two RDF datasets (which would have their >> own Graph IRIs if hosted in Virtuoso). >> >> Basically use SPARUL. >> >> Links: >> >> 1. http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsparul >> 2. >> http://virtuoso.openlinksw.com/presentations/SPARQL_Tutorials/SPARQL_Tutorials_Part_2/SPARQL_Tutorials_Part_2.html-- >> see INSERT, UPDATE, DELETE examples . >> >> >> >> -- >> >> Regards, >> >> Kingsley Idehen President & CEO OpenLink Software Web: >> http://www.openlinksw.com >> Weblog: http://www.openlinksw.com/blog/~kidehen >> Twitter/Identi.ca: kidehen >> >> >> >> >> > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > >
