Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log:collectAllIn error #873

Open
giacomociti opened this issue Feb 8, 2024 · 1 comment
Open

log:collectAllIn error #873

giacomociti opened this issue Feb 8, 2024 · 1 comment

Comments

@giacomociti
Copy link

Apparently, log:collectAllIn works only when the scope is the current document. The following example:

@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix : <http://example.org/> .

{ 
  (?x { ?x a :Test } ?xs) log:collectAllIn { :x a :Test } 
} 
=> 
{
  ?xs a :Result
}.

gives the error:

Error: Error while executing query: Foreign predicate shell/2 did not clear exception: error(system_error,context(shell/2,Function not implemented))
** ERROR ** eam ** error(existence_error(source_sink,/tmp/swipl_eye_42_4),context(system:open/4,No such file or directory))

The native eye returns (:x) a :Result.

@josd
Copy link
Contributor

josd commented Feb 8, 2024

The graph literal scoped log:collectAllIn is implemented via invoking another reasoner run using shell/2 which is not implemented in the swipl wasm version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants