/** * Describe a namespace into the supplied Graph object. */ private void describeNamespaceTx(final HttpServletRequest req, final Graph g, final String namespace, final boolean describeEachNamedGraph, final long tx) throws IOException { // Get a view onto that KB instance for that timestamp. final AbstractTripleStore tripleStore = getBigdataRDFContext() .getTripleStore(namespace, tx); if (tripleStore == null) { /* * There is no such triple/quad store instance (could be a * concurrent delete of the namespace). */ return; } final BNode aDataSet = ValueFactoryImpl.getInstance().createBNode(); // Figure out the service end point(s). final String[] serviceURI = getServiceURIs(getServletContext(), req); final VoID v = new VoID(g, tripleStore, serviceURI, aDataSet); v.describeDataSet(false/* describeStatistics */, describeEachNamedGraph); }
/** * Describe a namespace into the supplied Graph object. */ private void describeNamespaceTx(final HttpServletRequest req, final Graph g, final String namespace, final boolean describeEachNamedGraph, final long tx) throws IOException { // Get a view onto that KB instance for that timestamp. final AbstractTripleStore tripleStore = getBigdataRDFContext() .getTripleStore(namespace, tx); if (tripleStore == null) { /* * There is no such triple/quad store instance (could be a * concurrent delete of the namespace). */ return; } final BNode aDataSet = ValueFactoryImpl.getInstance().createBNode(); // Figure out the service end point(s). final String[] serviceURI = getServiceURIs(getServletContext(), req); final VoID v = new VoID(g, tripleStore, serviceURI, aDataSet); v.describeDataSet(false/* describeStatistics */, describeEachNamedGraph); }
subject = vf.createBNode(triple.getSubject().getIRI().toString().substring(2)); subject = vf.createBNode(triple.getSubject().getIRI().toString()); object = vf.createBNode(triple.getObject().getIRI().toString().substring(2)); object = vf.createBNode(triple.getObject().getIRI().toString());
annotationIdentifier = vf.createBNode();
final ValueFactoryImpl vf = ValueFactoryImpl.getInstance(); final BNode testBNode1 = vf.createBNode(); final BNode testBNode2 = vf.createBNode();