Monday, December 22, 2014

Just trying to get this to work...going through a FreeCAD Tutorial

http://www.freecadweb.org/wiki/index.php?title=Basic_Part_Design_Tutorial

Saturday, December 13, 2014

The status of things


 Concerning the mind controlled robot project I have been thinking, Beau is someone who you do not meet everyday. He literally did design for the Parallax Propeller chip (as far as I know). With respect to programming Arduino, I have some experience with the C language family. I have a book I've looked at several times, and I have even studied pointers, although I do have confidence issues. I do hope that I will be able to get around these. Mike Douglas was awesome and donated to the project. I'm not sure if other people will jump in just yet, but I have been considering devoting most of what little income I have to bring this to project to fuition. 

I have put a lot of time into EISPP, and it concerns me with respect to starting other projects. It has brought it's rewards though. I've met some interesting people. Some Sensoricans seem to like it, and it seems to fit well with what is going on at the Open App Ecosystem. Right now I am studying FreeCAD to illustrate merging it with sections 2 and 4 of ISO15926 to allow for labeling of objects with sematic interoperability with the rest of EISPP.

The filament extruder project has not gone anywhere, and the same can be said about building a website for web payments. But I have seen a lot of Mozilla recently, and I expect to see more of that. Bill Mills seems like an awesome character. Speaking of which, Software Carpentry, although no longer affiliated with Mozilla, has helped me get a little more warmed up about teaching. I remember earlier I had the opportunity, but I had bitter feelings.

Wednesday, October 8, 2014

RDF Graph Normalization

During the conference call at the web payments community group, I was curious what Dave Longley meant by normalization.

http://json-ld.org/spec/latest/rdf-graph-normalization/

Saturday, September 13, 2014

Explorations with Simple-Part Whole Relations


Following the link at http://www.w3.org/2001/sw/BestPractices/OEP/
SimplePartWhole/
simple-part-whole-relations-v1.3.html
we see that in section 3 we have a structure that represents 
faults in a car.
 
 
The structure is represented in the document in Turtle (*.ttl) as:

@prefix : <http: example.org="" stuff=""> .
@prefix rdf: <http: rdf-syntax-ns="" www.w3.org="">.
@prefix owl: <http: owl="" www.w3.org="">.

:Fault_in_car
  a  owl:Class ;
  owl:equivalentClass
    [ a  owl:Class ;
      owl:intersectionOf (:Fault [ a  owl:Restriction ;
         owl:onProperty :hasLocus ;
         owl:someValuesFrom
           [ a  owl:Class ;
             owl:unionOf (:Car [ a  owl:Restriction ;
               owl:onProperty :partOf ;
               owl:someValuesFrom :Car
            ])
         ]
       ])
    ] . 
