emitTriple(subject, predicate, object, statementId) {
        this.push(this.dataFactory.quad(subject, predicate, object, this.defaultGraph));
        // Reify triple
        if (statementId) {
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'type'), this.dataFactory.namedNode(RdfXmlParser.RDF + 'Statement'), this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'subject'), subject, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'predicate'), predicate, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'object'), object, this.defaultGraph));
        }
    }
/**
     * Emit the given triple to the stream.
     * @param {Term} subject A subject term.
     * @param {Term} predicate A predicate term.
     * @param {Term} object An object term.
     * @param {Term} statementId An optional resource that identifies the triple.
     *                           If truthy, then the given triple will also be emitted reified.
     */
Emit the given triple to the stream.
@param {Term} subject A subject term.
@param {Term} predicate A predicate term.
@param {Term} object An object term.
@param {Term} statementId An optional resource that identifies the triple.
If truthy, then the given triple will also be emitted reified.
Emit the given triple to the stream . @param { Term } subject A subject term . @param { Term } predicate A predicate term . @param { Term } object An object term . @param { Term } statementId An optional resource that identifies the triple . If truthy then the given triple will also be emitted reified .
emitTriple(subject, predicate, object, statementId) {
        this.push(this.dataFactory.quad(subject, predicate, object, this.defaultGraph));
        if (statementId) {
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'type'), this.dataFactory.namedNode(RdfXmlParser.RDF + 'Statement'), this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'subject'), subject, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'predicate'), predicate, this.defaultGraph));
            this.push(this.dataFactory.quad(statementId, this.dataFactory.namedNode(RdfXmlParser.RDF + 'object'), object, this.defaultGraph));
        }
    }
emitTriple ( subject , predicate , object , statementId ) { this . push ( this . dataFactory . quad ( subject , predicate , object , this . defaultGraph ) ) ; if ( statementId ) { this . push ( this . dataFactory . quad ( statementId , this . dataFactory . namedNode ( RdfXmlParser . RDF + 'type' ) , this . dataFactory . namedNode ( RdfXmlParser . RDF + 'Statement' ) , this . defaultGraph ) ) ; this . push ( this . dataFactory . quad ( statementId , this . dataFactory . namedNode ( RdfXmlParser . RDF + 'subject' ) , subject , this . defaultGraph ) ) ; this . push ( this . dataFactory . quad ( statementId , this . dataFactory . namedNode ( RdfXmlParser . RDF + 'predicate' ) , predicate , this . defaultGraph ) ) ; this . push ( this . dataFactory . quad ( statementId , this . dataFactory . namedNode ( RdfXmlParser . RDF + 'object' ) , object , this . defaultGraph ) ) ; } }
Emit the given triple to the stream.
Emit the given triple to the stream .
// Reify triple