find-package-from-documentation resource | [function] |
---|
find-package-from-uri resource | [function] |
---|
label-localpart symbol | [function] |
---|
label-prefix symbol | [function] |
---|
label-uri symbol | [function] |
---|
escaped-p str pos | [function] |
---|
position-with-escape char str i | [function] |
---|
find-with-escape char str i | [function] |
---|
ws-p char | [function] |
---|
ws ::= space | tab |
eoln-p char | [function] |
---|
eoln ::= cr | lf | cr lf |
character-p char | [function] |
---|
character ::= [#x20-#x7E] /* US-ASCII space to decimal 126 */ |
name-char-p char | [function] |
---|
lower-name-char-p char | [function] |
---|
skip-ws str i | [function] |
---|
name-p str i | [function] |
---|
parse-name str i | [function] |
---|
name ::= [A-Za-z][A-Za-z0-9]* |
QName-p str i | [function] |
---|
parse-QName str i | [function] |
---|
name&space QName | [function] |
---|
ID-p str i | [function] |
---|
parse-nodeID str i | [function] |
---|
nodeID ::= '_:' name |
language-p str i | [function] |
---|
language ::= [a-z]+ ('-' [a-z0-9]+ )* |
%language-p str i | [function] |
---|
parse-language str i | [function] |
---|
uriref-p str i | [function] |
---|
uriref ::= '' absoluteURI '' |
parse-iriref str i | [function] |
---|
uriref ::= '' absoluteURI '' |
langString-p str i | [function] |
---|
langString ::= '"' string '"' ( '@' language )? |
parse-langString str i | [function] |
---|
langString ::= '"' string '"' ( '@' language )? |
datatypeString-p str i | [function] |
---|
datatypeString ::= ' |
parse-datatypeString str i | [function] |
---|
datatypeString ::= ' |
literal-p str i | [function] |
---|
parse-literal str i | [function] |
---|
literal ::= langString | datatypeString |
object-p str i | [function] |
---|
object ::= uriref | nodeID | literal |
parse-object str i | [function] |
---|
predicate-p str i | [function] |
---|
predicate ::= uriref |
parse-predicate str i | [function] |
---|
predicate ::= uriref |
subject-p str i | [function] |
---|
subject ::= uriref | nodeID |
parse-subject str i | [function] |
---|
subject ::= uriref | nodeID |
parse-triple str i | [function] |
---|
triple ::= subject ws+ predicate ws+ object ws* '.' ws* |
nt-comment-p str i | [function] |
---|
parse-nt-comment str i | [function] |
---|
comment ::= '#' ( character - ( cr | lf ) )* |
parse-triple-line line | [function] |
---|
line ::= ws* ( comment | triple )? eoln |
read-ntripleDoc stream process-fn | [function] |
---|
ntripleDoc ::= line* |
ask-user-nt-file | [function] |
---|
read-NTriple-file process-fn &optional file code | [function] |
---|
rdf-parser-test subject predicate object | [function] |
---|
IT Program Project in Japan: Building Operation-Support System for Large-scale System using IT
Copyright © 2003 by Galaxy Express Corporation
defTriple subject predicate object | [macro] |
---|
defines a triple with forward-reference functionality. |
/. subject predicate object | [macro] |
---|
defines a triple with forward-reference functionality. |
./ subject predicate object | [macro] |
---|
defines a triple with forward-reference functionality. |
addTriple shows very convenient usage of method.
A triple of subject/predicate/object in various types, which may be undefined in forward reference,
are accepted and they are set up step by step using appropriate entailment rules piecewisely.
+-- t/URI/t
+-- t/sym/t
+-- URI/t/t
| +-- sym/rdf:type/sym
| +-- sym/rdf:type/cls
+-- sym/rsc/t +-- sym/rdfs:subPropertyOf/sym
t/t/t -+-- sym/prop/t --+-- sym/prop/sym --+-- sym/rdfs:subPropertyOf/prop
| +-- sym/prop/data +-- sym/rdfs:subClassOf/sym
| +-- sym/rdfs:subClassOf/cls
|
+-- rsc/prop/t --+-- rsc/prop/sym
| +-- cls/prop/t ---+-- cls/prop/sym
| +--------------------- cls/rdfs:subClassOf/cls
+-- rsc/rsc/t
addTriple subject predicate object | [function] |
---|
adds a subject-predicate-object triple. |
addTriple subject (predicate (eql type)) object | [method] |
---|
addTriple (subject Class) (predicate (eql type)) (object Class) | [method] |
---|
addTriple (subject Resource) (predicate (eql type)) (object Class) | [method] |
---|
addTriple (subject Resource) (predicate (eql type)) object | [method] |
---|
addTriple (subject Resource) (predicate (eql type)) (object Resource) | [method] |
---|
addTriple (subject symbol) (predicate (eql type)) object | [method] |
---|
Range constraint is used for proactive entailment for undefined symbol. See entaiment rule rdfs3.
addTriple subject (predicate (eql type)) (object symbol) | [method] |
---|
addTriple subject (predicate (eql type)) (object iri) | [method] |
---|
addTriple (subject symbol) (predicate (eql type)) (object Class) | [method] |
---|
This form is turned out to an addClass form, due to predicate rdf:type. |
addTriple (subject iri) (predicate (eql type)) (object Class) | [method] |
---|
This form is turned out to an addClass form, due to predicate rdf:type. subject as iri is stored into rdf:about slot. |
addTriple subject (predicate (eql subClassOf)) object | [method] |
---|
superclasses-of (object Class) | [method] |
---|
subclasses-of (object Class) | [method] |
---|
addTriple (subject Class) (predicate (eql subClassOf)) (object Class) | [method] |
---|
addTriple (subject Resource) (predicate (eql subClassOf)) (object Resource) | [method] |
---|
addTriple (subject symbol) (predicate (eql subClassOf)) (object Class) | [method] |
---|
addTriple (subject iri) (predicate (eql subClassOf)) (object Class) | [method] |
---|
addTriple (subject symbol) (predicate (eql subClassOf)) (object symbol) | [method] |
---|
addTriple (subject iri) (predicate (eql subClassOf)) (object iri) | [method] |
---|
addTriple subject (predicate (eql subPropertyOf)) object | [method] |
---|
strict-abst-property-p abst spec | [function] |
---|
most-specific-property absts | [function] |
---|
addTriple (subject Property) (predicate (eql subPropertyOf)) (object Property) | [method] |
---|
addTriple (subject symbol) (predicate (eql subPropertyOf)) (object Property) | [method] |
---|
addTriple (subject iri) (predicate (eql subPropertyOf)) (object Property) | [method] |
---|
addTriple (subject symbol) (predicate (eql subPropertyOf)) (object symbol) | [method] |
---|
addTriple (subject Resource) (predicate Property) (object symbol) | [method] |
---|
addTriple (subject Resource) (predicate Property) (object iri) | [method] |
---|
addTriple (subject Resource) (predicate Property) (object uri) | [method] |
---|
addTriple (subject Resource) (predicate Property) object | [method] |
---|
addTriple (subject Resource) (predicate Resource) object | [method] |
---|
collect-domaind slots | [function] |
---|
collects domain information from properties in slots. |
addTriple (subject symbol) (predicate Property) object | [method] |
---|
addTriple (subject symbol) (predicate Resource) object | [method] |
---|
addTriple (subject iri) (predicate Property) object | [method] |
---|
addTriple (subject iri) (predicate Resource) object | [method] |
---|
addTriple (subject symbol) (predicate Property) (object number) | [method] |
---|
Domain entailment and range checks. |
addTriple (subject iri) (predicate Property) (object number) | [method] |
---|
Domain entailment and range checks. |
addTriple (subject symbol) (predicate Property) (object string) | [method] |
---|
addTriple (subject iri) (predicate Property) (object string) | [method] |
---|
Range constraint is used for satisfiability checking and proactive entailment. See entaiment rule rdfs3.
addTriple (subject symbol) (predicate Property) (object symbol) | [method] |
---|
Domain and range constraint is used for satisfiability checking and proactive entailment. See entaiment rule rdfs3.
addTriple (subject iri) (predicate Property) (object iri) | [method] |
---|
addTriple (subject cons) (predicate Property) object | [method] |
---|
addTriple subject (predicate Property) (object uri) | [method] |
---|
If symbol is undefined, entailment rule rdf1 is applied.
addTriple (subject iri) (predicate symbol) object | [method] |
---|
If symbol is undefined, entailment rule rdf1 is applied.
addTriple subject (predicate symbol) object | [method] |
---|
addTriple subject (predicate uri) object | [method] |
---|
addTriple (subject iri) (predicate uri) object | [method] |
---|
addTriple (subject uri) predicate object | [method] |
---|
addTriple (subject symbol) (predicate (eql type)) (object Resource) | [method] |
---|
addTriple (subject (eql 'string)) predicate object | [method] |
---|
addTriple (subject (eql 'decimal)) predicate object | [method] |
---|
addTriple (subject (eql 'float)) predicate object | [method] |
---|
addTriple (subject (eql 'double)) predicate object | [method] |
---|
addTriple (subject (eql 'int)) predicate object | [method] |
---|
addTriple (subject (eql 'integer)) predicate object | [method] |
---|
addTriple (subject (eql 'long)) predicate object | [method] |
---|
addTriple (subject (eql 'short)) predicate object | [method] |
---|
addTriple (subject (eql 'positiveInteger)) predicate object | [method] |
---|
addTriple (subject (eql 'nonPositiveInteger)) predicate object | [method] |
---|
addTriple (subject (eql 'negativeInteger)) predicate object | [method] |
---|
addTriple (subject (eql 'nonNegativeInteger)) predicate object | [method] |
---|
intern-from-nodeID ID | [function] |
---|
intern-langString literal | [function] |
---|
langString ::= '"' string '"' ( '@' language )? |
intern-datatypeString literal | [function] |
---|
datatypeString ::= langString '^^' uriref |
intern-literal literal | [function] |
---|
intern-from-QName QName | [function] |
---|
addTriple-from-file subject predicate object | [function] |
---|
intern-subject str | [function] |
---|
intern-predicate str | [function] |
---|
intern-object str | [function] |
---|
get-triple resource | [function] |
---|
IT Program Project in Japan: Building Operation-Support System for Large-scale System using IT.
This code is written by Seiji Koide at Galaxy Express Corporation, Japan, for the realization of the MEXT IT Program in Japan,
Copyright © 2004 by Galaxy Express Corporation
Copyright (c) 2008 Seiji Koide
get-triple-uri resource | [function] |
---|
print-uri-form uri stream | [function] |
---|
write-triple triple &optional stream | [function] |
---|
write-nt resource &optional stream | [function] |
---|
SWCLOS Home | Authors | Lisp Code Overview |