Re: [Virtuoso-users] Get all paths between two URIs with transitivity.

2010-02-02 Thread Nathan
Nathan wrote: > Hi, > > Please see: http://bit.ly/9Gli76 > > it always seems to show the T_SHORTEST_ONLY (shortest path) between two > nodes; any way to see all paths? > > SELECT ?x ?y ?via ?dist WHERE > { > { SELECT * WHERE { ?x skos:broader ?y } } > OPTION ( TRANSITIVE, t_distinct, t_in(?x),

[Virtuoso-users] Get all paths between two URIs with transitivity.

2010-02-02 Thread Nathan
Hi, Please see: http://bit.ly/9Gli76 it always seems to show the T_SHORTEST_ONLY (shortest path) between two nodes; any way to see all paths? SELECT ?x ?y ?via ?dist WHERE { { SELECT * WHERE { ?x skos:broader ?y } } OPTION ( TRANSITIVE, t_distinct, t_in(?x), t_out(?y), t_max(10), t_step(?x) as

Re: [Virtuoso-users] Contd: option transitive and skos:narrower

2010-02-02 Thread Jürgen Jakobitsch
thanks kingsley, i finally got it to work to fit my needs with this query (data : see below) SELECT DISTINCT ?o WHERE { { SELECT ?s ?o WHERE { ?s skos:narrower ?o . } } OPTION (TRANSITIVE, t_distinct, t_in(?s), t_out(?o), t_m

[Virtuoso-users] Contd: option transitive and skos:narrower

2010-02-02 Thread Kingsley Idehen
Jürgen Jakobitsch wrote: hi, i'm really having troubles figuring out how to get my option transitive right for the following : - i have a couple of skos:concepts in a skos:narrower hierarchy. - i have an inference graph that apparently works. - i have read the doc (16.2.12) but can't get my

Re: [Virtuoso-users] option transitive and skos:narrower

2010-02-02 Thread Kingsley Idehen
Jürgen Jakobitsch wrote: hi, i'm really having troubles figuring out how to get my option transitive right for the following : - i have a couple of skos:concepts in a skos:narrower hierarchy. - i have an inference graph that apparently works. - i have read the doc (16.2.12) but can't get my

[Virtuoso-users] option transitive and skos:narrower

2010-02-02 Thread Jürgen Jakobitsch
hi, i'm really having troubles figuring out how to get my option transitive right for the following : - i have a couple of skos:concepts in a skos:narrower hierarchy. - i have an inference graph that apparently works. - i have read the doc (16.2.12) but can't get my sparql query to work properl

Re: [Virtuoso-users] SPARQL option(score ?score) fault with > 1 OPTIONAL {}'s

2010-02-02 Thread Ivan Mikhailov
Hello Nathan, The bug is fixed in both version 5 and version 6 branches, the fix will appear in the next releases. Thank you for the report, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Fri, 2010-01-29 at 22:21 +, Nathan wrote: > Nathan wrote: > > Hi Guys, > > > > Qu