What's RDF, anyway?
rdf:
scheme for native RDF datasourcesrdf:foo
) or RDF/XML data sources (think
N3, turtle)Mainly RDF/XML parser/serializer work
Exposing better APIs, to both core code base and web applications
Low level APIs only, exposing commonly performant queries, simple asserts
rdf:datatype
, is NC:parseTypesubject -> predicate -> object
instead of source -> property -> target
nsISimpleEnumerator
QueryInterface
rdfITripleVisitor
interface rdfITripleVisitor : nsISupports
{
void visit(in nsIRDFResource aSubject, in nsIRDFResource aPredicate,
in nsIRDFNode aObject, in boolean aTruthValue);
};
function aTripleVisitor(aSubject, aPred, aObj, aTruth) {return;}
someDS.visitAllTriples(aTripleVisitor);
null
Components.returnCode
nsIWeakReference
,
resource holds weak reference to delegate, resource may outlive
delegate, delegate may hold strong reference to resource (hover for diagram)nsISupports
nsIInterfaceRequestor
window.RDF
, grants access to
resources and literalsContainerUtils
http://home.netscape.com/NC-rdf#