blob: d67d58af99f8f1f779ee5d9a9937b7e791b9af9a [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001use dataverse fuzzy1;
2
3declare type DBLPType as open {
4 id: int32,
5 dblpid: string,
6 title: string,
7 authors: string,
8 misc: string
9}
10
11declare nodegroup group1 on nc1, nc2;
12
13declare dataset DBLP(DBLPType)
14 partitioned by key id on group1;
15
16write output to nc1:'/tmp/pub.adm';
17
18for $paper in dataset('DBLP')
19// where $paper.id = 1
20return { 'dblp': $paper }