@Override final public IV c() { if (c == null) return null; return c.getIV(); }
public String getName() { return m_gpo.getId().stringValue(); }
final BigdataResource c = stmt.getContext() == null ? null : (BigdataResource) getDistinctTerm(stmt.getContext()); stmts[n] = s.getValueFactory().createStatement(s, p, o, c, stmt.getStatementType());
final BigdataResource c = stmt.getContext() == null ? null : (BigdataResource) getDistinctTerm(stmt.getContext()); stmts[n] = s.getValueFactory().createStatement(s, p, o, c, stmt.getStatementType());
@Override final public IV c() { if (c == null) return null; return c.getIV(); }
public String getName() { return m_gpo.getId().stringValue(); }
@Override final public IV s() { return s.getIV(); }
public String getName() { return m_gpo.getId().stringValue(); }
@Override final public IV s() { return s.getIV(); }
public String getName() { return m_gpo.getId().stringValue(); }
@Override public String pp() { // final Lock readLock = m_lock.readLock(); // readLock.lock(); // try { // materialize(); final StringBuilder out = new StringBuilder("ID: " + m_id.stringValue() + "\n"); GPOEntry entry = m_headEntry; while (entry != null) { Iterator<Value> values = entry.values(); while (values.hasNext()) out.append(entry.m_key.toString() + ": " + values.next().toString() + "\n"); entry = entry.m_next; } return out.toString(); // } finally { // readLock.unlock(); // } }
@Override public String pp() { // final Lock readLock = m_lock.readLock(); // readLock.lock(); // try { // materialize(); final StringBuilder out = new StringBuilder("ID: " + m_id.stringValue() + "\n"); GPOEntry entry = m_headEntry; while (entry != null) { Iterator<Value> values = entry.values(); while (values.hasNext()) out.append(entry.m_key.toString() + ": " + values.next().toString() + "\n"); entry = entry.m_next; } return out.toString(); // } finally { // readLock.unlock(); // } }
/** * Construct a triple from {@link BigdataValue}s and the specified statement * type. * * @param s * @param p * @param o * @param type */ public SPO(final BigdataResource s, final BigdataURI p, final BigdataValue o, final StatementEnum type) { this(s.getIV(), p.getIV(), o.getIV(), type); }
private Object indentOut(IGPO clss, int indent) { Value lbl = clss.getValue(RDFS.LABEL); final String display = lbl == null ? clss.getId().stringValue() : lbl .stringValue(); return indents.substring(0, indent) + display; }
/** * Construct a triple from {@link BigdataValue}s and the specified statement * type. * * @param s * @param p * @param o * @param type */ public SPO(final BigdataResource s, final BigdataURI p, final BigdataValue o, final StatementEnum type) { this(s.getIV(), p.getIV(), o.getIV(), type); }
private Object indentOut(IGPO clss, int indent) { Value lbl = clss.getValue(RDFS.LABEL); final String display = lbl == null ? clss.getId().stringValue() : lbl .stringValue(); return indents.substring(0, indent) + display; }
final OWLPropertySkin prop = props.next(); final IGPO typ = prop.getType(); System.out.println("- " + prop.getName() + " : " + (typ == null ? null : typ.getId().stringValue()));