, 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
}
>> 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> &&
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
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
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),
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