@Test
public void test3() {

	String schemaSt = "<http://inria.fr/Person> IRI { <http://a.b/first> IRI; <http://a.b/last> IRI; }";
	String shMap = "{ FOCUS a <http://a.b/human> } @<http://inria.fr/Person>";
	try {
		ShexSchema schema = new ShexSchema(shexParser.getRules(new ByteArrayInputStream(schemaSt.getBytes())));
		BaseShapeMap shapeMap = parser.parse(new ByteArrayInputStream(shMap.getBytes()));
		DataExtractorConformant extractor = new DataExtractorConformant(schema,graph);
		
		Graph result = GlobalFactory.RDFFactory.createGraph();
		extractor.extractConformantPart(shapeMap, result);
		assertEquals(result.size(),4);
		assertTrue(result.contains(n1_first_john));
		assertTrue(result.contains(n1_last_smith));
		assertTrue(result.contains(n2_first_paul));
		assertTrue(result.contains(n2_last_east));
	} catch ( Exception e) {
		fail("Exception during the parsing");
	}
}