http://jena.apache.org/documentation/io/#command-line-tools
On 19/08/2016 09:26, "Mikael Pesonen" <[email protected]> wrote: Hi, can't find any info on how to dump a graph to RDF XML file from Linux command line. So output would look like this: <?xml version="1.0" encoding="utf-8"?> <rdf:RDF xmlns:afometa="http://www.yso.fi/onto/afo-meta/" xmlns:allars-meta="http://www.yso.fi/onto/allars-meta/" xmlns:allars="http://www.yso.fi/onto/allars/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcam="http://purl.org/dc/dcam/" ... xmlns:yso-meta="http://www.yso.fi/onto/yso-meta/2007-03-02/" xmlns:yso-translate="http://www.yso.fi/onto/yso-translate/" xmlns:yso-update="http://www.yso.fi/onto/yso-update/" xmlns:yso="http://www.yso.fi/onto/yso/" xmlns:zbwext="http://zbw.eu/namespaces/zbw-extensions/"> <rdfs:Resource rdf:about="http://id.loc.gov/authorities/subjects"/> <dct:LinguisticSystem rdf:about="http://lexvo.org/id/iso639-3/eng"/> <dct:LinguisticSystem rdf:about="http://lexvo.org/id/iso639-3/fin"/> <dct:LinguisticSystem rdf:about="http://lexvo.org/id/iso639-3/swe"/> <rdf:Description rdf:about="http://purl.org/dc/elements/1.1/"> <skos:note>This version has been modified for use in TopBraid: it defines the dc namespace prefix and imports SKOS and DCTerms.</skos:note> </rdf:Description> <rdf:Description rdf:about="http://purl.org/dc/elements/1.1/contributor"> <skos:note xml:lang="en-US">An entity responsible for making contributions to the resource.</skos:note> </rdf:Description> ... Br, Mikael -- www.lingsoft.fi Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books Mikael Pesonen System Engineer e-mail: [email protected] Tel. +358 2 279 3300 Time zone: GMT+2 Helsinki Office Eteläranta 10 FI-00130 Helsinki FINLAND Turku Office Linnankatu 10 A FI-20100 Turku FINLAND
