Self-joins?

17 views
Skip to first unread message

Ryan Shaw

unread,
May 29, 2021, 12:33:54 PM5/29/21
to Tarql
Is it possible to use tarql to join a CSV table to itself?

For instance, suppose I have the following CSV:

id,name,likes
a,Alice,Bob
b,Bob,
c,Carl,Alice

And I want to end up with:

@prefix ex:  <http://example.org/> .

ex:a  ex:likes  ex:b  .
ex:c  ex:likes  ex:a  .

Is this possible to do with a single CONSTRUCT query, possibly using a subquery somehow?
Reply all
Reply to author
Forward
0 new messages