Skip to content

which rapper version is required? #19

@VladimirAlexiev

Description

@VladimirAlexiev

I installed https://download.librdf.org/binaries/win32/1.0.3/redland-1.0.3-Win32.zip, which includes rapper 1.4.8.
Many rdf commands return errors like these:

rdf turtleize test.ttl
  ntriples     for N-Triples
  rdfxml-xmp   for RDF/XML (XMP Profile)
  rdfxml-abbrev for RDF/XML (Abbreviated)
  rdfxml       for RDF/XML
  rss-1.0      for RSS 1.0
  atom         for Atom 1.0
rdf desc foaf:Person
  ntriples     for N-Triples
  rdfxml-xmp   for RDF/XML (XMP Profile)
  rdfxml-abbrev for RDF/XML (Abbreviated)
  rdfxml       for RDF/XML
  rss-1.0      for RSS 1.0
  atom         for Atom 1.0

rdf calls rapper with option -q quiet. If I run without this option, I get:

rapper  -i guess -o turtle test.ttl
rapper.exe: invalid argument `turtle' for `-o'
Valid arguments are:
  ntriples     for N-Triples
  rdfxml-xmp   for RDF/XML (XMP Profile)
  rdfxml-abbrev for RDF/XML (Abbreviated)
  rdfxml       for RDF/XML
  rss-1.0      for RSS 1.0
  atom         for Atom 1.0

And indeed, its help explicitly says that turtle is not a valid output format:

rapper -h
Usage: rapper.exe [OPTIONS] <source URI> [base URI]
Raptor RDF parser utility 1.4.8
Copyright 2000-2006 David Beckett. Copyright 2000-2005 University of Bristol
Parse RDF content at the source URI into RDF triples.

Main options:
  ...
  -o FORMAT  Set the output format to one of:
    ntriples                N-Triples (default)
    rdfxml-xmp              RDF/XML (XMP Profile)
    rdfxml-abbrev           RDF/XML (Abbreviated)
    rdfxml                  RDF/XML
    rss-1.0                 RSS 1.0
    atom                    Atom 1.0

For reference, here's also

roqet -h
Usage: roqet [OPTIONS] <query URI> [base URI]
       roqet [OPTIONS] -e <query string> [base URI]
Rasqal RDF query utility 0.9.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions