comunica / comunica-feature-link-traversal

📬 Comunica packages for link traversal-based query execution
Other
8 stars 11 forks source link

Handling of tree:Collection when traversing TREE document #89

Closed constraintAutomaton closed 1 year ago

constraintAutomaton commented 1 year ago

Issue type:


Description:

The current implementation of ActorExtractLinksTree is not able to handle a query where the starting point is a tree:collection. The reason is that the links should be obtain via the tree:relation which is behind the property tree:view or behind the id of the object if the tree:collection defined a dcterms:isPartOf or void:subset.

github-actions[bot] commented 1 year ago

Thanks for the suggestion!

constraintAutomaton commented 1 year ago

I'm not sure it's really a problem of tree:collection. I was able to make use link traversal when it's a tree:collection, the problem really seems to be when the subject of the node doesn't match the URL like when the url is a file and the subject doesn't include the extension.

eg: URL: https://treecg.github.io/demo_data/cht.ttl,

subject: \<https://treecg.github.io/demo_data/cht/ >

Nonetheless the implementation should support dcterms:isPartOf and void:subset.