function () {
        var query = new $rdf.Query('IRC log entries')
        var v = []
        var vv = ['chan', 'msg', 'date', 'list', 'pred', 'creator', 'content']
        vv.map(function (x) {
          query.vars.push(v[x] = $rdf.variable(x))
        })
        query.pat.add(v['chan'], ns.foaf('chatEventList'), v['list']) // chatEventList
        query.pat.add(v['list'], v['pred'], v['msg']) //
        query.pat.add(v['msg'], ns.dc('date'), v['date'])
        query.pat.add(v['msg'], ns.dc('creator'), v['creator'])
        query.pat.add(v['msg'], ns.dc('description'), v['content'])
        return query
      }
function () {
        var query = new $rdf.Query('IRC log entries')
        var v = []
        var vv = ['chan', 'msg', 'date', 'list', 'pred', 'creator', 'content']
        vv.map(function (x) {
          query.vars.push(v[x] = $rdf.variable(x))
        })
        query.pat.add(v['chan'], ns.foaf('chatEventList'), v['list']) 
        query.pat.add(v['list'], v['pred'], v['msg']) 
        query.pat.add(v['msg'], ns.dc('date'), v['date'])
        query.pat.add(v['msg'], ns.dc('creator'), v['creator'])
        query.pat.add(v['msg'], ns.dc('description'), v['content'])
        return query
      }
function ( ) { var query = new $rdf . Query ( 'IRC log entries' ) var v = [ ] var vv = [ 'chan' , 'msg' , 'date' , 'list' , 'pred' , 'creator' , 'content' ] vv . map ( function ( x ) { query . vars . push ( v [ x ] = $rdf . variable ( x ) ) } ) query . pat . add ( v [ 'chan' ] , ns . foaf ( 'chatEventList' ) , v [ 'list' ] ) // chatEventList query . pat . add ( v [ 'list' ] , v [ 'pred' ] , v [ 'msg' ] ) // query . pat . add ( v [ 'msg' ] , ns . dc ( 'date' ) , v [ 'date' ] ) query . pat . add ( v [ 'msg' ] , ns . dc ( 'creator' ) , v [ 'creator' ] ) query . pat . add ( v [ 'msg' ] , ns . dc ( 'description' ) , v [ 'content' ] ) return query }
subject is the file
subject is the file