inverse predicate method now working
This commit is contained in:
parent
14e83ecc6c
commit
390c05ab3f
2 changed files with 2 additions and 5 deletions
|
@ -271,9 +271,7 @@ public class AddGrantRoleToPersonGenerator implements EditConfigurationGenerator
|
|||
urisInScope.put("roleType",
|
||||
Arrays.asList(new String[]{getRoleType(vreq)}));
|
||||
//Setting inverse role predicate
|
||||
// with ISF changes this will always be the same
|
||||
urisInScope.put("inverseRolePredicate", Arrays.asList(new String[]{"http://purl.obolibrary.org/obo/RO_0000052"}));
|
||||
|
||||
urisInScope.put("inverseRolePredicate", getInversePredicate(vreq));
|
||||
editConfiguration.setUrisInScope(urisInScope);
|
||||
//Uris in scope include subject, predicate, and object var
|
||||
//literals in scope empty initially, usually populated by code in prepare for update
|
||||
|
|
|
@ -270,8 +270,7 @@ public abstract class AddRoleToPersonTwoStageGenerator extends BaseEditConfigura
|
|||
HashMap<String, List<String>> urisInScope = new HashMap<String, List<String>>();
|
||||
|
||||
//Setting inverse role predicate
|
||||
//With ISF changes this will always be the same
|
||||
urisInScope.put("inverseRolePredicate", Arrays.asList(new String[]{"http://purl.obolibrary.org/obo/RO_0000052"}));
|
||||
urisInScope.put("inverseRolePredicate", getInversePredicate(vreq));
|
||||
urisInScope.put("roleType", list( getRoleType() ) );
|
||||
|
||||
//Uris in scope include subject, predicate, and object var
|
||||
|
|
Loading…
Add table
Reference in a new issue