lucmoreau / ProvToolbox

Java toolkit to create and convert W3C PROV data model representations, and build provenance-enabled applications in a variety of programming languages (java, python, typescript, javascript)
Other
74 stars 42 forks source link

WasInfluencedBy doesn't have HasRole interface #65

Closed mikejewell closed 10 years ago

mikejewell commented 11 years ago

I'm testing with prov-o-property-qualifiedInfluence-PASS.ttl, which has:

   prov:wasInfluencedBy :bob
   prov:qualifiedInfluence [   
      # Even though PROV systems do not understand :wasConductedBy, 
      a prov:Influence;      # Inferred
      prov:agent   :bob;     # The object of :wasConductedBy
      prov:hadRole :surgeon;
   ];

The role attribute is being skipped however, possibly due to WasInfluencedBy not implementing HasRole. This results in two duplicate WasInfluencedBys, so the result only has 1 of them. Should WIB have this interface?

lucmoreau commented 11 years ago

There is no role for Influence. Luc

On 14/01/2013 14:21, mikejewell wrote:

I'm testing with prov-o-property-qualifiedInfluence-PASS.ttl, which has:

| prov:wasInfluencedBy :bob prov:qualifiedInfluence [

Even though PROV systems do not understand :wasConductedBy,

   a prov:Influence;      # Inferred
   prov:agent   :bob;     # The object of :wasConductedBy
   prov:hadRole :surgeon;
];

|

The role attribute is being skipped however, possible due to WasInfluencedBy not implementing HasRole. This results in two duplicate WasInfluencedBys, so the result only has 1 of them. Should WIB have this interface?

— Reply to this email directly or view it on GitHub https://github.com/lucmoreau/ProvToolbox/issues/65.

Web Bug from https://github.com/notifications/beacon/01TjUgCG2lQmnJmL236AvRoZLuCyRc2KveFj-FXmwLop8x6cu5pvNm84HqrHLZON.gif

Professor Luc Moreau Electronics and Computer Science tel: +44 23 8059 4487 University of Southampton fax: +44 23 8059 2865 Southampton SO17 1BJ email: l.moreau@ecs.soton.ac.uk United Kingdom http://www.ecs.soton.ac.uk/~lavm

mikejewell commented 11 years ago

Ah ok! What's the best way to handle the failing test case?

lucmoreau commented 10 years ago

Now closing.