I have some Java code in which I have added triples to the database as part of 
a named model. Using SQL, I have confirmed that column quads.g contains a 
reference to the name that I have provided. I can also query that model in Java 
and retrieve the triples. For example, I have the following query in a file.

select ?s 
where { ?s rdf:type :Individual }


It is not clear how to do the same query using sdbquery. By default, when I run 
this query it returns no results. I assume that is because the query is only 
against the default graph. How do I instruct the query to include the named 
model? I tried using the FROM NAMED construct in the query itself, but I get 
the following exception:

com.hp.hpl.jena.sdb.SDBException: Queries with dataset descriptions (FROM/FROM 
NAMED) not supported

Ideally, I would like to specify the model being used on the command line or be 
able to identify the named model in the configuration file and refer to it. Is 
there a way to use named models with sdbquery???



Reply via email to