chenejac / VIVOTestMigration

0 stars 0 forks source link

VIVO-183: Add "rule" support #174

Open chenejac opened 11 years ago

chenejac commented 11 years ago

Jon Corson-Rikert (Migrated from VIVO-183) said:

Moved from https://issues.library.cornell.edu/browse/NIHVIVO-2315, created by Stella on 3/2/12:

This should probably be coordinated with the rule-related component of the authorization work.

At the very least we need ways of generating slightly complex mappings of the form

hasPublicationVenue(?pub, ?journal) ^ issueNumber(?pub, ?issueNumber) --> hasIssue(?pub, ?issue) ^ number(?pub, ?issueNumber) ^ journal(?issue, ?journal)

We probably want to do this with SPARQL rather than a real rule language, to minimize expense in terms of both time and memory.

Questions:

  1. Does this hook into the SimpleReasoner, or is it a separate system?
  2. Can we prune the search space to avoid running queries during updates that will obviously have no effect?
  3. How will we manage updates of generated blank nodes?
  4. What graph should the results be written to?
  5. How do the rules get represented?
chenejac commented 11 years ago

Brian Caruso said:

Consider jena's rule engine: http://jena.apache.org/documentation/inference/#rules