Hello Mark,

There are no good methods for these two questions ATM. I'm extending the
inference soon (to get the whole nonrecursive part of OWL) and will try
to make something, but I have no solution right now.

More probably, the query would be able to return "explanation hints" for
results, like
"this resultset row is composed because property P is an inverse
functional property (see file XXXX.owl , line NNN), and P has same value
O for both original S1 and dupe S2",
but it will still be an application-side problem to find a "canonical
representatives" for a set of subjects and list of S1-S2 pairs.

Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com



On Wed, 2010-09-15 at 16:46 +1000, Mark James wrote:
> Hi,
> Is there an effective way via sparql to first identify and then dedupe
> a list of uri's that have been inferred to be the same via
> inverseFunctionalProperty rule?
> 
> 
> For example 
> define sql:table-option "index rdf_quad" define input:inference
> "wsf_inference_rule1"
> SELECT * 
> WHERE
> {<http://localhost:8890/OE/sales_reps/SALES_REP_ID/145#this> ?p ?o}
> 
> 
> and
> 
> 
> define sql:table-option "index rdf_quad" define input:inference
> "wsf_inference_rule1"
> SELECT * 
> WHERE
> {<http://localhost:8890/HR/employees/EMPLOYEE_ID/145#this> ?p ?o}
> 
> 
> will return exactly the same results as they've been identified as the
> same using IVP.
> 
> 
> So first up. What is a query I can run the will confirm that they are
> indeed the same.
> 
> 
> Secondly if I have a list of 10 uri's. Is there a way of quickly
> deduping down to a set that describes the unique list of entities?
> 
> 
> Cheers
> Mark   
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________ Virtuoso-users mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



Reply via email to