Search the web
Sign In
New User? Sign Up
jena-dev · Jena Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
reification question   Message List  
Reply | Forward Message #2105 of 42117 |
hello

the following code cause s2 to appear as reified statement in the
serialized model, but not s1. Why?

try {
Model m = new ModelMem();
Statement s1 =
m.createStatement(
m.createResource("dogs"),
m.createProperty("foo/eat"),
"bones");
m.add(m.createResource("I"), m.createProperty("foo/say"), s1);

Statement s2 =
m.createStatement(
m.createResource("cats"),
m.createProperty("foo/eat"),
"mice");
m.add(s2, m.createProperty("foo/isSaidBy"), m.createResource("I"));

m.write(new PrintWriter(System.out));
} catch (Exception e) {
System.out.println(e);
}

thanks!
reto


Thu Jan 30, 2003 4:13 pm

retobg
Offline Offline
Send Email Send Email

Forward
Message #2105 of 42117 |
Expand Messages Author Sort by Date

hello the following code cause s2 to appear as reified statement in the serialized model, but not s1. Why? try { Model m = new ModelMem(); Statement s1 = ...
yahoo@...
retobg
Offline Send Email
Jan 30, 2003
4:13 pm

Can you send the serialization as well please. Brian...
Brian McBride
bwmb
Offline Send Email
Jan 30, 2003
4:23 pm

here it is: <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:NS0='foo/' ... <rdf:Description rdf:about='I'> <NS0:say rdf:nodeID='A0'/> ...
yahoo@...
retobg
Offline Send Email
Jan 30, 2003
4:35 pm

Reto, Did you get a response to this? Brian...
Brian McBride
bwmb
Offline Send Email
Feb 14, 2003
5:17 pm

No, thanks for asking! Still interested in an answer! Reto...
Reto Bachmann-Gmuer
retobg
Offline Send Email
Feb 16, 2003
7:27 pm

... This is a bug in the writer. I remember it from before and thought we'd fixed it. Brain failure. I was going to suggest as a work around you use the...
Brian McBride
bwmb
Offline Send Email
Feb 20, 2003
1:36 pm

... Hash: SHA1 ... Thank you for taking care of the problem! I hope I will be doing the reification thing in about two weaks, if it's not in the cvs by then I...
Reto Bachmann-Gmuer
retobg
Offline Send Email
Feb 20, 2003
7:56 pm

Hi, I would like to reify some statments, save the model, read it again and retrieve the reified statments. I have been using the following code: // create the...
federico.carbone@...
fede_carbone
Offline Send Email
Oct 29, 2003
4:37 pm

... Aha, aka Argh. This is a bug, so far as I can tell from my mental model of OntModels. What I believe is happening is this. An OntModel is built up of a...
Chris Dollin
flitz_cloud
Offline Send Email
Oct 31, 2003
2:47 pm

Hi Fede, Chris is probably the best person to answer this question, but he's travelling at the moment. I'm afraid I don't use reification in my work, so I...
Dickinson, Ian J
ian_j_dickinson
Offline Send Email
Oct 29, 2003
4:54 pm

Hi Ian, I have already consulted the documentation you refer to. Thanks for the information anyway, I'm not in a hurry and I can wait and see if Chris has an...
federico.carbone@...
fede_carbone
Offline Send Email
Oct 29, 2003
5:06 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help