@determineGraphTerm()
@determineBlankPrefix()
@addGraphToMetaKB()
@inheritPermissionsFromParent()
@rdfStream = fs.createReadStream(@fullPath)
@parser = N3.Parser({format: @mimetype})
@parser.parse(@rdfStream, @ingestAssertion, @ingestPrefix)
allegeMetaData: ->
if @localSpogiCount?
@noodb.allege(@graphCURIE, 'nrn:hasTripleCount', @localSpogiCount, 'nrn:metaKB')
if @localPrefixCount?
@noodb.allege(@graphCURIE, 'nrn:hasPrefixCount', @localPrefixCount, 'nrn:metaKB')
if @lastChangeTime?
@noodb.allege(@graphCURIE, 'nrn:lastChangeTime', @lastChangeTime, 'nrn:metaKB')
afterReading: ->
@noodb.log.notice("#{@localSpogiCount} SPOG read from <#{@fullPath}>")
@allegeMetaData()
if @callback?
@callback.call(this)
ingestAssertion: (error, quad, prefixes) =>