Hi,

I'm trying to convert a file of SPIN query in RDF to raw SPARQL query with 
the API.
I used 
com.hp.hpl.jena.rdf.model.ModelFactory.createDefaultModel().read(InputStream, 
String, String).createResource() to convert SPIN query to 
com.hp.hpl.jena.rdf.model.Resource.
Converting to com.hp.hpl.jena.rdf.model.Resource might be successful 
(com.hp.hpl.jena.rdf.model.Resource.getModel().write(Writer) runs well).
However, SPINFactory.asQuery(com.hp.hpl.jena.rdf.model.Resource) returned 
null.
What is wrong?  The RDF file is right.

-- 
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to