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

2010-02-03 Thread Nathan
, T_DIRECTION 1 ) > . FILTER ( ?x = > <http://bio2rdf.org/po:0009045> && isURI(?y)) > } > > Thanks, > > Peter > > > - Original Message >> From: Nathan >> Cc: Virtuoso Users List >> Sent: Wed, 3 February, 2010 9:23:10 AM &g

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

2010-02-03 Thread Nathan
} >> OPTION ( TRANSITIVE, T_NO_CYCLES, t_in(?x), t_out(?y), t_min(1), t_max(6), >> t_step('path_id') as ?path, t_step(?x) as ?via, t_step('step_no') AS >> ?dist, T_DIRECTION 1 ) >> . FILTER ( ?x = >> <http://bio2rdf.org/po:0009045> &&

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

2010-02-03 Thread Peter Ansell
p('step_no') AS ?dist, T_DIRECTION 1 ) . FILTER ( ?x = <http://bio2rdf.org/po:0009045> && ?y = <http://bio2rdf.org/po:0009011> ) } Cheers, Peter - Original Message > From: Nathan > Cc: Virtuoso Users List > Sent: Wed, 3 February, 2010 9:23:10 AM

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

2010-02-03 Thread Peter Ansell
r - Original Message > From: Nathan > Cc: Virtuoso Users List > Sent: Wed, 3 February, 2010 9:23:10 AM > Subject: Re: [Virtuoso-users] Get all paths between two URIs with > transitivity.. > > Nathan wrote: > > Hi, > > > > Please see: http://bi

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