Inferencer

work in progress

Please note that the current inferencer is highly experimental, you may want to create a backup of your store data before you use it!

ARC's Store Inferencer is going to support two basic features:
  • resource consolidation based on identifying attributes (so-called Functional and Inverse-Functional Properties)
  • label resolution based on a set of resource-naming properties

Resource Consolidation based on a single IFP

$my_ifp = 'http://xmlns.com/foaf/0.1/homepage';
$store->consolidateIFP($my_ifp);

Resource Consolidation based on a set of IFPs

$my_ifps = array(
  'http://xmlns.com/foaf/0.1/homepage',
  'http://gmpg.org/xfn/11#me',
  'http://www.w3.org/2002/07/owl#sameAs',
  'http://xmlns.com/foaf/0.1/mbox_sha1sum',
  'http://xmlns.com/foaf/0.1/openid',
  'http://xmlns.com/foaf/0.1/weblog'
);
$store->setSetting('ifps', $my_ifps);
$store->consolidate();