Re: [ANN] SIMILE Welkin 1.1 Released

From: Alan McMorran <a.mcmorran_at_eee.strath.ac.uk>
Date: Wed, 13 Jul 2005 12:00:55 +0100

> This release brings several new features and a rewritten internal RDF
> architecture, which lead us to a drastic reduction in code size, memory
> consuption, startup time and RDF load time.

Just out of interest, why did you move from the Jena parser to the OpenRDF
one? The Open RDF parser doesn't seem to like my data and throws parse
exceptions like:

java.lang.IllegalArgumentException: '#_7' is not a legal (absolute) URI
        at org.openrdf.rio.rdfxml.RdfXmlParser._parse(RdfXmlParser.java:427)
        at org.openrdf.rio.rdfxml.RdfXmlParser.parse(RdfXmlParser.java:363)
        at edu.mit.simile.welkin.ModelManager.addModel(Unknown Source)
        at edu.mit.simile.welkin.ModelManager.addModel(Unknown Source)
        at edu.mit.simile.welkin.Welkin.initAll(Unknown Source)
        at edu.mit.simile.welkin.Welkin.loadFile(Unknown Source)
        at edu.mit.simile.welkin.Welkin.actionPerformed(Unknown Source)


When importing: (segment of the data)

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:cim="http://iec.ch/TC57/2003/CIM-schema-cim10#"
xmlns:mercury="http://eee.strath.ac.uk/mercury/app-data-1.0#"
xmlns:strath="http://eee.strath.ac.uk/CIM/CIM-Extended-SU01#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >


<cim:LoadBreakSwitch rdf:ID="_7">
<strath:LoadBreakSwitch.type>LoadBreakSwitch</strath:LoadBreakSwitch.type>
<strath:LoadBreakSwitch.neighbour rdf:resource="#_11"/>
<strath:LoadBreakSwitch.neighbour rdf:resource="#_8"/>
</cim:LoadBreakSwitch>


<cim:EnergyConsumer rdf:ID="_8">
<strath:EnergyConsumer.type>EnergyConsumer</strath:EnergyConsumer.type>
<strath:EnergyConsumer.neighbour rdf:resource="#_7"/>
</cim:EnergyConsumer>


<cim:TransformerWinding rdf:ID="_10">
<strath:TransformerWinding.type>TransformerWinding</strath:TransformerWindin
g.type>
<strath:TransformerWinding.neighbour rdf:resource="#_99"/>
<strath:TransformerWinding.neighbour rdf:resource="#_11"/>
</cim:TransformerWinding>

---
The same data imports into the Jena version of Welkin without a problem, and
I actually spent a few hours the other night hacking in some power system
diagram symbols into the Jena version of Welkin to make the resulting graph
look like a proper power system network diagram.
Great wee tool though, everyone I've showed it to here has been highly
impressed.
Cheers
Alan
-- 
Alan McMorran
Research Fellow
Advances Electrical Systems Group
Institute for Energy and Environment
Electronic and Electrical Engineering Department
Royal College Building
University of Strathclyde
Glasgow G1 1XW.
Tel: +44 (0)141 548 4839
Received on Wed Jul 13 2005 - 10:58:07 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT