Hey
I want to find to which node among the Sports and Team Sports, Cricket is
closest. I am using this query on dbpedia.org/sparql
SELECT ?link ?step ?path
WHERE
{
{
SELECT ?s ?o
WHERE
{
?o <http://www.w3.org/2004/02/skos/core#broader> ?s
}
} OPTION ( TRANSITIVE,
t_distinct,
t_in(?s),
t_out(?o),
t_no_cycles,
T_shortest_only,
t_step (?s) as ?link,
t_step ('path_id') as ?path,
t_step ('step_no') as ?step,
t_min(0),
t_max(8),
t_direction 1) .
FILTER ((?o = <http://dbpedia.org/resource/Category:Cricket> and ?s =
<http://dbpedia.org/resource/Category:Team_sports>) or (?o = <
http://dbpedia.org/resource/Category:Cricket> and ?s = <
http://dbpedia.org/resource/Category:Sports>))
}
LIMIT 20
This query is not giving results.
Thanks
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users