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