From 75310d3fc213bdd007d5716fd3c9014ed10f283f Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 26 Sep 2010 12:56:47 +0100 Subject: Sort academic articles by date --- bibtotxt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bibtotxt.sh b/bibtotxt.sh index 6b10d38..71f16ec 100755 --- a/bibtotxt.sh +++ b/bibtotxt.sh @@ -19,7 +19,8 @@ WHERE { OPTIONAL { ?a bibo:issue ?iss }. ?j dc:title ?jtitle; bibo:uri ?juri. -}" +} +ORDER BY DESC(?artdate)" roqet -q -r csv -e "$q" -D /dev/stdin < $rdf | sed '/^Result/d' \ | while read r; do -- cgit v1.2.3