jsonLd.addNamespacePrefix("http://upb.de/persons/", "upb");
JsonLdResource fact1Resource = new JsonLdResource();
fact1Resource.setSubject("fact1");
fact1Resource.setProfile("iks:employeeOf");
fact1Resource.putProperty("person", new JsonLdIRI("upb:bnagel"));
fact1Resource.putProperty("organization", new JsonLdIRI("http://uni-paderborn.de"));
jsonLd.put(fact1Resource);
JsonLdResource fact2Resource = new JsonLdResource();
fact2Resource.setSubject("fact2");
fact2Resource.setProfile("iks:employeeOf");
fact2Resource.putProperty("person", new JsonLdIRI("upb:fchrist"));
fact2Resource.putProperty("organization", new JsonLdIRI("http://uni-paderborn.de"));
jsonLd.put(fact2Resource);
Set<Fact> facts = Fact.factsFromJsonLd(jsonLd);
assertNotNull(facts);
assertEquals(2, facts.size());