Hi all,
In a Sparql query, we can extract the query pattern ( q.getQueryPattern() ).
For instance, in the sparql command:
Select ?x ?p ?z where {?x ?p ?y . ?x <eg:p> ?z.}
we can extract:
{ ?x ?p ?y .
?x <eg:p> ?z
} Is there anyway to extract as TriplePattern? Also, we can extract the vars ( PatternVars.vars(qf.getQueryPattern()) ). Is it possible to extract the the non-vars? Miguel
