MAN page from openSUSE Leap 15 sord-0.16.2-lp151.22.4.x86_64.rpm
Section: User Commands (1)
Updated: 21 Mar 2012Index
NAMEsord_validate - Validate RDF data
sord_validate [OPTION]... INPUT...
- Print the command line options.
- Print errors on a single line.
- Display version information and exit.
This is a simple validator which checks that all used properties are actuallydefined, and that the domain and range of properties is explicitly correct.Note that an "error" from this program does not necessarily mean data isinvalid, since it is not required to explicitly list types in RDF, however itis a good idea to do so.
This program never retrieves data from the web or magical places on the filesystem, it only processes files passed directly on the command line. Thismeans you must pass all used vocabularies to get a useful result.
If an appropriate schema is available, literals are checked against datatypedefinitions (both the explicit datatype of the literal itself as well as anytypes implied by the corresponding property). Three XML Schema Datatypes (XSD)constraints are currently supported: regular expressions (xsd:pattern), andinclusive range (xsd:minimumInclusive and xsd:maximumInclusive). Given anappropriate schema, this is enough to validate against most of the standard XSDdatatypes.
sord_validate `find ~/schemas/ -name '*.ttl'` data.ttl
sord_validate was written by David Robillard <email@example.com>
Copyright © 2012-2016 David Robillard.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
- SEE ALSO
This document was created byman2html,using the manual pages.