Posting object-oriented data directly on the Semantic Web

Hello everyone,

I came up with a very simple interpretation of object-oriented 
programming that, if you think it holds up, will allow us to post any 
object-oriented data directly on the Semantic Web.  I have code to 
translate any Java data into RDF in a Jena model.  By this 
interpretation, there is really this very common class of data that we 
can post directly.  My motivation is to get more data on the Semantic 
Web by making it easier to post data.  I would really value the 
opportunity to talk to anyone.

We can treat object-oriented objects belonging to classes as unary 
predicates, as in the Semantic Web, and object-oriented attributes as 
binary predicates relating two entities.  We can interpret all 
object-oriented data as being logical statements. The attribute is the 
predicate, the object with the attribute is the first argument to the 
predicate, and each value of the attribute is a second argument to the 
predicate. In Java, if an attribute is a Set, it is a set of logical 
statements. When a List or array is used in an attribute, sometimes what 
is really meant is a set of logical statements, and sometimes what is 
really meant is an ordered list like rdf:List.  Of course, the Semantic 
Web has means of representing lists in logic.

So all object-oriented data are logical statements, are triples in RDF.  
Once I figured out how to access private fields in Java and came up with 
appropriate conventions for URI's, it was very easy to translate Java 
data into a Jena model.  So we can make an N3 or RDF/XML file out of 
Java data, view it in Protege, or load it into a triplestore.  Well, I 
really did my best with the code working on my own, and I think it will 
work for you if you try it.  If you try it with any of your Java data, I 
think you would agree the logic holds up.

The web site is http://www.semanticoop.org .  Well, thank you if anyone 
would care to discuss it.

  Sincerely,
  Tim Armstrong

Received on Sunday, 31 March 2013 19:44:17 UTC