-
Notifications
You must be signed in to change notification settings - Fork 44
Importing
Marc Jansing edited this page May 21, 2014
·
9 revisions
iQvoc supports importing SKOS vocabularies out of the box, either on the command line or directly via the web interface (Dashboard > Import - requires administrator role).
To use the CLI importer:
rake iqvoc:import:url URL=<filename> NAMESPACE='<URI>'
For example, to import the default sample data (list of hobbies; RDF/XML, Turtle), execute the following command from the repository's root directory:
rake iqvoc:import:url URL=data/hobbies.nt NAMESPACE='http://hobbies.com/'
(those sample files also serve as an example of the expected format and structure)
Important: Import data must be in N-Triples format. Use tools like the Raptor to convert your data into N-Triples:
rapper -i <InputFormat> -o ntriples <YourFile>