How to use actor-query-process-annotate-source-binding #1396
-
I came across this actor, and it would be really useful to me to report the data sources for query solutions. I tried adding it to https://github.com/comunica/comunica/blob/master/engines/config-query-sparql/config/query-process/actors.json and found that it did start outputting {"cell":"http://purl.obolibrary.org/obo/CL_0000182","cell_label":"\"hepatocyte\"","_source":"\"[]\""} Is there further configuration needed to populate the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@RubenEschauzier Could you answer this one? |
Beta Was this translation helpful? Give feedback.
-
The This PR aims to add these configs to Comunica link-traversal. In summary, you need to add the following
This will add the source of the bindings to their context. Then to ensure that during the join of bindings, the sources required for the result are the union of the two input binding sources, you need to add the following
Then the |
Beta Was this translation helpful? Give feedback.
The
actor-query-process-annotate-source-binding
actor is only the last step to get the provenance of solutions from Comunica. You need to add a few more actors to compute the provenance information.This PR aims to add these configs to Comunica link-traversal.
In summary, you need to add the following
query-source-identify-hypermedia
actor to your config: