[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[CASHeW-s-editor-patches] FYI: RDF #09

From: Andrew John Hughes
Subject: [CASHeW-s-editor-patches] FYI: RDF #09
Date: Mon, 18 Apr 2005 01:53:58 +0100
User-agent: Mutt/1.5.6+20040907i

I'm committing the attached patch to finish up the handling
of basic triples in RDF.  With this patch, most shortcuts
should be handled.  Testing shows that it can handle examples
1 to 7 of the RDF XML specification (which follows on from the
primer, oddly enough) and the music OWL ontology produced
by myself and Simon.  The main remaining areas are collections
and parse types.


2005-04-18  Andrew John Hughes  <address@hidden>

        * docs/api/.cvsignore:
        Ignore html directory and create_html marker.
        * lib/.cvsignore:
        Ignore new jar files.
        * src/nongnu/cashews/commons/
        (hashCode()): Removed dumb use of superclass hashCode as this
        is java.lang.Object.
        * src/nongnu/cashews/commons/
        Stack class to handle maps containing pairs.
        (PairStack()): New constructor.
        (peek()): New method.
        (pop()): New method.
        (push(A,B)): New method.
        (search(A,B)): New method.
        * src/nongnu/cashews/rdf/
        (subjectURI): New field.
        (PairStack<Subject,Predicate>): New field.
        (Set<String>): New field.
        (RDFHandler(java.util.logging.Handler)): Initialize new variables.
        Handle maintaining subjectURI and nested subjects.
        Remove attributes from set when parsed, generate blank node ids
        when not present, and add triples for property attributes.
        (setSubjectType(String)): Documented.
        (generateBlankID()): New method to generate a blank node ID.
        (endSubject()): Handle the end of a subject node, including
        nested nodes.
        * src/nongnu/cashews/rdf/
        (main(String[])): Expect URIs rather than files at command line.
        * src/nongnu/cashews/rdf/
        (man(String[])): Likewise.

Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.

No software patents in Europe --

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
public class gcj extends Freedom implements Java { ... }

Attachment: rdf-09.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]