Open zzqiang163 opened 3 years ago
I have exactly the same question.
T_END_FLAG (intnum)
— This option is used to indicate that the transitive operation should stop when the variable returns a non-zero value. Its value is a positive integer indicating the ordinal position of the variable in the select list to be used.
Sample query showing its use:
SELECT ?syn
WHERE
{
{
SELECT ?x ?syn
WHERE
{
{ ?x owl:sameAs ?syn }
UNION
{ ?syn owl:sameAs ?x }
}
}
OPTION (TRANSITIVE, t_in (?x), t_out (?syn), t_distinct, t_min (0), T_END_FLAG 2)
FILTER (?x = <http://dbpedia.org/resource/New_York>) .
}
Live Query Link ...
Virtuoso SPARQL allows access to Virtuoso's SQL transitivity extension.
But don't give any description or sample about
t_end_flag
please tell me something about this