Literal lit1 = model.createTypedLiteral(yes); Literal lit2 = model.createTypedLiteral(no);
if (Some condition)
{
individual.setPropertyValue(Participate, lit1);
else
individual.setPropertyValue(Participate, lit2);
}
Is this possible that we have two set of values for a property? I use the
above statements but it gives me error at setting second property
else
individual.setPropertyValue(Participate, lit2);
