use of com.bigdata.rdf.internal.impl.TermId in project wikidata-query-rdf by wikimedia.
the class BigdataValuesHelper method makeIV.
/**
* Make IV from a value.
* @param type Value type.
*/
public static IV makeIV(BigdataValueFactory vf, Value value, VTE type) {
final BigdataValue l = vf.asValue(value);
TermId mock = TermId.mockIV(type);
mock.setValue(l);
l.setIV(mock);
return mock;
}
Aggregations