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