issue 10
(Make it possible to fetch raw Jena literals) reported by fabio.mancinelli
- What steps will reproduce the problem?
1. Create a Jenabean containing a com.hp.hpl.jena.rdf.model.Literal typed field
2. Annotate with @RdfProperty("http://www.w3.org/2000/01/rdf-schema#label")
3. RDF2Bean throws ClassCastException trying to cast String to Literal
What is the expected output? What do you see instead?
We would like to have the raw literal in order to be able to read additional properties like the
language.
What version of the product are you using? On what operating system?
1.0.1, JVM 1.6.0
Please provide any additional information below.
Patch available at http://bitbucket.org/fmancinelli/jenabean/changeset/858723a8d5ea/#chg-
src/main/java/thewebsemantic/JenaHelper.java
(A similar strategy should be implemented in Bean2RDF.toRDFNode() to handle raw literal
serialization)
What steps will reproduce the problem?
1. Create a Jenabean containing a com.hp.hpl.jena.rdf.model.Literal typed field
2. Annotate with @RdfProperty("http://www.w3.org/2000/01/rdf-schema#label")
3. RDF2Bean throws ClassCastException trying to cast String to Literal
What is the expected output? What do you see instead?
We would like to have the raw literal in order to be able to read additional properties like the
language.
What version of the product are you using? On what operating system?
1.0.1, JVM 1.6.0
Please provide any additional information below.
Patch available at http://bitbucket.org/fmancinelli/jenabean/changeset/858723a8d5ea/#chg-
src/main/java/thewebsemantic/JenaHelper.java
(A similar strategy should be implemented in Bean2RDF.toRDFNode() to handle raw literal
serialization)
issue 9
(How to generate java source class from rdf file?) reported by Allen.Chenal
- Hi,
I have a rdf file which defines many classes with complex relations.
If uses jenabean, must I code each class in Java by hand?
Or is there a tool that can automatically generate all java source classes?
Allen
Hi,
I have a rdf file which defines many classes with complex relations.
If uses jenabean, must I code each class in Java by hand?
Or is there a tool that can automatically generate all java source classes?
Allen