Using the logic presented by tobyink in the IRC chat on #swig 
(http://chatlogs.planetrdf.com/swig/2014-09-06.html
we can parse the individual parts. We can look at the Turtle 
recommendation to understand the Turtle syntax  at  
http://www.w3.org/TR/turtle/
aand expand our understanding of the data structure using 
http://www.w3.org/TR/rdf-schema/ . We can convert .ttl to .owl 
using 
the comparisons given in the owl 2 primer
 http://www.w3.org/TR/2012/PER-owl2-primer-20121018/ .


An automated way that we can  convert the turtle (.ttl) file 
to owl (.owl) is by using the software
http://www.l3s.de/~minack/rdf2rdf/
We obtain: 

XML/RDF Node-Arc Graph in OWL (*.owl):

<rdf:rdf xmlns:owl="http://www.w3.org/2002/07/owl" xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns=
"http://example.org/stuff/1.0/">

<rdf:description rdf:about="http://example.org/stuff/1.0/
Fault_in_car">
 <rdf:type rdf:resource="http://www.w3.org/2002/07/owlClass">
</rdf:type></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx1">
 <rdf:type rdf:resource="http://www.w3.org/2002/07/owlClass">
</rdf:type></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx2">
 <rdf:first rdf:resource="http://example.org/stuff/1.0/
Fault">
 <rdf:rest rdf:nodeid="node191bjrqejx3">
</rdf:rest></rdf:first></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx4">
 <rdf:type rdf:resource="http://www.w3.org/2002/07/
owlRestriction">
 <owlonproperty rdf:resource="http://example.org/stuff/1.0/
hasLocus" xmlns="http://www.w3.org/2002/07/">
</owlonproperty></rdf:type></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx5">
 <rdf:type rdf:resource="http://www.w3.org/2002/07/
owlClass">
</rdf:type></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx6">
 <rdf:first rdf:resource="http://example.org/stuff/1.0/
Car">
 <rdf:rest rdf:nodeid="node191bjrqejx7">
</rdf:rest></rdf:first></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx8">
 <rdf:type rdf:resource="http://www.w3.org/2002/07/
owlRestriction">
 <owlonproperty rdf:resource="http://example.org/stuff/
1.0/partOf" 
xmlns="http://www.w3.org/2002/07/">
 <owlsomevaluesfrom rdf:resource="http://example.org/stuff/
1.0/Car" 
xmlns="http://www.w3.org/2002/07/">
</owlsomevaluesfrom></owlonproperty></rdf:type>
</rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx7">
 <rdf:first rdf:nodeid="node191bjrqejx8">
 <rdf:rest rdf:resource="http://www.w3.org/1999/02/
22-rdf-syntax-ns#nil">
</rdf:rest></rdf:first></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx5">
 <owlunionof rdf:nodeid="node191bjrqejx6" 
xmlns="http://www.w3.org/2002/07/">
</owlunionof></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx4">
 <owlsomevaluesfrom rdf:nodeid="node191bjrqejx5" 
xmlns="http://www.w3.org/2002/07/">
</owlsomevaluesfrom></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx3">
 <rdf:first rdf:nodeid="node191bjrqejx4">
 <rdf:rest rdf:resource="http://www.w3.org/1999/02/
22-rdf-syntax-ns#nil">
</rdf:rest></rdf:first></rdf:description>

<rdf:description rdf:nodeid="node191bjrqejx1">
 <owlintersectionof rdf:nodeid="node191bjrqejx2" 
xmlns="http://www.w3.org/2002/07/">
</owlintersectionof></rdf:description>

<rdf:description rdf:about="http://example.org/stuff/
1.0/Fault_in_car">
 <owlequivalentclass rdf:nodeid="node191bjrqejx1" 
xmlns="http://www.w3.org/2002/07/">
</owlequivalentclass></rdf:description>

</rdf:rdf> 

When we import this XML/RDF into the RDF validator we 
obtain for a node-arc graph the following 
diagram.  
 
 
 



 
 



 
 



 



 
 



 
 
 



 
 



 



 



 
 



 



 


 





 



 
 



 
 



 



 
 



 
 
 



 
 



 



 



 
 



 



 


 

Sunday, August 24, 2014

A dirty hack of a Evolus Pencil Template

A dirty hack of a Pencil Template: (1) Find something that works. Download glyphish icons. https://code.google.com/p/evoluspencil/downloads/detail?name=glyphish_icons.zip&can=2&q=label%3AStencil (2) Unzip glyphish icons from the bash shell with the command: unzip glyphish_icons.zip -d glyphish_icons (3) Delete every shape except for the one for tshirt.png. (4) Edit tshirt.png in the /glyphish_icons/Icons folder with Gimp. (5) run base64 on the edited tshirt.png file base64 --wrap=0 tshirt.png (6) Paste the output in place of the string in the Definition.xml file after "base64,". (7) zip the glyphish_icons folder with the command: zip glyphish_icons * Note: I discovered the solution for step 6 by looking at: http://pencil.evolus.vn/wiki/devguide/Tutorial/Drawing_image.html (8) You can use any image in place of the tshirt.png. Be sure to replace 24,17 with any width, height value (e.g. 100, 51).