Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SORD_VALIDATE(1)	    General Commands Manual	      SORD_VALIDATE(1)

NAME
       sord_validate - Validate	RDF data

SYNOPSIS
       sord_validate [OPTION]... INPUT...

OPTIONS
       -h     Print the	command	line options.

       -l     Print errors on a	single line.

       -v     Display version information and exit.

DESCRIPTION
       This  is	 a  simple validator which checks that all used	properties are
       actually	defined, and that the domain and range of  properties  is  ex-
       plicitly	correct.  Note that an "error" from this program does not nec-
       essarily	mean data is invalid, since it is not required	to  explicitly
       list types in RDF, however it is	a good idea to do so.

       This program never retrieves data from the web or magical places	on the
       file system, it only processes files passed  directly  on  the  command
       line.   This  means you must pass all used vocabularies to get a	useful
       result.

       If an appropriate schema	is available,  literals	 are  checked  against
       datatype	 definitions (both the explicit	datatype of the	literal	itself
       as well as any types implied by the corresponding property).  Three XML
       Schema Datatypes	(XSD) constraints are currently	supported: regular ex-
       pressions (xsd:pattern),	and inclusive range (xsd:minimumInclusive  and
       xsd:maximumInclusive).	Given an appropriate schema, this is enough to
       validate	against	most of	the standard XSD datatypes.

EXAMPLES
       sord_validate `find ~/schemas/ -name '*.ttl'` data.ttl

AUTHOR
       sord_validate was written by David Robillard <d@drobilla.net>

COPYRIGHT
       Copyright (C) 2012-2016 David Robillard.
       License:	<http://www.opensource.org/licenses/isc-license>
       This is free software; you are free to change and redistribute it.
       There is	NO WARRANTY, to	the extent permitted by	law.

SEE ALSO
       <http://drobilla.net/software/sord>

				  21 Mar 2012		      SORD_VALIDATE(1)

NAME | SYNOPSIS | OPTIONS | DESCRIPTION | EXAMPLES | AUTHOR | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=sord_validate&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help