YAST yast = y.ymris();
List<RuleSet> ruleSets = yast.ruleSets();
RuleSet A = ruleSets.get(0), B = ruleSets.get(1);
// Net B = YASTtoNet.rulesetToNet( ruleSets.get( 1 ) );
Graph base = graphWith( "" );
InfGraph igA = new DirectReasoner( A ).bind( base );
igA.size();
igA.getPrefixMapping()
.setNsPrefix( "xsd", "http://www.w3.org/2001/XMLSchema#" )
.setNsPrefix( "rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#" )
.setNsPrefix( "rdfs", "http://www.w3.org/2000/01/rdf-schema#" )
.setNsPrefix( "rb", "urn:x-hp-jena:rubrik/xsdBase" )
;
ModelFactory.createModelForGraph( igA ).write( System.err, "TTL" );
InfGraph igB = new DirectReasoner( B ).bind( igA );
igB.size();
return igB;
}