	@Test
	public void test2() {

		String schemaSt = "<http://inria.fr/Person> { a 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_a_human));
			assertTrue(result.contains(n1_last_smith));
			assertTrue(result.contains(n2_a_human));
			assertTrue(result.contains(n2_last_east));
		} catch ( Exception e) {
			fail("Exception during the parsing");
		}
	}