Chris@0: .TH SORD_VALIDATE 1 "21 Mar 2012" Chris@0: Chris@0: .SH NAME Chris@0: .B sord_validate \- Validate RDF data Chris@0: Chris@0: .SH SYNOPSIS Chris@0: sord_validate [OPTION]... INPUT... Chris@0: Chris@0: .SH OPTIONS Chris@0: .TP Chris@0: \fB\-h\fR Chris@0: Print the command line options. Chris@0: Chris@0: .TP Chris@0: \fB\-l\fR Chris@0: Print errors on a single line. Chris@0: Chris@0: .TP Chris@0: \fB\-v\fR Chris@0: Display version information and exit. Chris@0: Chris@0: .SH DESCRIPTION Chris@0: This is a simple validator which checks that all used properties are actually Chris@0: defined, and that the domain and range of properties is explicitly correct. Chris@0: Note that an "error" from this program does not necessarily mean data is Chris@0: invalid, since it is not required to explicitly list types in RDF, however it Chris@0: is a good idea to do so. Chris@0: Chris@0: This program never retrieves data from the web or magical places on the file Chris@0: system, it only processes files passed directly on the command line. This Chris@0: means you must pass all used vocabularies to get a useful result. Chris@0: Chris@0: If an appropriate schema is available, literals are checked against datatype Chris@0: definitions (both the explicit datatype of the literal itself as well as any Chris@0: types implied by the corresponding property). Three XML Schema Datatypes (XSD) Chris@0: constraints are currently supported: regular expressions (xsd:pattern), and Chris@0: inclusive range (xsd:minimumInclusive and xsd:maximumInclusive). Given an Chris@0: appropriate schema, this is enough to validate against most of the standard XSD Chris@0: datatypes. Chris@0: Chris@0: .SH EXAMPLES Chris@0: sord_validate `find ~/schemas/ -name '*.ttl'` data.ttl Chris@0: Chris@0: .SH AUTHOR Chris@0: sord_validate was written by David Robillard Chris@0: Chris@0: .SH COPYRIGHT Chris@0: Copyright \(co 2012-2013 David Robillard. Chris@0: .br Chris@0: License: Chris@0: .br Chris@0: This is free software; you are free to change and redistribute it. Chris@0: .br Chris@0: There is NO WARRANTY, to the extent permitted by law. Chris@0: Chris@0: .SH "SEE ALSO" Chris@0: