This is the cl-ntriples Reference Manual, version 2012.12.16, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:12:34 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-ntriples
CL-NTRIPLES is a simple basic parser for Ntriples data.
Victor Anyakin <anyakinvictor@yahoo.com>
BSD
A basic parser and a set of simple utilities to parse N-Triples data.
N-Triples provides a simple format for representation of Semantic Web/W3C RDF semantic data. CL-NTRIPLES provides a simple and easy to use parser for Common Lisp applications.
2012.12.16
alexandria
(system).
src
(module).
Modules are listed depth-first from the system components tree.
cl-ntriples/src
cl-ntriples
(system).
package.lisp
(file).
nt-parser.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-ntriples/cl-ntriples.asd
cl-ntriples
(system).
cl-ntriples/src/nt-parser.lisp
package.lisp
(file).
src
(module).
literal-string
(function).
parse-nt
(generic function).
predicate?
(function).
+nt-cr+
(constant).
+nt-lf+
(constant).
+nt-space+
(constant).
+nt-tab+
(constant).
consume-whitespace
(function).
ntriple-crlf-p
(function).
ntriple-ws-p
(function).
parse-literal
(function).
parse-node-id
(function).
parse-ntriple-doc
(function).
parse-ntriple-line
(function).
parse-ntriple-triple
(function).
parse-uriref
(function).
Packages are listed by definition order.
cl-ntriples
nt
alexandria
.
common-lisp
.
literal-string
(function).
parse-nt
(generic function).
predicate?
(function).
+nt-cr+
(constant).
+nt-lf+
(constant).
+nt-space+
(constant).
+nt-tab+
(constant).
consume-whitespace
(function).
ntriple-crlf-p
(function).
ntriple-ws-p
(function).
parse-literal
(function).
parse-node-id
(function).
parse-ntriple-doc
(function).
parse-ntriple-line
(function).
parse-ntriple-triple
(function).
parse-uriref
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Returns the literal-string value of the triple’s object.
Given the list of triples produced by PARSE-NT returns a list of triples with predicates matching the given one.
Parses N-Triples from the given source. This method
accepts a file pathname, a stream, or a string.
Returns a list of triples consisting of three elements: subject, predicate, object. Subjects can be either an ‘uriref’ or a ‘nodeID’. Objects can be of three types: ‘uriref’, ‘nodeID’ or a ‘literal’. Depending on the type of the object it is encoded into a list.
Parse the object literal from the stream.
The triple consists of a: subject, predicate, object. All they are
separated by whitespace. There is also a terminating full stop point
in the end of a tripple.
Returns a list consisting of three elements corresponding to the
tripple.
The syntax is:
triple ::= subject ws+ predicate ws+ object ws* ’.’ ws*
Jump to: | C F G L M N P |
---|
Jump to: | C F G L M N P |
---|
Jump to: | +
C |
---|
Jump to: | +
C |
---|
Jump to: | C F M N P S |
---|
Jump to: | C F M N P S |
---|