diff options
author | Nick White <git@njw.me.uk> | 2010-09-26 12:56:47 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-09-26 12:56:47 +0100 |
commit | 75310d3fc213bdd007d5716fd3c9014ed10f283f (patch) | |
tree | 4540b9190403394c1831039e7b112c3b927e90a5 | |
parent | 33d710efd825eb493459494821dda22467011973 (diff) | |
download | njw-website-75310d3fc213bdd007d5716fd3c9014ed10f283f.tar.bz2 njw-website-75310d3fc213bdd007d5716fd3c9014ed10f283f.zip |
Sort academic articles by date
-rwxr-xr-x | bibtotxt.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |