Hello all,

Is it possible to configure VOS 6 to support rdfg:subGraphOf inferencing? 
Specifically such that a SPARQL query to a specific graph will return all 
triples in the named graph but also in subgraphs of the named graph that match 
the query?

Consider the following example triples that I have loaded into an instance of 
VOS 6.1.7:

<http://example.org/test:a> <http://example.org/test_vocabulary:b> 
<http://example.org/test:c> <http://example.org/test:graph> .
<http://example.org/test:d> <http://example.org/test_vocabulary:b> 
<http://example.org/test:e> <http://example.org/test:graph> .
<http://example.org/test:f> <http://example.org/test_vocabulary:b> 
<http://example.org/test:g> <http://example.org/test:subgraph> .
<http://example.org/test:h> <http://example.org/test_vocabulary:b> 
<http://example.org/test:i> <http://example.org/test:subgraph> .
<http://example.org/test:subgraph> 
<http://www.w3.org/2004/03/trix/rdfg-1/subGraphOf> 
<http://example.org/test:graph> <http://example.org/test:graph> .

When I execute the following query:

SELECT *
FROM <http://test.org/graph>
WHERE {
?s <http://example.org/test_vocabulary:b> ?o .
}

The results returned are:

?s                                       ?o
<http://example.org/test:a> <http://example.org/test:c>
<http://example.org/test:d> <http://example.org/test:e> 

However, I would also expect that

<http://example.org/test:f> <http://example.org/test:g> .
<http://example.org/test:h> <http://example.org/test:i> .

should be in the results because it is asserted that 
<http://example.org/test:subgraph> is a subGraph of 
<http://example.org/test:graph>. 

How can I configure VOS 6 to achieve this?

Thanks,

Alison


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to