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