File: get-data

package info (click to toggle)
apache-jena 4.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 157,688 kB
  • sloc: java: 628,913; xml: 20,913; sh: 7,877; javascript: 1,753; ruby: 1,097; perl: 863; python: 24; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 679 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo Getting JISC organizations
wget -O src/main/resources/data/jisc-organizations.rdf http://www.ovod.net/wilbert/linkedData/jiscMUorganisations.rdf
java jena.rdfcat -o Turtle src/main/resources/data/jisc-organizations.rdf > src/main/resources/data/jisc-organizations.ttl

# split the file up
arq --data=src/main/resources/data/jisc-organizations.ttl "describe ?uni where {?uni <http://www.jiscmu.ac.uk/schema/muweb/Sector> 'Higher Education'}" > src/main/resources/data/he.ttl
arq --data=src/main/resources/data/jisc-organizations.ttl "describe ?uni where {?uni <http://www.jiscmu.ac.uk/schema/muweb/Sector> 'Further Education'}" > src/main/resources/data/fe.ttl