annotate src/sord-0.12.0/doc/sord_validate.1 @ 94:d278df1123f9

Add liblo
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 20 Mar 2013 15:25:02 +0000
parents 545efbb81310
children
rev   line source
cannam@85 1 .TH SORD_VALIDATE 1 "21 Mar 2012"
cannam@85 2
cannam@85 3 .SH NAME
cannam@85 4 .B sord_validate \- Validate RDF data
cannam@85 5
cannam@85 6 .SH SYNOPSIS
cannam@85 7 sord_validate [OPTION]... INPUT...
cannam@85 8
cannam@85 9 .SH OPTIONS
cannam@85 10 .TP
cannam@85 11 \fB\-h\fR
cannam@85 12 Print the command line options.
cannam@85 13
cannam@85 14 .TP
cannam@85 15 \fB\-l\fR
cannam@85 16 Print errors on a single line.
cannam@85 17
cannam@85 18 .TP
cannam@85 19 \fB\-v\fR
cannam@85 20 Display version information and exit.
cannam@85 21
cannam@85 22 .SH DESCRIPTION
cannam@85 23 This is a simple validator which checks that all used properties are actually
cannam@85 24 defined, and that the domain and range of properties is explicitly correct.
cannam@85 25 Note that an "error" from this program does not necessarily mean data is
cannam@85 26 invalid, since it is not required to explicitly list types in RDF, however it
cannam@85 27 is a good idea to do so.
cannam@85 28
cannam@85 29 This program never retrieves data from the web or magical places on the file
cannam@85 30 system, it only processes files passed directly on the command line. This
cannam@85 31 means you must pass all used vocabularies to get a useful result.
cannam@85 32
cannam@85 33 If an appropriate schema is available, literals are checked against datatype
cannam@85 34 definitions (both the explicit datatype of the literal itself as well as any
cannam@85 35 types implied by the corresponding property). Three XML Schema Datatypes (XSD)
cannam@85 36 constraints are currently supported: regular expressions (xsd:pattern), and
cannam@85 37 inclusive range (xsd:minimumInclusive and xsd:maximumInclusive). Given an
cannam@85 38 appropriate schema, this is enough to validate against most of the standard XSD
cannam@85 39 datatypes.
cannam@85 40
cannam@85 41 .SH EXAMPLES
cannam@85 42 sord_validate `find ~/schemas/ -name '*.ttl'` data.ttl
cannam@85 43
cannam@85 44 .SH AUTHOR
cannam@85 45 sord_validate was written by David Robillard <d@drobilla.net>
cannam@85 46
cannam@85 47 .SH COPYRIGHT
cannam@85 48 Copyright \(co 2012-2013 David Robillard.
cannam@85 49 .br
cannam@85 50 License: <http://www.opensource.org/licenses/isc-license>
cannam@85 51 .br
cannam@85 52 This is free software; you are free to change and redistribute it.
cannam@85 53 .br
cannam@85 54 There is NO WARRANTY, to the extent permitted by law.
cannam@85 55
cannam@85 56 .SH "SEE ALSO"
cannam@85 57 <http://drobilla.net/software/sord>