private Stream<MultiTraversal> addRelatesPattern(String start,String casting,VarAdmin roleType,VarAdmin rolePlayer){
  String roletypeName=roleType.getName();
  String roleplayerName=rolePlayer.getName();
  return Stream.of(MultiTraversal.create(Fragment.create(null,EDGE_BOUNDED,start,casting),Fragment.create(null,EDGE_UNBOUNDED,casting,start)),MultiTraversal.create(Fragment.create(null,EDGE_UNIQUE,casting,roleplayerName),Fragment.create(null,EDGE_BOUNDED,roleplayerName,casting)),MultiTraversal.create(Fragment.create(null,EDGE_UNIQUE,casting,roletypeName),Fragment.create(null,EDGE_UNBOUNDED,roletypeName,casting)));
}

private Stream < MultiTraversal > addRelatesPattern ( String start , String casting , VarAdmin roleType , VarAdmin rolePlayer ) { String roletypeName = roleType . getName ( ) ; String roleplayerName = rolePlayer . getName ( ) ; return Stream . of ( MultiTraversal . create ( Fragment . create ( null , EDGE_BOUNDED , start , casting ) , Fragment . create ( null , EDGE_UNBOUNDED , casting , start ) ) , MultiTraversal . create ( Fragment . create ( null , EDGE_UNIQUE , casting , roleplayerName ) , Fragment . create ( null , EDGE_BOUNDED , roleplayerName , casting ) ) , MultiTraversal . create ( Fragment . create ( null , EDGE_UNIQUE , casting , roletypeName ) , Fragment . create ( null , EDGE_UNBOUNDED , roletypeName , casting ) ) ) ; }
add some patterns where this variable is a relation relating the given roleplayer as the given roletype
